首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装fancyimpute python 3.6

安装fancyimpute python 3.6
EN

Stack Overflow用户
提问于 2017-02-09 06:55:43
回答 1查看 1.6K关注 0票数 2

我在用Windows 10。

在执行pip install fancyimpute时:

代码语言:javascript
复制
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'
EN

回答 1

Stack Overflow用户

发布于 2017-02-09 07:11:17

您可能会遇到权限问题,因为您正在尝试全局安装库。你的选择是:

  1. 以管理员身份运行pip (以管理员身份运行命令提示符,然后使用它运行pip)。
  2. 使用virtualenv在本地安装库。
票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/42130161

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档