On 3/31/2023 2:18 PM, Eryk Sun wrote:
On 3/31/23, Sumeet Firodia <ssfiro...@gmail.com> wrote:

One more thing is that pip --version also refers to python 3.10

C:\Users\admin>pip --version
pip 23.0.1 from
C:\Users\admin\AppData\Local\Packages
\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0
\LocalCache\local-packages\Python310\site-packages\pip
(python 3.10)

You're running pip from the store app distribution of Python 3.10.
Your settings have the store app set as the default for the "python"
and "pip" commands. To change this, open the system settings for "App
execution aliases" and disable the "python.exe", "pythonw.exe", and
"pip.exe" aliases. You might have to also disable the alias for
"python3.exe" if it's causing problems (e.g. if you don't want a
shebang like "#!/usr/bin/env python3" to run the store app). It
shouldn't cause problems to leave the "python3.10.exe" and
"pip3.10.exe" aliases enabled.

Ha! The store app doesn't install py.exe, does it? I forgot about that as a possibility, because I've always stayed away from store apps. If it were me, I'd uninstall the store app and get an installer from python.org.

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to