我尝试使用以下命令在Python 3.7和Anaconda上安装cvxopt:conda install -c conda-forge cvxopt
。我正在使用Windows。我得到下面显示的错误,无论是否以管理员身份在CMD中运行。有人知道如何解决问题吗?我也运行过conda clean --packages
,但这也无济于事。
Preparing transaction: done
Verifying transaction: done
Executing transaction: / DEBUG menuinst_win32:__init__(196): Menu: name: 'Anacon
da${PY_VER} ${PLATFORM}', prefix: 'C:\Users\username\AppData\Local\Continuum\anac
onda3', env_name: 'None', mode: 'system', used_mode: 'system'
DEBUG menuinst_win32:create(320): Shortcut cmd is C:\Users\username\AppData\Local
\Continuum\anaconda3\pythonw.exe, args are ['C:\\Users\\username\\AppData\\Local\
\Continuum\\anaconda3\\cwp.py', 'C:\\Users\\username\\AppData\\Local\\Continuum\\
anaconda3', 'C:\\Users\\username\\AppData\\Local\\Continuum\\anaconda3\\pythonw.e
xe', 'C:\\Users\\username\\AppData\\Local\\Continuum\\anaconda3\\Scripts\\spyder-
script.py']
DEBUG menuinst_win32:create(320): Shortcut cmd is C:\Users\username\AppData\Local
\Continuum\anaconda3\python.exe, args are ['C:\\Users\\username\\AppData\\Local\\
Continuum\\anaconda3\\cwp.py', 'C:\\Users\\username\\AppData\\Local\\Continuum\\a
naconda3', 'C:\\Users\\username\\AppData\\Local\\Continuum\\anaconda3\\python.exe
', 'C:\\Users\\username\\AppData\\Local\\Continuum\\anaconda3\\Scripts\\spyder-sc
ript.py', '--reset']
/ DEBUG menuinst_win32:__init__(196): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}
', prefix: 'C:\Users\username\AppData\Local\Continuum\anaconda3', env_name: 'None
', mode: 'system', used_mode: 'system'
DEBUG menuinst_win32:create(320): Shortcut cmd is C:\Users\username\AppData\Local
\Continuum\anaconda3\pythonw.exe, args are ['C:\\Users\\username\\AppData\\Local\
\Continuum\\anaconda3\\cwp.py', 'C:\\Users\\username\\AppData\\Local\\Continuum\\
anaconda3', 'C:\\Users\\username\\AppData\\Local\\Continuum\\anaconda3\\pythonw.e
xe', 'C:\\Users\\username\\AppData\\Local\\Continuum\\anaconda3\\Scripts\\anacond
a-navigator-script.py']
/ DEBUG menuinst_win32:__init__(196): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}
', prefix: 'C:\Users\username\AppData\Local\Continuum\anaconda3', env_name: 'None
', mode: 'system', used_mode: 'system'
DEBUG menuinst_win32:create(320): Shortcut cmd is C:\Users\username\AppData\Local
\Continuum\anaconda3\python.exe, args are ['C:\\Users\\username\\AppData\\Local\\
Continuum\\anaconda3\\cwp.py', 'C:\\Users\\username\\AppData\\Local\\Continuum\\a
naconda3', 'C:\\Users\\username\\AppData\\Local\\Continuum\\anaconda3\\python.exe
', 'C:\\Users\\username\\AppData\\Local\\Continuum\\anaconda3\\Scripts\\jupyter-n
otebook-script.py', '%USERPROFILE%']
failed
ERROR conda.core.link:_execute(507): An error occurred while installing package
'conda-forge::automat-0.7.0-py_1'.
CondaError: Cannot link a source that does not exist. C:\Users\username\AppData\L
ocal\Continuum\anaconda3\Scripts\conda.exe
Running `conda clean --packages` may resolve your problem.
Attempting to roll back.