Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
AustEcon
Total activity
4
Last activity
June 24, 2020 19:40
Member since
May 04, 2020 11:43
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
1
Activity overview
Posts (0)
Comments (3)
AustEcon
commented,
June 24, 2020 19:40
Then you should use relative imports after restructuring. Like this from .other_package import other_script Everything will work out better for you that way.
Community
PyCharm
Very frustrated--PyCharm says local import is unresolved reference
0 votes
AustEcon
commented,
June 24, 2020 19:35
I'm just a user same as you but I believe you need to nest some_package inside of package to do relative imports as you are wanting to do. It's just how python works I'm afraid. So you need to cha...
Community
PyCharm
Very frustrated--PyCharm says local import is unresolved reference
1 vote
AustEcon
commented,
May 04, 2020 11:43
Ah! I have been having this problem for a long time too and it means that you miss out on all of the autocomplete and inspections... (with ugly, red underlined imports...).. Marking the top level d...
Community
PyCharm
Very frustrated--PyCharm says local import is unresolved reference
4 votes