ContinuumIO / anaconda-issues

Anaconda issue tracking
646 stars 220 forks source link

Error Anaconda #11597

Open SM-Fahim opened 4 years ago

SM-Fahim commented 4 years ago

Actual Behavior

I'm using Linux Mint. When I open anaconda from terminal, I got some errors pop up. But everything other is working fine. Secondly, when I'm trying to update the Spyder from "Update this application", it says "Spyder 4.0.1 can't be installed on this environment." I was trying to install on the root env.

Here's the error message when I run anaconda-navigator:

(base) fahim@Fahim:~$ anaconda-navigator 2020-02-07 20:24:40,184 - ERROR anaconda_api.is_vscode_available:1064 ''

/home/fahim/anaconda3/lib/python3.7/site-packages/anaconda_navigator/api/conda_api.py:1364: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. data = yaml.load(f) OpenType support missing for "Ubuntu", script 12 2020-02-07 20:24:42,762 - ERROR community.load_content:203 ('/home/fahim/.anaconda/navigator/content/events.json', JSONDecodeError('Expecting value: line 1 column 1 (char 0)'))

2020-02-07 20:24:43,337 - ERROR community.load_content:203 ('/home/fahim/.anaconda/navigator/content/videos.json', JSONDecodeError('Expecting value: line 1 column 1 (char 0)'))

2020-02-07 20:24:43,337 - ERROR community.load_content:203 ('/home/fahim/.anaconda/navigator/content/webinars.json', JSONDecodeError('Expecting value: line 1 column 1 (char 0)'))

Expected Behavior

Steps to Reproduce

Anaconda or Miniconda version:
      conda version : 4.8.2
conda-build version : 3.18.9
     python version : 3.7.4.final.0
Operating System:

Linux Mint

conda info
``` active environment : base active env location : /home/fahim/anaconda3 shell level : 1 user config file : /home/fahim/.condarc populated config files : /home/fahim/.condarc conda version : 4.8.2 conda-build version : 3.18.9 python version : 3.7.4.final.0 virtual packages : __glibc=2.27 base environment : /home/fahim/anaconda3 (writable) channel URLs : https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /home/fahim/anaconda3/pkgs /home/fahim/.conda/pkgs envs directories : /home/fahim/anaconda3/envs /home/fahim/.conda/envs platform : linux-64 user-agent : conda/4.8.2 requests/2.22.0 CPython/3.7.4 Linux/5.3.0-28-generic linuxmint/19.3 glibc/2.27 UID:GID : 1000:1000 netrc file : None offline mode : False ```
conda list --show-channel-urls
``` # packages in environment at /home/fahim/anaconda3: # # Name Version Build Channel _ipyw_jlab_nb_ext_conf 0.1.0 py37_0 defaults _libgcc_mutex 0.1 main defaults absl-py 0.9.0 pypi_0 pypi alabaster 0.7.12 py37_0 defaults anaconda-client 1.7.2 py37_0 defaults anaconda-navigator 1.9.7 py37_0 defaults asn1crypto 1.3.0 py37_0 defaults astor 0.8.1 pypi_0 pypi astroid 2.3.3 py37_0 defaults attrs 19.3.0 py_0 defaults autopep8 1.4.4 pypi_0 pypi babel 2.8.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.8.2 py37_0 defaults bleach 3.1.0 py37_0 defaults bzip2 1.0.8 h7b6447c_0 defaults ca-certificates 2020.1.1 0 defaults cachetools 4.0.0 pypi_0 pypi certifi 2019.11.28 py37_0 defaults cffi 1.13.2 py37h2e261b9_0 defaults chardet 3.0.4 py37_1003 defaults click 7.0 py37_0 defaults cloudpickle 1.2.2 py_0 defaults clyent 1.2.2 py37_1 defaults conda 4.8.2 py37_0 defaults conda-build 3.18.9 py37_3 defaults conda-env 2.6.0 1 defaults conda-package-handling 1.6.0 py37h7b6447c_0 defaults conda-verify 3.4.2 py_1 defaults cryptography 2.8 py37h1ba5d50_0 defaults dbus 1.13.12 h746ee38_0 defaults decorator 4.4.1 py_0 defaults defusedxml 0.6.0 py_0 defaults docutils 0.16 py37_0 defaults entrypoints 0.3 py37_0 defaults expat 2.2.6 he6710b0_0 defaults filelock 3.0.12 py_0 defaults flake8 3.7.9 pypi_0 pypi flake8-docstrings 1.5.0 pypi_0 pypi fontconfig 2.13.0 h9420a91_0 defaults freetype 2.9.1 h8a8886c_1 defaults future 0.18.2 py37_0 defaults gast 0.2.2 pypi_0 pypi glib 2.63.1 h5a9c865_0 defaults glob2 0.7 py_0 defaults gmp 6.1.2 h6c8ec71_1 defaults google-auth 1.11.0 pypi_0 pypi google-auth-oauthlib 0.4.1 pypi_0 pypi google-pasta 0.1.8 pypi_0 pypi grpcio 1.26.0 pypi_0 pypi gst-plugins-base 1.14.0 hbbd80ab_1 defaults gstreamer 1.14.0 hb453b48_1 defaults hacking 2.0.0 pypi_0 pypi icu 58.2 h9c2bf20_1 defaults idna 2.8 py37_0 defaults imagesize 1.2.0 py_0 defaults importlib_metadata 1.5.0 py37_0 defaults inflect 4.1.0 py37_0 defaults interpolation 2.1.2 pypi_0 pypi ipykernel 5.1.4 py37h39e3cac_0 defaults ipython 7.12.0 py37h5ca1d4c_0 defaults ipython_genutils 0.2.0 py37_0 defaults ipywidgets 7.5.1 py_0 defaults isort 4.3.21 py37_0 defaults jaraco.itertools 5.0.0 py_0 defaults jedi 0.16.0 py37_0 defaults jeepney 0.4.2 py_0 defaults jinja2 2.11.1 py_0 defaults jpeg 9b h024ee3a_2 defaults json5 0.9.0 py_0 defaults jsonschema 3.2.0 py37_0 defaults jupyter_client 5.3.4 py37_0 defaults jupyter_core 4.6.1 py37_0 defaults jupyterlab 1.2.6 pyhf63ae98_0 defaults jupyterlab_server 1.0.6 py_0 defaults keras-applications 1.0.8 pypi_0 pypi keras-preprocessing 1.1.0 pypi_0 pypi keyring 21.1.0 py37_0 defaults lazy-object-proxy 1.4.3 py37h7b6447c_0 defaults libarchive 3.3.3 h5d8350f_5 defaults libedit 3.1.20181209 hc058e9b_0 defaults libffi 3.2.1 hd88cf55_4 defaults libgcc-ng 9.1.0 hdf63c60_0 defaults liblief 0.9.0 h7725739_2 defaults libpng 1.6.37 hbc83047_0 defaults libsodium 1.0.16 h1bed415_0 defaults libstdcxx-ng 9.1.0 hdf63c60_0 defaults libtiff 4.1.0 h2733197_0 defaults libuuid 1.0.3 h1bed415_2 defaults libxcb 1.13 h1bed415_1 defaults libxml2 2.9.9 hea5a465_1 defaults lz4-c 1.8.1.2 h14c3975_0 defaults lzo 2.10 h49e0be7_2 defaults markdown 3.2 pypi_0 pypi markupsafe 1.1.1 py37h7b6447c_0 defaults mccabe 0.6.1 py37_1 defaults mistune 0.8.4 py37h7b6447c_0 defaults more-itertools 8.2.0 py_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.1 he6710b0_1 defaults notebook 6.0.3 py37_0 defaults numpydoc 0.9.2 py_0 defaults oauthlib 3.1.0 pypi_0 pypi olefile 0.46 py37_0 defaults openssl 1.1.1d h7b6447c_3 defaults opt-einsum 3.1.0 pypi_0 pypi packaging 20.1 py_0 defaults pandoc 2.2.3.2 0 defaults pandocfilters 1.4.2 py37_1 defaults parso 0.6.0 py_0 defaults patchelf 0.10 he6710b0_0 defaults pcre 8.43 he6710b0_0 defaults pexpect 4.8.0 py37_0 defaults pickleshare 0.7.5 py37_0 defaults pillow 7.0.0 py37hb39fc2d_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.3 py_0 defaults protobuf 3.11.3 pypi_0 pypi psutil 5.6.7 py37h7b6447c_0 defaults ptyprocess 0.6.0 py37_0 defaults py-lief 0.9.0 py37h7725739_2 defaults pyasn1 0.4.8 pypi_0 pypi pyasn1-modules 0.2.8 pypi_0 pypi pycodestyle 2.5.0 py37_0 defaults pycosat 0.6.3 py37h7b6447c_0 defaults pycparser 2.19 py37_0 defaults pydocstyle 5.0.2 pypi_0 pypi pyflakes 2.1.1 py37_0 defaults pygments 2.5.2 py_0 defaults pylint 2.4.4 py37_0 defaults pyopenssl 19.1.0 py37_0 defaults pyparsing 2.4.6 py_0 defaults pyqt 5.9.2 py37h05f1152_2 defaults pyrsistent 0.15.7 py37h7b6447c_0 defaults pysocks 1.7.1 py37_0 defaults python 3.7.4 h265db76_1 defaults python-dateutil 2.8.1 py_0 defaults python-libarchive-c 2.8 py37_13 defaults pytz 2019.3 py_0 defaults pyyaml 5.3 py37h7b6447c_0 defaults pyzmq 18.1.1 py37he6710b0_0 defaults qt 5.9.7 h5867ecd_1 defaults qtawesome 0.6.1 py_0 defaults qtconsole 4.6.0 py_1 defaults qtpy 1.9.0 py_0 defaults quantecon 0.4.5 pypi_0 pypi readline 7.0 h7b6447c_5 defaults requests 2.22.0 py37_1 defaults requests-oauthlib 1.3.0 pypi_0 pypi ripgrep 11.0.2 he32d670_0 defaults rope 0.16.0 py_0 defaults rsa 4.0 pypi_0 pypi ruamel_yaml 0.15.87 py37h7b6447c_0 defaults secretstorage 3.1.2 py37_0 defaults send2trash 1.5.0 py37_0 defaults setuptools 45.1.0 py37_0 defaults sip 4.19.8 py37hf484d3e_0 defaults six 1.14.0 py37_0 defaults snowballstemmer 2.0.0 py_0 defaults soupsieve 1.9.5 py37_0 defaults sphinx 2.3.1 py_0 defaults sphinxcontrib-applehelp 1.0.1 py_0 defaults sphinxcontrib-devhelp 1.0.1 py_0 defaults sphinxcontrib-htmlhelp 1.0.2 py_0 defaults sphinxcontrib-jsmath 1.0.1 py_0 defaults sphinxcontrib-qthelp 1.0.2 py_0 defaults sphinxcontrib-serializinghtml 1.1.3 py_0 defaults spyder 3.3.6 py37_0 defaults spyder-kernels 0.5.2 py37_0 defaults sqlite 3.31.1 h7b6447c_0 defaults tempita 0.5.2 pypi_0 pypi tensorboard 2.1.0 pypi_0 pypi tensorflow 2.1.0 pypi_0 pypi tensorflow-estimator 2.1.0 pypi_0 pypi termcolor 1.1.0 pypi_0 pypi terminado 0.8.3 py37_0 defaults testpath 0.4.4 py_0 defaults tk 8.6.8 hbc83047_0 defaults tornado 6.0.3 py37h7b6447c_0 defaults tqdm 4.42.0 py_0 defaults traitlets 4.3.3 py37_0 defaults urllib3 1.25.8 py37_0 defaults wcwidth 0.1.8 py_0 defaults webencodings 0.5.1 py37_1 defaults wheel 0.34.2 py37_0 defaults widgetsnbextension 3.5.1 py37_0 defaults wrapt 1.11.2 py37h7b6447c_0 defaults wurlitzer 2.0.0 py37_0 defaults xz 5.2.4 h14c3975_4 defaults yaml 0.1.7 had09818_2 defaults zeromq 4.3.1 he6710b0_3 defaults zipp 2.1.0 py_0 defaults zlib 1.2.11 h7b6447c_3 defaults zstd 1.3.7 h0b5b093_0 defaults ```
logvinata commented 4 years ago

The same thing with conda/4.8.3 requests/2.22.0 CPython/3.7.6 Linux/5.3.0-42-generic ubuntu/18.04.4 glibc/2.27 I'm not sure everything else is OK because I have to restart anaconda if the system is suspended, but I don't know whether this behavior has something to do with the error.