pip install access denied on Windows
Change your Python installation folder's security permissions by:
- Open a Python shell
- Go to task manager
- Find the python process
- Right-click and open location
- The folder will open in explorer, go up a directory
- Right-click the folder and select properties
- Click the security tab and hit 'edit'
- Add everyone and give them permission to Read and Write.
- Save your changes
If you open cmd
as admin; then you can do the following:
If Python is set in your PATH
, then:
python -m pip install mitmproxy
For Windows, in Command Prompt (Admin) try to run pip install
using the Python executable:
python -m pip install mitmproxy
This should work, at least it worked for me for other package installation.