3

I try config debug django project in pycharm by remote interpreter. My setup and debug completed. But in IDE always show error in line import models. Other import from django or anything else from library is normal.

enter image description here

I try add __init__.py in folder gene, invalidate cache.... many way so not work. My question is: how to fix it? I used Pycharm Pro 2019.3, python 3.7

Ngoc Pham
  • 1,408
  • 9
  • 18

1 Answers1

0

Setting the project root as suggested (here) did resolve the issue for me. enter image description here

user42488
  • 1,140
  • 14
  • 26