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

xiaoxiao2025-05-16  54

软件版本是python3.4.3,Django是2.0.7

(1)file—>open,找到自己的工程文件(工程名)打开 (2)file—>settings—>Project Interpreter (3)点击show all (4)隐藏掉连接其他工程的解释器 (5)点绿色的+ (6)结果如图 (7)勾选Inherit global site-packages (8)apply—>ok 问题就可以解决了。

转载请注明原文地址: https://www.6miu.com/read-5030214.html

最新回复(0)