关于python运行的问题

img


如图:我的.py的文件按F5运行的时候报错,请问如何解决(我是用的python自带的shell)

你发一下代码看看

卸载python重新安装,在安装时,确保勾选了“Install launcher for all users (为所有用户执行安装)”和“Add Python to PATH (将Python添加到环境目录中)”并选择“Customize installation (自定义安装)”。