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