每当我在pycharm中单击run时,它都会返回以下错误:
"D:\Python\python.exe: can't find '__main__' module in 'D:/Python projects/Projects'
Process finished with exit code 1"下面的图片是我的pycharm设置,sos,请帮助我!
img2 project interpreter setting
发布于 2018-08-12 22:53:30
我认为您必须在调试配置中将脚本路径设置为test1.py的路径(而不是“项目”文件夹)。
https://stackoverflow.com/questions/51809922
复制相似问题