Pycharm error Django is not importable in this environment

前端 未结 17 1588
情话喂你
情话喂你 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:21

    Project interpreter, which is being used in the pycharm setting , doesn't have the django package installed. So go to

    setting->Project->project interpreter
    

    Then install django package

    it will work :)

提交回复
热议问题