python: can‘t open file ‘C:\Users\*\AppData\Local\Temp\.py‘: [Errno 2] No such file or directory解决方案

python: can‘t open file ‘C:\Users*\AppData\Local\Temp.py‘: [Errno 2] No such file or directory解决方案

我出现这个问题的原因是,直接把.py程序用PyCharm打开,然后运行。后来建了一个工程,再去跑程序就可以了。

猜你喜欢

转载自blog.csdn.net/weixin_43260719/article/details/121292494