Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with pip upgrade on windows #5648

Closed
greshilov opened this issue Apr 26, 2021 · 1 comment
Closed

Problems with pip upgrade on windows #5648

greshilov opened this issue Apr 26, 2021 · 1 comment
Labels

Comments

@greshilov
Copy link
Contributor

🐞 Describe the bug

We use the following command to update pip, but looks like it doesn't work on windows machines.

pip install -U 'pip'

💡 To Reproduce

Try to run make install on windows machine with old pip.

💡 Expected behavior

📋 Logs/tracebacks

Requirement already satisfied: pip in c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages (21.0.1)
Collecting pip
  Downloading pip-21.1-py3-none-any.whl (1.5 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 21.0.1
    Uninstalling pip-21.0.1:
      Successfully uninstalled pip-21.0.1
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\pip-uninstall-2oiyo4b8\\pip.exe'
Consider using the `--user` option or check the permissions.

📋 Your version of the Python

$ python --version
Python 3.9.3

Possible solution
Use the command suggested in official pip docs:
https://pip.pypa.io/en/stable/installing/#upgrading-pip

@greshilov greshilov added the bug label Apr 26, 2021
greshilov added a commit to greshilov/aiohttp that referenced this issue Apr 26, 2021
patchback bot pushed a commit that referenced this issue Apr 26, 2021
webknjaz pushed a commit that referenced this issue Apr 26, 2021
@greshilov
Copy link
Contributor Author

Fixed #5649

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant