在Visual Studio上进行第一个Python项目尝试时, 使用Django框架, 结果运行时提示
Traceback (most recent call last):
File "E:\WorkSpaces\Visual Studio\AppTest\DjangoWebProject1\manage.py", line 15, in <module>
from django.core.management import execute_from_command_line
ImportError: No module named ‘django‘
The Python REPL process has exited
解决方法, 将Python Environments改为Virtual Environments, 问题解决
Visual Studio运行Python报No module named 'django'
时间: 2024-11-03 20:49:30