M
M
Maxim Siomin2020-06-18 13:09:09
Python
Maxim Siomin, 2020-06-18 13:09:09

Error while updating pip?

Decided to reinstall python. Accordingly, I had to download the modules. Before that, I decided to update pip:
pip install --upgrade pip
It gave the following error:

ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Отказано в доступе: 'C:\\Users\\Семья\\AppData\\Local\\Temp\\pip-uninstall-ciw3j_dd\\pip.exe'
Consider using the `--user` option or check the permissions.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Karbivnichy, 2020-06-18
@MaxSiominDev

Most likely not right. Add an argument:--user

O
olegf0, 2020-12-01
@olegf0

I am writing in this topic because I tried to google my mistake on the Internet for a long time, but this information does not lie on the surface and the first source on request is this topic . /files.pythonhosted.org/ . The ERROR is that when you try to update pip or download a library via pip (up to v20.3 in my case), you need an already updated pip - pure insanity. But on https://habr.com/ru/info/welcome/feed/?back_link=h... (same habr) I found the real reason. You can read but the easiest way is vpn. My error was: ***4 times error remote server not responding*** and WARNING: You are using pip version 20.2.1; however, version 20.3 is available. You should consider upgrading via the 'C:\python\python.exe -m pip install --upgrade pip' command.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question