簡體   English   中英

安裝fancyimpute python 3.6

[英]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'

您可能會遇到權限問題,因為您正在嘗試全局安裝該庫。 您的選擇是:

  1. 以管理員身份運行pip (以管理員身份運行命令提示符,然后使用它來運行pip )。

  2. 使用virtualenv在本地安裝庫。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM