admin管理员组文章数量:1122846
I recently upgraded a PC from Win10 to Win11. There are strange things happening with the Python installation(s) on the PC. It has Python 3.11 and 3.12 installed. I can run Python from the Command Prompt using python3.12, python3.11 or py. But python or python3 do not work. When I try "where python" it returns nothing.
Python3.11 is installed in C:\Users\WayneKozun\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0
and 3.12 is installed in C:\Users\WayneKozun\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0
There is a python.exe and a python3.exe file in C:\Users\WayneKozun\AppData\Local\Microsoft\WindowsApps but when you try to run these they start the Windows Store and try to get you to install Python3.12.
The python3.11.exe and python3.12.exe in this folder work properly.
How do I fix this mess?
Re-Installed Python3.12 and it didn't help
本文标签: Problems with Python installation after upgrade to Windows 11Stack Overflow
版权声明:本文标题:Problems with Python installation after upgrade to Windows 11 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736300942a1931003.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论