Город МОСКОВСКИЙ
00:04:30

New Python- Pip Install - PermissionError: [WinError 5] Access is denied:

Аватар
Python управление роботами
Просмотры:
72
Дата загрузки:
02.12.2023 20:12
Длительность:
00:04:30
Категория:
Технологии и интернет

Описание

Exception:
Traceback (most recent call last):
File "C:\Users\ramit.girdhar\AppData\Local\Programs\Python\Python36-32\lib\shu
til.py", line 387, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 5] Access is denied: 'C:\\Users\\RAMIT~1.GIR\\AppData
\\Local\\Temp\\pip-7n7y5d6j-unpack\\pip-10.0.1-py2.py3-none-any.whl'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\ramit.girdhar\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "C:\Users\ramit.girdhar\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\pip\commands\install.py", line 324, in run
requirement_set.prepare_files(finder)
File "C:\Users\ramit.girdhar\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\pip\req\req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "C:\Users\ramit.girdhar\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\pip\req\req_set.py", line 620, in _prepare_file
session=self.session, hashes=hashes)
File "C:\Users\ramit.girdhar\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\pip\download.py", line 821, in unpack_url
hashes=hashes
File "C:\Users\ramit.girdhar\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\pip\download.py", line 671, in unpack_http_url
rmtree(temp_dir)
File "C:\Users\ramit.girdhar\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\pip\_vendor\retrying.py", line 49, in wrapped_f
return Retrying(*dargs, **dkw).call(f, *args, **kw)
File "C:\Users\ramit.girdhar\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\pip\_vendor\retrying.py", line 212, in call
raise attempt.get()
File "C:\Users\ramit.girdhar\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\pip\_vendor\retrying.py", line 247, in get
six.reraise(self.value[0], self.value[1], self.value[2])
File "C:\Users\ramit.girdhar\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\pip\_vendor\six.py", line 686, in reraise
raise value
File "C:\Users\ramit.girdhar\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\pip\_vendor\retrying.py", line 200, in call
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
File "C:\Users\ramit.girdhar\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\pip\utils\__init__.py", line 102, in rmtree
onerror=rmtree_errorhandler)
File "C:\Users\ramit.girdhar\AppData\Local\Programs\Python\Python36-32\lib\shu
til.py", line 494, in rmtree
return _rmtree_unsafe(path, onerror)
File "C:\Users\ramit.girdhar\AppData\Local\Programs\Python\Python36-32\lib\shu
til.py", line 389, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File "C:\Users\ramit.girdhar\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\pip\utils\__init__.py", line 112, in rmtree_errorhandler
os.chmod(path, stat.S_IWRITE)
PermissionError: [WinError 5] Access is denied: 'C:\\Users\\RAMIT~1.GIR\\AppData
\\Local\\Temp\\pip-7n7y5d6j-unpack\\pip-10.0.1-py2.py3-none-any.whl'
You are using pip version 9.0.3, however version 10.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' comm
and.

C:\Users\ramit.girdhar

Рекомендуемые видео