这是由于.py 文件的默认打开方式不是python.exe 将.py文件的默认打开方式修改为python.exe即可 转载于:https://www.cnblogs.com/pythonabc/p/6905075.html