Exception:
Traceback (most recent call last):
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\shutil.py"
, line 387, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 5] 拒绝访问。:
'C:\\Users\\user\\AppData\\Local\\Temp\\pip-njirl_1q-uninstall\\users\\user\\appdata\\local\\programs\\python\\python36\\lib\\site-packages\\sklearn\\feature_extraction\\_hashing.cp36-win_amd64.pyd'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\basecommand.py"
, line 215, in main
status = self.run(options, args)
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\commands\install.py"
, line 342, in run
prefix=options.prefix_path,
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\req\req_set.py"
, line 795, in install
requirement.commit_uninstall()
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\req\req_install.py"
, line 767, in commit_uninstall
self.uninstalled.commit()
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\req\req_uninstall.py"
, line 142, in commit
rmtree(self.save_dir)
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\_vendor\retrying.py"
, line 49, in wrapped_f
return
Retrying(*dargs, **dkw).call(f, *args, **kw)
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\_vendor\retrying.py"
, line 212, in call
raise attempt.get()
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\_vendor\retrying.py"
, line 247, in get
six.reraise(self.value[0], self.value[1], self.value[2])
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\_vendor\six.py"
, line 686, in reraise
raise value
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\_vendor\retrying.py"
, line 200, in call
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\utils\__init__.py"
, line 102, in rmtree
οnerrοr=rmtree_errorhandler)
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\shutil.py"
, line 494, in rmtree
return
_rmtree_unsafe(path, onerror)
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\shutil.py"
, line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\shutil.py"
, line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\shutil.py"
, line 384, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
[Previous line repeated 7 more times]
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\shutil.py"
, line 389, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\utils\__init__.py"
, line 114, in rmtree_errorhandler
func(path)
PermissionError: [WinError 5] 拒绝访问。:
'C:\\Users\\user\\AppData\\Local\\Temp\\pip-njirl_1q-uninstall\\users\\user\\appdata\\local\\programs\\python\\python36\\lib\\site-packages\\sklearn\\feature_extraction\\_hashing.cp36-win_amd64.pyd'