我试图运行一个程序,但是我得到一个错误,说:
Traceback (most recent call last):
File "C:\Users\mmv456\AppData\Local\Programs\Python\Python36\lib\site.py", line 168, in addpackage
exec(line)
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'new'
我试着找到这个站点.py文件在那个目录中,但它不在那里,所以我看不出python文件中到底有什么问题。我很感激你的帮助。在
编辑:添加代码:
^{pr2}$
ModuleNotFoundError: No module named 'new'
这一行表示导入中有错误。在如果我添加了新的代码,你就可以运行它了:
错误:
^{pr2}$但问题是我的错误在
test.py
中,而你的错误指向的是python库中的site.py
。这意味着你的python环境出了问题。即使在世界各地也有类似的issues。在相关问题 更多 >
编程相关推荐