[英]Why doesn't my installed (on Windows in a virtual environment) python script work without a full path?
[英]when I Installed Python on Windows and it doesn’t configure the path
当我输入代码时,它显示了我附在图片上的错误。
::设置环境
Variable("Path", "$env:Path;C:\Python27", "User")
块引用
您必须手动添加 python 环境路径。
按照本教程操作: How to add Python to PATH in Windows 10
或者只需重新安装 python,但在自定义屏幕上,向下滚动,单击“将 python.exe 添加到路径”,然后单击 select“将安装在本地硬盘上”。 完成后,单击“下一步”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.