Try   HackMD

Problem:cmd 執行 python 跑出 Microsoft Store

前提:已經有安裝好 python 並且添加環境變數

相關文章:在環境變數中添加 python 執行路徑

問題:在命令提示字元裡執行 python 會跑出微軟商店

之前安裝好 python 並且確定有添加環境變數,但在命令提示字元裡執行 python 會一直跳轉到微軟商店,原因是 win10 有個奇怪的應用程式執行別名功能,輸入 python 或是 python3 就會自動幫你打開 Microsoft Store,無論有沒有安裝 python 都會莫名其妙自動導向。

解決辦法是打開設定,也可以直接在工具列上的搜尋上查找管理應用程式執行別名,把「應用程式執行別名」的 App Installer 功能關閉,就不會再自動跳轉了。

設定 > 應用程式與功能 > 應用程式執行別名

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

把 App installer (python.exe) 關閉

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →


: : 20211115 : : 與松 withhhsong : :

tags: notes python withhhsong