New submission from Ilya Kazakevich :
No packages could be installed with "-m pip" because of "Access Denied". It
seems that it tries to install package to "site-packages' instead of
"local-packages". However, "pip.exe" works. Does it mean "pip.exe" is patched
somehow, but not python itself?
c:\>"c:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.1008.0_x64__qbz5n2kfra8p0\python"
-m pip install flask
Collecting flask
Using cached
https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl
...
Installing collected packages: flask
Could not install packages due to an EnvironmentError: [WinError 5] Access is
denied: 'C:\\Program
Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.7_3.7.1008.0_x64__qbz5n2kfra8p0\\Lib\\site-packages\\flask'
Consider using the `--user` option or check the permissions.
But:
c:\>"c:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.1008.0_x64__qbz5n2kfra8p0\pip"
install flask
Collecting flask
Using cached
https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl
Installing collected packages: flask
The script flask.exe is installed in
'C:\Users\SomeUser\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\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.
Successfully installed flask-1.0.2
--
components: Installation
messages: 339460
nosy: Ilya Kazakevich
priority: normal
severity: normal
status: open
title: Python from WindowsStore: can't install package using "-m pip"
type: behavior
versions: Python 3.7
___
Python tracker
<https://bugs.python.org/issue36529>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com