-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Open
Labels
Description
Bug report
After installing Python 3.10 from the Microsoft Store, I tried to install a package and was hit with the following warning:
WARNING: The script reCBZ.exe is installed in 'C:\Users\username\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Which prevents me from calling the script directly, I have to use python -m reCBZ
Manually adding the path works, however I would have expected the Python installation from the Microsoft store to have done this automatically.
Steps to reproduce:
- Install Python 3.10 from Microsoft Store
- Pip install a python package which provides a script 'myscript' (ex reCBZ)
- Try to call the script with 'myscript'
Expected results:
- local-packages is in PATH
- Script runs
Actual results:
- local-packages is not in PATH
- Windows complains about 'myscript' not being a recognized command
I'm normally a Linux gal so I deeply apologize if this is a misunderstanding from my part -_-
Your environment
- CPython versions tested on: Python 3.10 (Microsoft store)
- Operating system and architecture: Windows 10.0.19043 Build 19043, x86-64
Reactions are currently unavailable

