[英]ERROR conda.core.link:_execute(700): An error occurred while installing package 'defaults::qt-5.9.7-vc14h73c81de_0'
I am unable to install the Anaconda package我无法安装 Anaconda package
getting error出现错误
ERROR conda.core.link:_execute(700): An error occurred while installing package 'defaults::qt-5.9.7-vc14h73c81de_0'.
Rolling back transaction: ...working... done
Following logs关注日志
zipp pkgs/main/noarch::zipp-2.2.0-py_0
zlib pkgs/main/win-64::zlib-1.2.11-h62dcd97_3
zstd pkgs/main/win-64::zstd-1.3.7-h508b16e_0
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: E:\Anaconda
registry file: C:\Users\Sam--pc\.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: E:\Anaconda\Scripts\.qt-post-link.bat
==> script messages <==
<None>
==> script output <==
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: E:\Anaconda\pkgs\env.txt
Output folder: E:\Anaconda\conda-meta
Extract: history
Creating Anaconda3 menus...
Execute: "E:\Anaconda\pythonw.exe" -E -s "E:\Anaconda\Lib\_nsis.py" mkdirs
Running post install...
Execute: "E:\Anaconda\pythonw.exe" -E -s "E:\Anaconda\Lib\_nsis.py" post_install
Execute: "E:\Anaconda\pythonw.exe" -E -s "E:\Anaconda\pkgs\.cio-config.py" "D:\Software\Software\Softwares\Anaconda3-2020.02-Windows-x86_64.exe"
Created uninstaller: E:\Anaconda\Uninstall-Anaconda3.exe
Completed
I have tried reinstalling with admin rights still the issue prevails Windows 10我已尝试使用管理员权限重新安装,问题仍然存在 Windows 10
https://i.stack.imgur.com/a5usQ.png https://i.stack.imgur.com/a5usQ.png
I have tried many ways, this below one worked for me我尝试了很多方法,下面这个对我有用
the (base) in anaconda file has no environment variable set. anaconda 文件中的 (base) 没有设置环境变量。
you can know what envs is set by typing " conda info "您可以通过输入“ conda info ”知道设置了什么 envs
if it shows如果它显示
- active environment: none - -活动环境:无-
then,然后,
create a new envs as below创建一个新的环境如下
conda create --name environment_name_of_your_own conda create --name environment_name_of_your_own
after following the steps按照步骤后
conda activate environment_name_of_your_own conda 激活 environment_name_of_your_own
from (base) , it changes to (environment_name_of_your_own)从(base)更改为(environment_name_of_your_own)
you can run your commands from here now, it will work mostly.你现在可以从这里运行你的命令,它大部分都可以工作。
it worked for me.它对我有用。
AlSO,还,
change your PC/Laptop *更换您的个人电脑/笔记本电脑 *
Environment Variables -> User Variables -> TEMP (double click and change directory to) -> C:/Temp
环境变量 -> 用户变量 -> TEMP(双击并更改目录) -> C:/Temp
also *还 *
TMP (double click and change directory to) -> C:/Temp
TMP(双击并将目录更改为)-> C:/Temp
MY " code info "我的“代码信息”
active environment: D:\miniconda_envi_setup_here\some_folder\env active env location: D:\miniconda_envi_setup_here\some_folder\env shell level: 3 user config file: C:\Users\PC Dell.condarc populated config files: C:\Users\PC Dell.condarc conda version: 4.9.2 conda-build version: not installed python version: 3.9.1.final.0 virtual packages: __cuda=11.1=0 __win=0=0 __archspec=1=x86_64 base environment: C:\ProgramData\Miniconda3 (read only) channel URLs: https://repo.anaconda.com/pkgs/main/win-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/win-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/msys2/win-64 https://repo.anaconda.com/pkgs/msys2/noarch package cache: C:\ProgramData\Miniconda3\pkgs C:\Users\PC Dell.conda\pkgs C:\Users\PC Dell\AppData活动环境:D:\miniconda_envi_setup_here\some_folder\env 活动环境位置:D:\miniconda_envi_setup_here\some_folder\env shell 级别:3 用户配置文件:C:\Users\PC Dell.condarc 填充的配置文件:C:\Users Dell.condarc conda 版本:4.9.2 conda-build 版本:未安装 python 版本:3.9.1.final.0 虚拟包:__cuda=11.1=0 __win=0=0 __archspec=1=x86_64 基础环境:C:\ ProgramData\Miniconda3(只读)频道 URL: https://repo.anaconda.com/pkgs/main/win-64 https://repo.anaconda.com/pkgs/main/noarch 8810563352708207684.8288820684.82 com/pkgs/r/win-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/msys2/win-64 8810563352708200684.858888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888880 /pkgs/msys2/noarch package 缓存:C:\ProgramData\Miniconda3\pkgs C:\Users\PC Dell.conda\pkgs C:\Users\PC Dell\AppData \Local\conda\conda\pkgs envs directories: C:\Users\PC Dell.conda\envs C:\ProgramData\Miniconda3\envs C:\Users\PC Dell\AppData\Local\conda\conda\envs platform: win-64 user-agent: conda/4.9.2 requests/2.25.0 CPython/3.9.1 Windows/10 Windows/10.0.19041 administrator: False.netrc file: None offline mode: False
\Local\conda\conda\pkgs envs 目录:C:\Users\PC Dell.conda\envs C:\ProgramData\Miniconda3\envs C:\Users\PC Dell\AppData\Local\conda\conda\envs 平台:win -64 用户代理:conda/4.9.2 requests/2.25.0 CPython/3.9.1 Windows/10 Windows/10.0.19041 管理员:False.netrc 文件:无 离线模式:False
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.