教程集 www.jiaochengji.com
教程集 >  Python编程  >  Python入门  >  正文 powershell打不开python怎么解决

powershell打不开python怎么解决

发布时间:2021-03-29   编辑:jiaochengji.com
教程集为您提供powershell打不开python怎么解决等资源,欢迎您收藏本站,我们将为您提供最新的powershell打不开python怎么解决资源

情景:在powershell中运行python程序时,没有反应,没有错误提示。

解决方法:

先在powershell下输入并执行以下指令:

[Environment]::SetEnvironmentVariable(“Path”,”$env:Path;C:\Python27″, “User”)

关闭并重启powershell,输入python并按回车键,即可运行python。

python学习网,免费的在线学习python平台,欢迎关注!

您可能感兴趣的文章:
powershell打不开python怎么解决
vs2017怎么安装python第三方包
Edge浏览器一打开就闪退崩溃怎么办
python怎么安装pygame
使用python3 os后程序无法运行怎么办?
python3.7打包成exe就三步
python找不到etree怎么解决
苹果itunes打不开怎么办
python打开文件路径是对的怎么打不开
python怎么卸载不了

[关闭]
~ ~