Hi,
When I install the lastest Anacoda on Windows, i receive following error:
ERROR conda.core.link:_execute(699): 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\lucas\anaconda3\Scripts.qt-post-link.bat
==> script messages <==
==> script output <==
stdout:
stderr: /F was unexpected at this time.
return code: 255
()
As a result, conda and python files are deleted by installer. I tried to find help on faq websiste as well as on different forums, but i didint find any.
I would be gratefull if you could help me.
the same story when installing navigator by conda prompt
Those post/pre link scripts may write some useful information to C:\Users\lucas\anaconda3\.messages.txt
. Is there such a file? Whats written there?
2 Likes
We received a similar ticket in Anaconda User Care today (error message is in attached screenshot):
Hi Team,
We had recently purchased license and now while installing anaconda 64 bit latest version, we are getting error which is preventing installation.
Need your urgent help as there is a huge business impact.
My response:
Have you tried the running the suggested command in the error message:
conda clean --packages.
Other commands which may help resolve the issue:
Similar issue is discussed here:
opened 12:39AM - 24 Apr 20 UTC
closed 08:28PM - 21 Jan 21 UTC
source::community
pending::feedback
type::installer
<!--
Hi! Read this; it's important.
This is an issue tracker for conda -- t… he package manager. File feature requests
for conda here, as well as bug reports about something conda has messed up.
Anaconda Community Code of Conduct: https://www.anaconda.com/community-code-of-conduct/
If your issue is a bug report or feature request for:
* a specific conda package from Anaconda ('defaults' channel):
==> file at https://github.com/ContinuumIO/anaconda-issues
* a specific conda package from conda-forge:
==> file at the corresponding feedstock under https://github.com/conda-forge
* repo.anaconda.com access and service:
==> file at https://github.com/ContinuumIO/anaconda-issues
* anaconda.org access and service:
==> file at https://anaconda.org/contact/report
* commands under 'conda build':
==> file at https://github.com/conda/conda-build
* commands under 'conda env':
==> please file it here!
* all other conda commands that start with 'conda':
==> please file it here!
If you continue on, and especially if you are submitting a bug report,
**please include all requested information below.**
If a maintainer determines the information is required to understand
your issue, and if it is not provided, your issue may be
closed automatically.
-->
**I'm submitting a...**
- [ ] bug report
- [ ] feature request
## Current Behavior
<!-- What actually happens?
If you want to include console output, please use "Steps to Reproduce" below. -->
I updated conda today on my Mac and then this error shows up right after the update, and then showing up all the time when I start every new terminal session.
> Error processing line 1 of //anaconda3/lib/python3.7/site-packages/matplotlib-3.1.3-py3.7-nspkg.pth:
>
> Traceback (most recent call last):
> File "//anaconda3/lib/python3.7/site.py", line 168, in addpackage
> exec(line)
> File "<string>", line 1, in <module>
> File "<frozen importlib._bootstrap>", line 580, in module_from_spec
> AttributeError: 'NoneType' object has no attribute 'loader'
>
> Remainder of file ignored
### Steps to Reproduce
<!-- If the current behavior is a bug, please provide specific, minimal steps to independently reproduce.
Include the exact conda commands that reproduce the issue and their output between the ticks below. -->
```
conda update -n base conda
```
## Expected Behavior
## Environment Information
<details open><summary><code>`conda info`</code></summary><p>
```
active environment : base
active env location : /opt/anaconda3
shell level : 2
user config file : /Users/jtan32/.condarc
populated config files : /Users/jtan32/.condarc
conda version : 4.8.3
conda-build version : 3.18.11
python version : 3.7.7.final.0
virtual packages : __osx=10.14.6
base environment : /opt/anaconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/osx-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/osx-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /opt/anaconda3/pkgs
/Users/jtan32/.conda/pkgs
envs directories : /opt/anaconda3/envs
/Users/jtan32/.conda/envs
platform : osx-64
user-agent : conda/4.8.3 requests/2.23.0 CPython/3.7.7 Darwin/18.7.0 OSX/10.14.6
UID:GID : 461154:1961537676
netrc file : None
offline mode : False
```
</p></details>
<details open><summary><code>`conda config --show-sources`</code></summary><p>
```
==> /Users/jtan32/.condarc <==
ssl_verify: True
channels:
- defaults
```
</p></details>
<details><summary><code>`conda list --show-channel-urls`</code></summary><p>
```
# packages in environment at /opt/anaconda3:
#
# Name Version Build Channel
_ipyw_jlab_nb_ext_conf 0.1.0 py37_0 defaults
anaconda-clean 1.1.0 py37_1 defaults
anaconda-client 1.7.2 py37_0 defaults
anaconda-navigator 1.9.12 py37_0 defaults
appnope 0.1.0 py37_0 defaults
asn1crypto 1.3.0 py37_0 defaults
attrs 19.3.0 py_0 defaults
backcall 0.1.0 py37_0 defaults
backports 1.0 py_2 defaults
backports.functools_lru_cache 1.6.1 py_0 defaults
backports.tempfile 1.0 py_1 defaults
backports.weakref 1.0.post1 py_1 defaults
beautifulsoup4 4.9.0 py37_0 defaults
blas 1.0 mkl defaults
bleach 3.1.4 py_0 defaults
bzip2 1.0.8 h1de35cc_0 defaults
ca-certificates 2020.1.1 0 defaults
certifi 2020.4.5.1 py37_0 defaults
cffi 1.14.0 py37hb5b8e2f_0 defaults
chardet 3.0.4 py37_1003 defaults
click 7.1.1 py_0 defaults
clyent 1.2.2 py37_1 defaults
conda 4.8.3 py37_0 defaults
conda-build 3.18.11 py37_0 defaults
conda-env 2.6.0 1 defaults
conda-package-handling 1.6.0 py37h1de35cc_0 defaults
conda-verify 3.4.2 py_1 defaults
cryptography 2.8 py37ha12b0ac_0 defaults
cycler 0.10.0 py37_0 defaults
dbus 1.13.12 h90a0687_0 defaults
decorator 4.4.2 py_0 defaults
defusedxml 0.6.0 py_0 defaults
entrypoints 0.3 py37_0 defaults
expat 2.2.6 h0a44026_0 defaults
filelock 3.0.12 py_0 defaults
freetype 2.9.1 hb4e5f40_0 defaults
future 0.18.2 py37_0 defaults
gettext 0.19.8.1 h15daf44_3 defaults
glib 2.63.1 hd977a24_0 defaults
glob2 0.7 py_0 defaults
icu 58.2 h4b95b61_1 defaults
idna 2.9 py_1 defaults
importlib_metadata 1.5.0 py37_0 defaults
intel-openmp 2019.4 233 defaults
ipykernel 5.1.4 py37h39e3cac_0 defaults
ipython 7.13.0 py37h5ca1d4c_0 defaults
ipython_genutils 0.2.0 py37_0 defaults
ipywidgets 7.5.1 py_0 defaults
jedi 0.16.0 py37_1 defaults
jinja2 2.11.1 py_0 defaults
jpeg 9b he5867d9_2 defaults
json5 0.9.4 py_0 defaults
jsonschema 3.2.0 py37_0 defaults
jupyter_client 6.1.2 py_0 defaults
jupyter_core 4.6.3 py37_0 defaults
jupyterlab 1.2.6 pyhf63ae98_0 defaults
jupyterlab_server 1.1.0 py_0 defaults
kiwisolver 1.1.0 py37h0a44026_0 defaults
libarchive 3.3.3 h786848e_5 defaults
libcxx 4.0.1 hcfea43d_1 defaults
libcxxabi 4.0.1 hcfea43d_1 defaults
libedit 3.1.20181209 hb402a30_0 defaults
libffi 3.2.1 h0a44026_6 defaults
libgfortran 3.0.1 h93005f0_2 defaults
libiconv 1.16 h1de35cc_0 defaults
liblief 0.9.0 h2a1bed3_2 defaults
libpng 1.6.37 ha441bb4_0 defaults
libsodium 1.0.16 h3efe00b_0 defaults
libtiff 4.1.0 hcb84e12_0 defaults
libxml2 2.9.9 hf6e021a_1 defaults
lz4-c 1.8.1.2 h1de35cc_0 defaults
lzo 2.10 h1de35cc_2 defaults
markupsafe 1.1.1 py37h1de35cc_0 defaults
matplotlib 3.1.3 py37_0 defaults
matplotlib-base 3.1.3 py37h9aa3819_0 defaults
mistune 0.8.4 py37h1de35cc_0 defaults
mkl 2019.4 233 defaults
mkl-service 2.3.0 py37hfbe908c_0 defaults
mkl_fft 1.0.15 py37h5e564d8_0 defaults
mkl_random 1.1.0 py37ha771720_0 defaults
navigator-updater 0.2.1 py37_0 defaults
nbconvert 5.6.1 py37_0 defaults
nbformat 5.0.4 py_0 defaults
ncurses 6.2 h0a44026_0 defaults
notebook 6.0.3 py37_0 defaults
numpy 1.18.1 py37h7241aed_0 defaults
numpy-base 1.18.1 py37h6575580_1 defaults
olefile 0.46 py37_0 defaults
openssl 1.1.1g h1de35cc_0 defaults
pandoc 2.2.3.2 0 defaults
pandocfilters 1.4.2 py37_1 defaults
parso 0.6.2 py_0 defaults
pcre 8.43 h0a44026_0 defaults
pexpect 4.8.0 py37_0 defaults
pickleshare 0.7.5 py37_0 defaults
pillow 7.0.0 py37h4655f20_0 defaults
pip 20.0.2 py37_1 defaults
pkginfo 1.5.0.1 py37_0 defaults
prometheus_client 0.7.1 py_0 defaults
prompt-toolkit 3.0.4 py_0 defaults
prompt_toolkit 3.0.4 0 defaults
psutil 5.7.0 py37h1de35cc_0 defaults
ptyprocess 0.6.0 py37_0 defaults
py-lief 0.9.0 py37h1413db1_2 defaults
pycosat 0.6.3 py37h1de35cc_0 defaults
pycparser 2.20 py_0 defaults
pygments 2.6.1 py_0 defaults
pyopenssl 19.1.0 py37_0 defaults
pyparsing 2.4.6 py_0 defaults
pyqt 5.9.2 py37h655552a_2 defaults
pyrsistent 0.16.0 py37h1de35cc_0 defaults
pysocks 1.7.1 py37_0 defaults
python 3.7.7 hc70fcce_0_cpython defaults
python-dateutil 2.8.1 py_0 defaults
python-libarchive-c 2.9 py_0 defaults
python.app 2 py37_10 defaults
pytz 2019.3 py_0 defaults
pyyaml 5.3.1 py37h1de35cc_0 defaults
pyzmq 18.1.1 py37h0a44026_0 defaults
qt 5.9.7 h468cd18_1 defaults
qtpy 1.9.0 py_0 defaults
readline 8.0 h1de35cc_0 defaults
requests 2.23.0 py37_0 defaults
ripgrep 11.0.2 he32d670_0 defaults
ruamel_yaml 0.15.87 py37h1de35cc_0 defaults
send2trash 1.5.0 py37_0 defaults
setuptools 46.1.3 py37_0 defaults
sip 4.19.8 py37h0a44026_0 defaults
six 1.14.0 py37_0 defaults
soupsieve 2.0 py_0 defaults
sqlite 3.31.1 h5c1f38d_1 defaults
terminado 0.8.3 py37_0 defaults
testpath 0.4.4 py_0 defaults
tk 8.6.8 ha441bb4_0 defaults
tornado 6.0.4 py37h1de35cc_1 defaults
tqdm 4.45.0 py_0 defaults
traitlets 4.3.3 py37_0 defaults
urllib3 1.25.8 py37_0 defaults
wcwidth 0.1.9 py_0 defaults
webencodings 0.5.1 py37_1 defaults
wheel 0.34.2 py37_0 defaults
widgetsnbextension 3.5.1 py37_0 defaults
xmltodict 0.12.0 py_0 defaults
xz 5.2.5 h1de35cc_0 defaults
yaml 0.1.7 hc338f04_2 defaults
zeromq 4.3.1 h0a44026_3 defaults
zipp 2.2.0 py_0 defaults
zlib 1.2.11 h1de35cc_3 defaults
zstd 1.3.7 h5bba6e5_0 defaults
```
</p></details>
You can roll back to the previous versions of conda
until the resolution of this problem by getting a list of all the versions as:
conda list --revisions
You will find te detailed list of all the changes made with revision number as rev 1
or rev 32
. Roll back to your suitable revision by
conda install --rev revision_number_here