0

EDIT:

The answer to this question is Actually easy so Instead of using from market.models import Item it's from .models import Item I know they're the same but at least now Pycharm can Finally Shut-up

The Question(Already Answered):

I have a Python File called routes.py inside a Python Package called market and from routes.py I'm importing the python package market to routes.py but importing gives me an Unresolved Reference Error from Pycharm

routee

The directory Tree:

directory Tree

There's really no Error in this Problem But it's just annoying that Pycharm keeps saying Unresolved reference [package-name] about a reference that actually works. How do I make Pycharm shut up about the Unresolved Reference Error

I've tried the Ignore Reference [name] option on Pycharms's Editor but that only fixes the from market and doesn't fix the import app from from market import app the only options I get for the import app is

enter image description here

  • @bad_coder, unfortunately, that doesn't solve my problem nor the 23 answers in the [Unresolved reference issue in PyCharm](https://stackoverflow.com/questions/21236824/unresolved-reference-issue-in-pycharm) work for my Case – CunningBard Aug 08 '21 at 16:41

0 Answers0