运行python却弹出Microsoft Store
运行python却弹出Microsoft Store
今天安装好python之后,我在cmd中输入python,但是并没有运行python,而是弹出了Microsoft Store,并跳转到python的安装下载界面。
然后我查找了一下,居然有两个python:
1 | D:\Desktop\test\CMD\phone>python |
解决方案
打开设置,进入应用执行别名,关掉python.exe即可。
今天安装好python之后,我在cmd中输入python,但是并没有运行python,而是弹出了Microsoft Store,并跳转到python的安装下载界面。
然后我查找了一下,居然有两个python:
1 | D:\Desktop\test\CMD\phone>python |
打开设置,进入应用执行别名,关掉python.exe即可。
1 | Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) |
未完待续
https://chocolatey.org/install
https://sspai.com/post/55309
https://juejin.cn/post/6994715287178182693
https://zhuanlan.zhihu.com/p/53421288
https://zhuanlan.zhihu.com/p/42441423
https://www.jianshu.com/p/a1ba81746fe8
iconv可以给文件转换编码
1 | 18190@DESKTOP-SH3MQPI MINGW64 /g/Blog/blog_new (master) |