简体   繁体   English

错误 conda.core.link:_execute(700): 安装 package 'defaults::qt-5.9.7-vc14h73c81de_0' 时出错

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

相关问题 错误 conda.core.link:_execute(699): 安装包“defaults::qt-5.9.7-vc14h73c81de_0”时出错。 回滚事务:完成 - ERROR conda.core.link:_execute(699): An error occurred while installing package 'defaults::qt-5.9.7-vc14h73c81de_0'. Rolling back transaction: done 安装 conda 包时出错:conda.core.link:_execute(696):安装包“conda-forge::qt-5.9.7-h506e8af_3”时出错 - Error installing conda packages: conda.core.link:_execute(696): An error occurred while installing package 'conda-forge::qt-5.9.7-h506e8af_3' 错误 conda.core.link:_execute(699): 安装包 &#39;defaults::openssl-1.1.1l-h2bbff1b_0&#39; 时出错 - ERROR conda.core.link:_execute(699): An error occurred while installing package 'defaults::openssl-1.1.1l-h2bbff1b_0' 错误 conda.core.link:_execute(698):安装包“defaults::icu-58.2-ha925a31_3”时出错 - ERROR conda.core.link:_execute(698): An error occurred while installing package 'defaults::icu-58.2-ha925a31_3' 更新时的Conda错误:`conda.core.link:_execute(637):安装包&#39;None&#39;时发生错误。 Asse田()` - Conda error on update: `conda.core.link:_execute(637): An error occurred while installing package 'None'. AssertionError()` 错误 conda.core.link:_execute(502): 安装包 &#39;conda-forge::astor-0.7.1-py_0&#39; 时出错 - ERROR conda.core.link:_execute(502): An error occurred while installing package 'conda-forge::astor-0.7.1-py_0' python-docx 不会安装 ERROR conda.core.link:_execute(700) - python-docx won't install ERROR conda.core.link:_execute(700) 错误 conda.core.link:_execute(701):更新 conda 包时出错 - ERROR conda.core.link:_execute(701): An error occured while updating conda packages 克隆 conda env 失败:错误 conda.core.link:_execute(543) - Cloning conda env fails: error conda.core.link:_execute(543) 如何处理“ ERROR conda.core.link:_execute_actions(337)”? - How to handle “ERROR conda.core.link:_execute_actions(337)”?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM