Django
1.Django is not importable in this environment
这个问题是直接将项目拖到虚拟环境中,项目没有配置该虚拟环境下的python解释器造成
参考:https://blog.csdn.net/weixin_42445431/article/details/81219483
file → settings
+
→ 选择相应虚拟环境python解释器
这个问题是直接将项目拖到虚拟环境中,项目没有配置该虚拟环境下的python解释器造成
参考:https://blog.csdn.net/weixin_42445431/article/details/81219483
file → settings
+
→ 选择相应虚拟环境python解释器