关于Django is not importable in this environment的解决方法

PyCharm从网上下载的程序或者别的电脑拷过来的程序不能直接打开,还需要做一些设置

配置解释器:file—>settings—>Project Interpreter         +python.exe的路径

 

如果不勾Inherit global site-packages,就不会包含Django,run的时候就会出错Django is not importable in this environment:

posted @ 2019-08-26 13:23  wind_y  阅读(4254)  评论(0编辑  收藏  举报