Pycharm error Django is not importable in this environment

前端 未结 17 1417
情话喂你
情话喂你 2021-02-01 13:00

I\'m getting the following errors in Pycharm.

Error: Django is not importable in this environment

It used to work well but I moved t

17条回答
  •  执念已碎
    2021-02-01 13:22

    I had similar problem...

    I go PyCharm -> Preferences and tried to readd Django to project interpreter packages. PyCharm suddenly added everything in requirements.txt file. And now I can run project without any problem.

提交回复
热议问题