[英]Installing fancyimpute python 3.6
我正在使用 Windows 10。
在执行pip install fancyimpute
:
Failed building wheel for ecos
Running setup.py clean for ecos
Failed to build ecos
Installing collected packages: dill, multiprocess, ecos, cvxpy, fancyimpute
Found existing installation: dill 0.2.5
DEPRECATION: Uninstalling a distutils installed project (dill) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling dill-0.2.5:
Exception:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\shutil.py", line 538, in move
os.rename(src, real_dst)
PermissionError: [WinError 5] Access is denied: 'c:\\programdata\\anaconda3\\lib\\site-packages\\dill-0.2.5-py3.6.egg-info' -> 'C:\\Users\\Archit\\AppData\\Local\\Temp\\pip-hir5dush-uninstall\\programdata\\anaconda3\\lib\\site-packages\\dill-0.2.5-py3.6.egg-info'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\commands\install.py", line 342, in run
prefix=options.prefix_path,
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\req\req_set.py", line 778, in install
requirement.uninstall(auto_confirm=True)
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\req\req_install.py", line 754, in uninstall
paths_to_remove.remove(auto_confirm)
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\req\req_uninstall.py", line 115, in remove
renames(path, new_path)
File "C:\ProgramData\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 267, in renames
shutil.move(old, new)
File "C:\ProgramData\Anaconda3\lib\shutil.py", line 553, in move
os.unlink(src)
PermissionError: [WinError 5] Access is denied: 'c:\\programdata\\anaconda3\\lib\\site-packages\\dill-0.2.5-py3.6.egg-info'
您可能会遇到权限问题,因为您正在尝试全局安装该库。 您的选择是:
以管理员身份运行pip
(以管理员身份运行命令提示符,然后使用它来运行pip
)。
使用virtualenv
在本地安装库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.