【发布时间】:2020-07-19 12:31:42
【问题描述】:
我正在尝试安装 Anaconda 我已经同意了许可协议并给出了安装路径 C:\Users\USER\anaconda3 并检查了以下选项。
我花了 20-30 分钟的时间来提取和安装一些包,最后它抛出了一个错误。
有人可以解释导致错误的原因吗?
Preparing transaction: ...working... done
Executing transaction: ...working... WARNING conda.core.envs_manager:register_env(52): Unable to register environment. Path not writable or missing.
environment location: C:\Users\USER\anaconda3
registry file: C:\Users\USER\.conda\environments.txt
done
ERROR conda.core.link:_execute(700): An error occurred while installing package 'defaults::qt-5.9.7-vc14h73c81de_0'.
Rolling back transaction: ...working... done
LinkError: post-link script failed for package defaults::qt-5.9.7-vc14h73c81de_0
location of failed script: C:\Users\USER\anaconda3\Scripts\.qt-post-link.bat
==> script messages <==
<None>
==> script out
put <==
stdout: 1 file(s) copied.
stderr: The system cannot find the file specified.
The system cannot find the file specified.
return code: 1
()
Delete file: C:\Users\USER\anaconda3\pkgs\env.txt
Output folder: C:\Users\USER\anaconda3\conda-meta
Extract: history
Creating Anaconda3 menus...
Execute: "C:\Users\USER\anaconda3\pythonw.exe" -E -s "C:\Users\USER\anaconda3\Lib\_nsis.py" mkdirs
Running post install...
Execute: "C:\Users\USER\anaconda3\pythonw.exe" -E -s "C:\Users\USER\anaconda3\Lib\_nsis.py" post_install
Execute: "C:\Users\USER\anaconda3\pythonw.exe" -E -s "C:\Users\USER\anaconda3\pkgs\.cio-config.py" "C:\Users\USER\Desktop\Anaconda3-2020.02-Windows-x86_64.exe"
Created uninstaller: C:\Users\USER\anaconda3\Uninstall-Anaconda3.exe
Completed
请提出您的建议需要更改什么?
【问题讨论】:
-
您是通过启动安装程序得到的吗?
-
我已经更新了问题。
-
我建议你标记
Add anaconda3 to my PATH environment variable。你什么时候得到错误?什么时候开始anaconda?或者尝试执行一些代码?
标签: python anaconda conda spyder