ContinuumIO / anaconda-issues

Anaconda issue tracking
646 stars 220 forks source link

Error occurred when opening Anaconda Navigator. #9756

Open JingOY0610 opened 6 years ago

JingOY0610 commented 6 years ago

Error occurred when opening Anaconda Navigator.

Navigator Error An unexpected error occurred on Navigator start-up Report Please report this issue in the anaconda issue tracker Main Error

'root_prefix'

Traceback

Traceback (most recent call last): File "D:\Anaconda2\lib\site-packages\anaconda_navigator\exceptions.py", line 75, in exception_handler return_value = func(*args, **kwargs) File "D:\Anaconda2\lib\site-packages\anaconda_navigator\app\start.py", line 150, in start_app window = run_app(splash) File "D:\Anaconda2\lib\site-packages\anaconda_navigator\app\start.py", line 65, in run_app window = MainWindow(splash=splash, tab_project=False) File "D:\Anaconda2\lib\site-packages\anaconda_navigator\widgets\main_window.py", line 163, in init self.api = AnacondaAPI() File "D:\Anaconda2\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 2185, in AnacondaAPI ANACONDA_API = _AnacondaAPI() File "D:\Anaconda2\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 89, in init self._conda_api = CondaAPI() File "D:\Anaconda2\lib\site-packages\anaconda_navigator\api\conda_api.py", line 1714, in CondaAPI CONDA_API = _CondaAPI() File "D:\Anaconda2\lib\site-packages\anaconda_navigator\api\conda_api.py", line 350, in init self.set_conda_prefix(info=get_conda_info()) File "D:\Anaconda2\lib\site-packages\anaconda_navigator\api\conda_api.py", line 505, in set_conda_prefix self.ROOT_PREFIX = info['root_prefix'] KeyError: 'root_prefix'

conda info
 active environment : base
active env location : D:\Anaconda2
        shell level : 1
   user config file : C:\Users\oyjjj\.condarc

populated config files : conda version : 4.5.8 conda-build version : 3.10.9 python version : 2.7.15.final.0 base environment : D:\Anaconda2 (writable) channel URLs : https://repo.anaconda.com/pkgs/main/win-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/free/win-64 https://repo.anaconda.com/pkgs/free/noarch https://repo.anaconda.com/pkgs/r/win-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/pro/win-64 https://repo.anaconda.com/pkgs/pro/noarch https://repo.anaconda.com/pkgs/msys2/win-64 https://repo.anaconda.com/pkgs/msys2/noarch package cache : D:\Anaconda2\pkgs C:\Users\oyjjj\AppData\Local\conda\conda\pkgs envs directories : D:\Anaconda2\envs C:\Users\oyjjj\AppData\Local\conda\conda\envs C:\Users\oyjjj.conda\envs platform : win-64 user-agent : conda/4.5.8 requests/2.18.4 CPython/2.7.15 Windows/10 Windows/10.0.17134 administrator : False netrc file : None offline mode : False

conda list --show-channel-urls

packages in environment at D:\Anaconda2:

#

Name Version Build Channel

_ipyw_jlab_nb_ext_conf 0.1.0 py27h9111531_0 defaults alabaster 0.7.10 py27h2cab13d_0 defaults anaconda 5.2.0 py27_3 defaults anaconda-client 1.6.14 py27_0 defaults anaconda-navigator 1.8.7 py27_0 defaults anaconda-project 0.8.2 py27he89e3ca_0 defaults asn1crypto 0.24.0 py27_0 defaults astroid 1.6.3 py27_0 defaults astropy 2.0.6 py27hc997a72_1 defaults attrs 18.1.0 py27_0 defaults babel 2.5.3 py27_0 defaults backports 1.0 py27h6492d98_1 defaults backports.functools_lru_cache 1.5 py27_1 defaults backports.shutil_get_terminal_size 1.0.0 py27h1657125_2 defaults backports.shutil_which 3.5.1 py27_2 defaults backports_abc 0.5 py27h0ec6b72_0 defaults beautifulsoup4 4.6.0 py27hc287451_1 defaults bitarray 0.8.1 py27h0c8e037_1 defaults bkcharts 0.2 py27h92b6de3_0 defaults blas 1.0 mkl defaults blaze 0.11.3 py27h97e5449_0 defaults bleach 2.1.3 py27_0 defaults blosc 1.14.3 h95ae18b_0 defaults bokeh 0.12.16 py27_0 defaults boto 2.48.0 py27h1ccb131_1 defaults bottleneck 1.2.1 py27hde90680_0 defaults bzip2 1.0.6 h0c8e037_5 defaults ca-certificates 2018.03.07 0 defaults cdecimal 2.3 py27h0c8e037_3 defaults certifi 2018.4.16 py27_0 defaults cffi 1.11.5 py27hdb016f4_0 defaults chardet 3.0.4 py27h56c3b73_1 defaults click 6.7 py27hb6defca_0 defaults cloudpickle 0.5.3 py27_0 defaults clyent 1.2.2 py27h4424948_1 defaults colorama 0.3.9 py27hdfe4ae1_0 defaults comtypes 1.1.4 py27_0 defaults conda 4.5.8 py27_0 defaults conda-build 3.10.9 py27_0 defaults conda-env 2.6.0 h36134e3_1 defaults conda-verify 2.0.0 py27h5217224_0 defaults configparser 3.5.0 py27h2fa79a8_0 defaults console_shortcut 0.1.1 h6bb2dd7_3 defaults contextlib2 0.5.5 py27h42efda5_0 defaults cryptography 2.2.2 py27h0c8e037_0 defaults curl 7.60.0 h7a46e7a_0 defaults cycler 0.10.0 py27h59acbbf_0 defaults cython 0.28.2 py27h0c8e037_0 defaults cytoolz 0.9.0.1 py27h0c8e037_0 defaults dask 0.17.5 py27_0 defaults dask-core 0.17.5 py27_0 defaults datashape 0.5.4 py27h3d6e61b_0 defaults decorator 4.3.0 py27_0 defaults distributed 1.21.8 py27_0 defaults docutils 0.14 py27h8652d09_0 defaults entrypoints 0.2.3 py27h0271f2b_2 defaults enum34 1.1.6 py27h2aa175b_1 defaults et_xmlfile 1.0.1 py27h1de5d23_0 defaults fastcache 1.0.2 py27h0c8e037_2 defaults filelock 3.0.4 py27_0 defaults flask 1.0.2 py27_1 defaults flask-cors 3.0.4 py27_0 defaults freetype 2.8 hea645e0_1 defaults funcsigs 1.0.2 py27h8885ae1_0 defaults functools32 3.2.3.2 py27h0cdbcdb_1 defaults futures 3.2.0 py27h8b2aecd_0 defaults get_terminal_size 1.0.0 h38e98db_0 defaults gevent 1.3.0 py27h0c8e037_0 defaults glob2 0.6 py27hd4eee8c_0 defaults greenlet 0.4.13 py27h0c8e037_0 defaults grin 1.2.1 py27_4 defaults h5py 2.7.1 py27h5f1a774_2 defaults hdf5 1.10.2 h4b43f98_1 defaults heapdict 1.0.0 py27_2 defaults html5lib 1.0.1 py27h5a33001_0 defaults icc_rt 2017.0.4 h97af966_0 defaults icu 58.2 h2aa20d9_1 defaults idna 2.6 py27h1ea29d3_1 defaults imageio 2.3.0 py27_0 defaults imagesize 1.0.0 py27_0 defaults intel-openmp 2018.0.0 8 defaults ipaddress 1.0.22 py27_0 defaults ipykernel 4.8.2 py27_0 defaults ipython 5.7.0 py27_0 defaults ipython_genutils 0.2.0 py27hbe997df_0 defaults ipywidgets 7.2.1 py27_0 defaults isort 4.3.4 py27_0 defaults itsdangerous 0.24 py27hcf63135_1 defaults jdcal 1.4 py27_0 defaults jedi 0.12.0 py27_1 defaults jinja2 2.10 py27hba1794b_0 defaults jpeg 9b ha175dff_2 defaults jsonschema 2.6.0 py27haaf3834_0 defaults jupyter 1.0.0 py27_4 defaults jupyter_client 5.2.3 py27_0 defaults jupyter_console 5.2.0 py27h6ed736b_1 defaults jupyter_core 4.4.0 py27h1619e65_0 defaults jupyterlab 0.32.1 py27_0 defaults jupyterlab_launcher 0.10.5 py27_0 defaults kiwisolver 1.0.1 py27h9815e84_0 defaults lazy-object-proxy 1.3.1 py27ha5c8080_0 defaults libcurl 7.60.0 h0990ea7_0 defaults libiconv 1.15 hda2e4ec_7 defaults libpng 1.6.34 h325896a_0 defaults libsodium 1.0.16 h8b3e59e_0 defaults libssh2 1.8.0 h77a7533_4 defaults libtiff 4.0.9 h1c3b264_1 defaults libxml2 2.9.8 hdfd6920_1 defaults libxslt 1.1.32 h89dfad8_0 defaults llvmlite 0.23.1 py27hf224fbf_0 defaults locket 0.2.0 py27h1ca288a_1 defaults lxml 4.2.1 py27h803002f_0 defaults lzo 2.10 h0bb7fe3_2 defaults m2w64-gcc-libgfortran 5.3.0 6 defaults m2w64-gcc-libs 5.3.0 7 defaults m2w64-gcc-libs-core 5.3.0 7 defaults m2w64-gmp 6.1.0 2 defaults m2w64-libwinpthread-git 5.0.0.4634.697f757 2 defaults markupsafe 1.0 py27h9d4480d_1 defaults matplotlib 2.2.2 py27h8803d4e_1 defaults mccabe 0.6.1 py27hde0bf6e_1 defaults menuinst 1.4.14 py27h0c8e037_0 defaults mistune 0.8.3 py27h0c8e037_1 defaults mkl 2018.0.2 1 defaults mkl-service 1.1.2 py27h3c6b6b0_4 defaults mkl_fft 1.0.1 py27hc997a72_0 defaults more-itertools 4.1.0 py27_0 defaults mpmath 1.0.0 py27h0d59bc2_2 defaults msgpack-python 0.5.6 py27hdc96acc_0 defaults msys2-conda-epoch 20160418 1 defaults multipledispatch 0.5.0 py27_0 defaults navigator-updater 0.2.1 py27_0 defaults nbconvert 5.3.1 py27h7a573cf_0 defaults nbformat 4.4.0 py27hf49b375_0 defaults networkx 2.1 py27_0 defaults nltk 3.3.0 py27_0 defaults nose 1.3.7 py27h84c72c6_2 defaults notebook 5.5.0 py27_0 defaults numba 0.38.0 py27h39f3610_0 defaults numexpr 2.6.5 py27h3b259a0_0 defaults numpy 1.14.3 py27h911edcf_1 defaults numpy-base 1.14.3 py27h917549b_1 defaults numpydoc 0.8.0 py27_0 defaults odo 0.5.1 py27h64810b2_0 defaults olefile 0.45.1 py27_0 defaults openpyxl 2.5.3 py27_0 defaults openssl 1.0.2o h2c51139_0 defaults packaging 17.1 py27_0 defaults pandas 0.23.0 py27h39f3610_0 defaults pandoc 1.19.2.1 hb2460c7_1 defaults pandocfilters 1.4.2 py27h76461d3_1 defaults parso 0.2.0 py27_0 defaults partd 0.3.8 py27h1e0692f_0 defaults path.py 11.0.1 py27_0 defaults pathlib2 2.3.2 py27_0 defaults patsy 0.5.0 py27_0 defaults pep8 1.7.1 py27_0 defaults pickleshare 0.7.4 py27hb5f6335_0 defaults pillow 5.1.0 py27h901f87c_0 defaults pip 10.0.1 py27_0 defaults pkginfo 1.4.2 py27_1 defaults pluggy 0.6.0 py27h89dc50b_0 defaults ply 3.11 py27_0 defaults prompt_toolkit 1.0.15 py27h3a8ec6a_0 defaults psutil 5.4.5 py27h0c8e037_0 defaults py 1.5.3 py27_0 defaults pycodestyle 2.4.0 py27_0 defaults pycosat 0.6.3 py27hcd410c5_0 defaults pycparser 2.18 py27hb43d16c_1 defaults pycrypto 2.6.1 py27h0c8e037_8 defaults pycurl 7.43.0.1 py27hc64555f_0 defaults pyflakes 1.6.0 py27h34e7826_0 defaults pygments 2.2.0 py27ha50f84f_0 defaults pylint 1.8.4 py27_0 defaults pyodbc 4.0.23 py27hc56fc5f_0 defaults pyopenssl 18.0.0 py27_0 defaults pyparsing 2.2.0 py27hc7d9fa6_1 defaults pyqt 5.6.0 py27h224ed30_5 defaults pysocks 1.6.8 py27_0 defaults pytables 3.4.3 py27hdd5b532_1 defaults pytest 3.5.1 py27_0 defaults python 2.7.15 he216670_0 defaults python-dateutil 2.7.3 py27_0 defaults pytz 2018.4 py27_0 defaults pywavelets 0.5.2 py27h0dc3f48_0 defaults pywin32 223 py27h0c8e037_1 defaults pywinpty 0.5.1 py27_0 defaults pyyaml 3.12 py27ha287073_1 defaults pyzmq 17.0.0 py27h0c8e037_1 defaults qt 5.6.2 vc9hc26998b_12 [vc9] defaults qtawesome 0.4.4 py27h766b13d_0 defaults qtconsole 4.3.1 py27h77d40ac_0 defaults qtpy 1.4.1 py27_0 defaults requests 2.18.4 py27h3159eba_1 defaults rope 0.10.7 py27hb65afb6_0 defaults ruamel_yaml 0.15.35 py27h0c8e037_1 defaults scandir 1.7 py27h0c8e037_0 defaults scikit-image 0.13.1 py27h0c8e037_1 defaults scikit-learn 0.19.1 py27he00e316_0 defaults scipy 1.1.0 py27ha6b90e7_0 defaults seaborn 0.8.1 py27hab56d54_0 defaults send2trash 1.5.0 py27_0 defaults setuptools 39.1.0 py27_0 defaults simplegeneric 0.8.1 py27_2 defaults singledispatch 3.4.0.3 py27h3f9d112_0 defaults sip 4.18.1 py27h5ec1c1a_2 defaults six 1.11.0 py27ha5e1701_1 defaults snappy 1.1.7 he46498f_3 defaults snowballstemmer 1.2.1 py27h28d3bf7_0 defaults sortedcollections 0.6.1 py27_0 defaults sortedcontainers 1.5.10 py27_0 defaults sphinx 1.7.4 py27_0 defaults sphinxcontrib 1.0 py27h0e2fb95_1 defaults sphinxcontrib-websupport 1.0.1 py27h0d0f901_1 defaults spyder 3.2.8 py27_0 defaults sqlalchemy 1.2.7 py27h9dc6b9e_0 defaults sqlite 3.23.1 h0f31022_0 defaults ssl_match_hostname 3.5.0.1 py27hea8a0f4_2 defaults statsmodels 0.9.0 py27hc997a72_0 defaults subprocess32 3.5.0 py27h0c8e037_0 defaults sympy 1.1.1 py27hde44fae_0 defaults tblib 1.3.2 py27h8ae915c_0 defaults terminado 0.8.1 py27_1 defaults testpath 0.3.1 py27h1cd488d_0 defaults tk 8.6.7 h144d9c4_3 defaults toolz 0.9.0 py27_0 defaults tornado 5.0.2 py27_0 defaults traitlets 4.3.2 py27h1b1b3a5_0 defaults typing 3.6.4 py27_0 defaults unicodecsv 0.14.1 py27h0bf7bb0_0 defaults urllib3 1.22 py27hb9f5a07_0 defaults vc 9 h7299396_1 defaults vs2008_runtime 9.00.30729.1 hfaea7d5_1 defaults vs2015_runtime 14.0.25123 3 defaults wcwidth 0.1.7 py27hb1a0d82_0 defaults webencodings 0.5.1 py27h4e224a2_1 defaults werkzeug 0.14.1 py27_0 defaults wheel 0.31.1 py27_0 defaults widgetsnbextension 3.2.1 py27_0 defaults win_inet_pton 1.0.1 py27hf41312a_1 defaults win_unicode_console 0.5 py27hc037021_0 defaults wincertstore 0.2 py27hf04cefb_0 defaults winpty 0.4.3 4 defaults wrapt 1.10.11 py27hcd2b27d_0 defaults xlrd 1.1.0 py27h2b87a7f_1 defaults xlsxwriter 1.0.4 py27_0 defaults xlwings 0.11.8 py27_0 defaults xlwt 1.3.0 py27h2271735_0 defaults yaml 0.1.7 h3e6d941_2 defaults zeromq 4.2.5 h907ab29_0 defaults zict 0.1.3 py27h0171463_0 defaults zlib 1.2.11 hbc2faf4_2 defaults

goanpeca commented 6 years ago

@JingOY0610 if you open the Anaconda Prompt and type

anaconda-navigator or

anaconda-navigator --debug what do you see?

Could you also try updating conda and packages?

Please remember to update to the latest version of Navigator to include the latest fixes.

Open a terminal (on Linux or Mac) or the Anaconda Command Prompt (on windows) and type:

conda update conda
conda update --all
JingOY0610 commented 6 years ago

I tried all kinds of updates in Anaconda Prompt but they don't work. The following is the result when I type anaconda-navigator

An unexpected error occurred on Navigator start-up<br>'root_prefix' Traceback (most recent call last): File "D:\Anaconda2\lib\site-packages\anaconda_navigator\exceptions.py", line 75, in exception_handler return_value = func(*args, **kwargs) File "D:\Anaconda2\lib\site-packages\anaconda_navigator\app\start.py", line 150, in start_app window = run_app(splash) File "D:\Anaconda2\lib\site-packages\anaconda_navigator\app\start.py", line 65, in run_app window = MainWindow(splash=splash, tab_project=False) File "D:\Anaconda2\lib\site-packages\anaconda_navigator\widgets\main_window.py", line 163, in __init__ self.api = AnacondaAPI() File "D:\Anaconda2\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 2185, in AnacondaAPI ANACONDA_API = _AnacondaAPI() File "D:\Anaconda2\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 89, in __init__ self._conda_api = CondaAPI() File "D:\Anaconda2\lib\site-packages\anaconda_navigator\api\conda_api.py", line 1714, in CondaAPI CONDA_API = _CondaAPI() File "D:\Anaconda2\lib\site-packages\anaconda_navigator\api\conda_api.py", line 350, in __init__ self.set_conda_prefix(info=get_conda_info()) File "D:\Anaconda2\lib\site-packages\anaconda_navigator\api\conda_api.py", line 505, in set_conda_prefix self.ROOT_PREFIX = info['root_prefix'] KeyError: 'root_prefix'

goanpeca commented 6 years ago

@JingOY0610 could you provide the output of running on the anaconda prompt

conda info --json
JingOY0610 commented 6 years ago

Here it is.

{ "caused_by": "UnicodeDecodeError('utf8', '.;D:\\\\\\xc8\\xed\\xbc\\xfe\\\\QuickTime\\\\QTSystem\\\\QTJava.zip', 5, 6, 'invalid continuation byte')", "error": "EncodingError: A unicode encoding or decoding error has occurred.\nPython 2 is the interpreter under which conda is running in your base environment.\nReplacing your base environment with one having Python 3 may help resolve this issue.\nIf you still have a need for Python 2 environments, consider using 'conda create'\nand 'conda activate'. For example:\n\n $ conda create -n py2 python=2\n $ conda activate py2\n\nError details: UnicodeDecodeError('utf8', '.;D:\\\\\\xc8\\xed\\xbc\\xfe\\\\QuickTime\\\\QTSystem\\\\QTJava.zip', 5, 6, 'invalid continuation byte')\n\n", "exception_name": "EncodingError", "exception_type": "<class 'conda.exceptions.EncodingError'>", "message": "A unicode encoding or decoding error has occurred.\nPython 2 is the interpreter under which conda is running in your base environment.\nReplacing your base environment with one having Python 3 may help resolve this issue.\nIf you still have a need for Python 2 environments, consider using 'conda create'\nand 'conda activate'. For example:\n\n $ conda create -n py2 python=2\n $ conda activate py2\n\nError details: UnicodeDecodeError('utf8', '.;D:\\\\\\xc8\\xed\\xbc\\xfe\\\\QuickTime\\\\QTSystem\\\\QTJava.zip', 5, 6, 'invalid continuation byte')\n\n" }

goanpeca commented 6 years ago

@JingOY0610 it seems omething on your path is producing and error as displayed by the message

'.;D:\\\\\\xc8\\xed\\xbc\\xfe\\\\QuickTime\\\\QTSystem\\\\QTJava.zip'

You will need to remove that entry from the PATH variable and try again.

JingOY0610 commented 6 years ago

conda info --json seems works after I remove the entry. { "active_prefix": "D:\\Anaconda2", "active_prefix_name": "base", "channels": [ "https://repo.anaconda.com/pkgs/main/win-64", "https://repo.anaconda.com/pkgs/main/noarch", "https://repo.anaconda.com/pkgs/free/win-64", "https://repo.anaconda.com/pkgs/free/noarch", "https://repo.anaconda.com/pkgs/r/win-64", "https://repo.anaconda.com/pkgs/r/noarch", "https://repo.anaconda.com/pkgs/pro/win-64", "https://repo.anaconda.com/pkgs/pro/noarch", "https://repo.anaconda.com/pkgs/msys2/win-64", "https://repo.anaconda.com/pkgs/msys2/noarch" ], "conda_build_version": "3.10.9", "conda_env_version": "4.5.8", "conda_location": "D:\\Anaconda2\\lib\\site-packages\\conda", "conda_prefix": "D:\\Anaconda2", "conda_private": false, "conda_shlvl": 1, "conda_version": "4.5.8", "config_files": [], "default_prefix": "D:\\Anaconda2", "env_vars": { "CIO_TEST": "<not set>", "CONDA_DEFAULT_ENV": "base", "CONDA_EXE": "D:\\Anaconda2\\Scripts\\conda.exe", "CONDA_PREFIX": "D:\\Anaconda2", "CONDA_PROMPT_MODIFIER": "(base) ", "CONDA_PYTHON_EXE": "D:\\Anaconda2\\python.exe", "CONDA_ROOT": "D:\\Anaconda2", "CONDA_SHLVL": "1", "HOMEPATH": "\\Users\\oyjjj", "PATH": "D:\\Anaconda2;D:\\Anaconda2\\Library\\mingw-w64\\bin;D:\\Anaconda2\\Library\\usr\\bin;D:\\Anaconda2\\Library\\bin;D:\\Anaconda2\\Scripts;D:\\Anaconda2\\bin;C:\\Program Files (x86)\\Intel\\iCLS Client\\;D:\\Oracle\\root\\software\\bin;C:\\Program Files\\Intel\\iCLS Client\\;C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\Intel\\IntelSGXPSW\\bin\\x64\\Release\\;C:\\Program Files\\Intel\\IntelSGXPSW\\bin\\win32\\Release\\;D:\\\u8f6f\u4ef6\\QuickTime\\QTSystem\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;D:\\\u8f6f\u4ef6\\putty\\;C:\\Program Files\\MySQL\\MySQL Enterprise Backup 4.1\\;C:\\Program Files\\MySQL\\MySQL Utilities 1.6\\;D:\\\u8f6f\u4ef6\\ultraedit;C:\\Users\\oyjjj\\AppData\\Local\\Programs\\Python\\Python36;C:\\Users\\oyjjj\\AppData\\Local\\Programs\\Python\\Python36\\Scripts;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Intel\\WiFi\\bin\\;;C:\\Users\\oyjjj\\AppData\\Local\\Microsoft\\WindowsApps;D:\\\u8f6f\u4ef6\\wind\\bin\\", "PSMODULEPATH": "C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules\\", "PYTHONIOENCODING": "936", "REQUESTS_CA_BUNDLE": "<not set>", "SSL_CERT_FILE": "<not set>" }, "envs": [ "D:\\Anaconda2" ], "envs_dirs": [ "D:\\Anaconda2\\envs", "C:\\Users\\oyjjj\\AppData\\Local\\conda\\conda\\envs", "C:\\Users\\oyjjj\\.conda\\envs" ], "is_windows_admin": false, "netrc_file": null, "offline": false, "pkgs_dirs": [ "D:\\Anaconda2\\pkgs", "C:\\Users\\oyjjj\\AppData\\Local\\conda\\conda\\pkgs" ], "platform": "win-64", "python_version": "2.7.15.final.0", "rc_path": "C:\\Users\\oyjjj\\.condarc", "requests_version": "2.19.1", "root_prefix": "D:\\Anaconda2", "root_writable": true, "site_dirs": [], "sys.executable": "D:\\Anaconda2\\python.exe", "sys.prefix": "D:\\Anaconda2", "sys.version": "2.7.15 |Anaconda custom (64-bit)| (default, May 1 2018, 18:37:09) [MSC v.1500 64 bit (AMD64)]", "sys_rc_path": "D:\\Anaconda2\\.condarc", "user_agent": "conda/4.5.8 requests/2.19.1 CPython/2.7.15 Windows/10 Windows/10.0.17134", "user_rc_path": "C:\\Users\\oyjjj\\.condarc" }

But I still cannot open navigator. When I type in anaconda-navigator in Prompt, it shows:

Traceback (most recent call last): File "D:\Anaconda2\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 369, in _conda_info_processed processed_info = self._process_conda_info(info) File "D:\Anaconda2\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 553, in _process_conda_info for env_dir in info['envs_dirs']: KeyError: 'envs_dirs'

Then Prompt stuck. One icon of green circle also come out and stuck in the step of Adding featured channels.

goanpeca commented 6 years ago

@JingOY0610 not sure what is the cause, the output of conda info --json DOES include envs_dirs so not sure.

Try running in the Anaconda Prompt

anaconda-navigator --debug
JingOY0610 commented 6 years ago

Here it is the result of anaconda-navigator --debug.

`2018-07-17 11:25:59,384 - INFO logs.setup_logger:122 Setting up logger

2018-07-17 11:26:03,134 - INFO main_window.init:229 appusermodelid: 0

2018-07-17 11:26:04,214 - DEBUG conda_api.get_envs:597

2018-07-17 11:26:04,217 - DEBUG conda_api.environment_exists:1345 (None, u'D://Anaconda2')

2018-07-17 11:26:04,217 - DEBUG conda_api.linked:640 D:/Anaconda2

2018-07-17 11:26:04,223 - DEBUG conda_api.get_envs:597

2018-07-17 11:26:04,226 - DEBUG conda_api.environment_exists:1345 (None, u'D://Anaconda2')

2018-07-17 11:26:04,226 - DEBUG conda_api.linked:640 D:/Anaconda2

2018-07-17 11:26:04,226 - DEBUG conda_api.get_envs:597

2018-07-17 11:26:04,227 - DEBUG conda_api.environment_exists:1345 (None, u'D://Anaconda2')

2018-07-17 11:26:04,229 - DEBUG conda_api.linked:640 D:/Anaconda2

2018-07-17 11:26:04,230 - DEBUG conda_api.get_envs:597

2018-07-17 11:26:04,232 - DEBUG conda_api.environment_exists:1345 (None, u'D://Anaconda2')

2018-07-17 11:26:04,233 - DEBUG conda_api.linked:640 D:/Anaconda2

2018-07-17 11:26:04,244 - DEBUG anaconda_api.set_data_directory:180 data_directory: C:/Users/oyjjj/.anaconda/navigator/channels

2018-07-17 11:26:04,244 - DEBUG main_window.update_style_sheet:656

2018-07-17 11:26:04,539 - DEBUG anaconda_api.conda_config:447 prefix: D:/Anaconda2

2018-07-17 11:26:04,543 - DEBUG conda_api.start:310 D:/Anaconda2/python.exe D:/Anaconda2/Scripts/conda-script.py config --json --show

2018-07-17 11:26:04,556 - DEBUG anaconda_api.conda_data:360 prefix: D:/Anaconda2

2018-07-17 11:26:04,558 - DEBUG anaconda_api.load_bundled_metadata:1555

2018-07-17 11:26:04,612 - DEBUG conda_api.info:702

2018-07-17 11:26:04,614 - DEBUG conda_api.start:310 D:/Anaconda2/python.exe D:/Anaconda2/Scripts/conda-script.py info --json

2018-07-17 11:26:05,336 - DEBUG anaconda_api._config:450 output: {u'force': False, u'report_errors': None, u'custom_multichannels': {u'local': [], u'defaults': [{u'name': u'pkgs/main', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, {u'name': u'pkgs/free', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, {u'name': u'pkgs/r', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, {u'name': u'pkgs/pro', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, {u'name': u'pkgs/msys2', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}]}, u'shortcuts': True, u'envs_dirs': [u'D://Anaconda2//envs', u'C://Users//oyjjj//AppData//Local//conda//conda//envs', u'C://Users//oyjjj//.conda//envs'], u'max_shlvl': 2, u'aggressive_update_packages': [u'ca-certificates', u'certifi', u'openssl'], u'show_channel_urls': None, u'channels': [u'defaults'], u'pinned_packages': [], u'proxy_servers': {}, u'use_pip': True, u'non_admin_enabled': True, u'remote_max_retries': 3, u'client_ssl_cert': None, u'notify_outdated_conda': True, u'changeps1': True, u'disallowed_packages': [], u'channel_priority': True, u'json': True, u'migrated_channel_aliases': [], u'override_channels_enabled': True, u'always_copy': False, u'custom_channels': {u'pkgs/msys2': {u'name': u'pkgs/msys2', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, u'pkgs/r': {u'name': u'pkgs/r', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, u'pkgs/main': {u'name': u'pkgs/main', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, u'pkgs/pro': {u'name': u'pkgs/pro', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, u'pkgs/free': {u'name': u'pkgs/free', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}}, u'track_features': [], u'remote_read_timeout_secs': 60.0, u'offline': False, u'rollback_enabled': True, u'no_dependencies': False, u'always_softlink': False, u'local_repodata_ttl': 1, u'whitelist_channels': [], u'add_anaconda_token': True, u'client_ssl_cert_key': None, u'add_pip_as_python_dependency': True, u'default_channels': [{u'name': u'pkgs/main', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, {u'name': u'pkgs/free', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, {u'name': u'pkgs/r', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, {u'name': u'pkgs/pro', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, {u'name': u'pkgs/msys2', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}], u'safety_checks': u'warn', u'allow_non_channel_urls': False, u'ssl_verify': True, u'pkgs_dirs': [u'D://Anaconda2//pkgs', u'C://Users//oyjjj//AppData//Local//conda//conda//pkgs'], u'always_yes': None, u'channel_alias': {u'name': None, u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'conda.anaconda.org', u'scheme': u'https'}, u'remote_connect_timeout_secs': 9.15, u'download_only': False, u'create_default_packages': [], u'verbosity': 0, u'quiet': False, u'clobber': False, u'use_index_cache': False, u'allow_softlinks': False, u'path_conflict': u'clobber', u'anaconda_upload': None, u'auto_update_conda': True}, error:

2018-07-17 11:26:05,344 - DEBUG main_window.add_featured_channels:1568 conda_config: {'config': {u'force': False, u'report_errors': None, u'custom_multichannels': {u'local': [], u'defaults': [{u'name': u'pkgs/main', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, {u'name': u'pkgs/free', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, {u'name': u'pkgs/r', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, {u'name': u'pkgs/pro', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, {u'name': u'pkgs/msys2', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}]}, u'shortcuts': True, u'envs_dirs': [u'D://Anaconda2//envs', u'C://Users//oyjjj//AppData//Local//conda//conda//envs', u'C://Users//oyjjj//.conda//envs'], u'max_shlvl': 2, u'aggressive_update_packages': [u'ca-certificates', u'certifi', u'openssl'], u'show_channel_urls': None, u'channels': [u'defaults'], u'pinned_packages': [], u'proxy_servers': {}, u'use_pip': True, u'non_admin_enabled': True, u'remote_max_retries': 3, u'client_ssl_cert': None, u'notify_outdated_conda': True, u'changeps1': True, u'disallowed_packages': [], u'channel_priority': True, u'json': True, u'migrated_channel_aliases': [], u'override_channels_enabled': True, u'always_copy': False, u'custom_channels': {u'pkgs/msys2': {u'name': u'pkgs/msys2', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, u'pkgs/r': {u'name': u'pkgs/r', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, u'pkgs/main': {u'name': u'pkgs/main', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, u'pkgs/pro': {u'name': u'pkgs/pro', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, u'pkgs/free': {u'name': u'pkgs/free', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}}, u'track_features': [], u'remote_read_timeout_secs': 60.0, u'offline': False, u'rollback_enabled': True, u'no_dependencies': False, u'always_softlink': False, u'local_repodata_ttl': 1, u'whitelist_channels': [], u'add_anaconda_token': True, u'client_ssl_cert_key': None, u'add_pip_as_python_dependency': True, u'default_channels': [{u'name': u'pkgs/main', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, {u'name': u'pkgs/free', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, {u'name': u'pkgs/r', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, {u'name': u'pkgs/pro', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}, {u'name': u'pkgs/msys2', u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'repo.anaconda.com', u'scheme': u'https'}], u'safety_checks': u'warn', u'allow_non_channel_urls': False, u'ssl_verify': True, u'pkgs_dirs': [u'D://Anaconda2//pkgs', u'C://Users//oyjjj//AppData//Local//conda//conda//pkgs'], u'always_yes': None, u'channel_alias': {u'name': None, u'auth': None, u'package_filename': None, u'platform': None, u'token': None, u'location': u'conda.anaconda.org', u'scheme': u'https'}, u'remote_connect_timeout_secs': 9.15, u'download_only': False, u'create_default_packages': [], u'verbosity': 0, u'quiet': False, u'clobber': False, u'use_index_cache': False, u'allow_softlinks': False, u'path_conflict': u'clobber', u'anaconda_upload': None, u'auto_update_conda': True}}, error:

2018-07-17 11:26:05,346 - DEBUG main_window.set_splash:2542 message: Adding featured channels...

2018-07-17 11:26:05,358 - DEBUG main_window.api_url:839

2018-07-17 11:26:07,115 - DEBUG anaconda_api._conda_info_processed:367 info: {u/'exception_type/': u'<class /'conda.exceptions.EncodingError/'>', u/'message/': u'A unicode encoding or decoding error has occurred./nPython 2 is the interpreter under which conda is running in your base environment./nReplacing your base environment with one having Python 3 may help resolve this issue./nIf you still have a need for Python 2 environments, consider using /'conda create/'/nand /'conda activate/'. For example:/n/n $ conda create -n py2 python=2/n $ conda activate py2/n/nError details: UnicodeDecodeError(/'utf8/', /'D:////Anaconda2;D:////Anaconda2////Library////mingw-w64////bin;D:////Anaconda2////Library////usr////bin;D:////Anaconda2////Library////bin;D:////Anaconda2////Scripts;D:////Anaconda2////bin;C:////Program Files (x86)////Intel////iCLS Client////;D:////Oracle////root////software////bin;C:////Program Files////Intel////iCLS Client////;C:////windows////system32;C:////windows;C:////windows////System32////Wbem;C:////windows////System32////WindowsPowerShell////v1.0////;C:////Program Files (x86)////NVIDIA Corporation////PhysX////Common;C:////Program Files////Intel////IntelSGXPSW////bin////x64////Release////;C:////Program Files////Intel////IntelSGXPSW////bin////win32////Release////;D://////xc8//xed//xbc//xfe////QuickTime////QTSystem////;C:////WINDOWS////system32;C:////WINDOWS;C:////WINDOWS////System32////Wbem;C:////WINDOWS////System32////WindowsPowerShell////v1.0////;D://////xc8//xed//xbc//xfe////putty////;C:////Program Files////MySQL////MySQL Enterprise Backup 4.1////;C:////Program Files////MySQL////MySQL Utilities 1.6////;D://////xc8//xed//xbc//xfe////ultraedit;C:////Users////oyjjj////AppData////Local////Programs////Python////Python36;C:////Users////oyjjj////AppData////Local////Programs////Python////Python36////Scripts;C:////Program Files (x86)////Intel////Intel(R) Management Engine Components////DAL;C:////Program Files////Intel////Intel(R) Management Engine Components////DAL;C:////Program Files (x86)////Intel////Intel(R) Management Engine Components////IPT;C:////Program Files////Intel////Intel(R) Management Engine Components////IPT;C:////Program Files////Intel////WiFi////bin////;C:////Program Files////Common Files////Intel////WirelessCommon////;C:////WINDOWS////System32////OpenSSH////;C:////Program Files////Intel////WiFi////bin////;;C:////Users////oyjjj////AppData////Local////Microsoft////WindowsApps;D://////xc8//xed//xbc//xfe////wind////bin/////', 510, 511, /'invalid continuation byte/')/n/n', u/'caused_by/': u'UnicodeDecodeError(/'utf8/', /'D:////Anaconda2;D:////Anaconda2////Library////mingw-w64////bin;D:////Anaconda2////Library////usr////bin;D:////Anaconda2////Library////bin;D:////Anaconda2////Scripts;D:////Anaconda2////bin;C:////Program Files (x86)////Intel////iCLS Client////;D:////Oracle////root////software////bin;C:////Program Files////Intel////iCLS Client////;C:////windows////system32;C:////windows;C:////windows////System32////Wbem;C:////windows////System32////WindowsPowerShell////v1.0////;C:////Program Files (x86)////NVIDIA Corporation////PhysX////Common;C:////Program Files////Intel////IntelSGXPSW////bin////x64////Release////;C:////Program Files////Intel////IntelSGXPSW////bin////win32////Release////;D://////xc8//xed//xbc//xfe////QuickTime////QTSystem////;C:////WINDOWS////system32;C:////WINDOWS;C:////WINDOWS////System32////Wbem;C:////WINDOWS////System32////WindowsPowerShell////v1.0////;D://////xc8//xed//xbc//xfe////putty////;C:////Program Files////MySQL////MySQL Enterprise Backup 4.1////;C:////Program Files////MySQL////MySQL Utilities 1.6////;D://////xc8//xed//xbc//xfe////ultraedit;C:////Users////oyjjj////AppData////Local////Programs////Python////Python36;C:////Users////oyjjj////AppData////Local////Programs////Python////Python36////Scripts;C:////Program Files (x86)////Intel////Intel(R) Management Engine Components////DAL;C:////Program Files////Intel////Intel(R) Management Engine Components////DAL;C:////Program Files (x86)////Intel////Intel(R) Management Engine Components////IPT;C:////Program Files////Intel////Intel(R) Management Engine Components////IPT;C:////Program Files////Intel////WiFi////bin////;C:////Program Files////Common Files////Intel////WirelessCommon////;C:////WINDOWS////System32////OpenSSH////;C:////Program Files////Intel////WiFi////bin////;;C:////Users////oyjjj////AppData////Local////Microsoft////WindowsApps;D://////xc8//xed//xbc//xfe////wind////bin/////', 510, 511, /'invalid continuation byte/')', u/'exception_name/': u/'EncodingError/', u/'error/': u'EncodingError: A unicode encoding or decoding error has occurred./nPython 2 is the interpreter under which conda is running in your base environment./nReplacing your base environment with one having Python 3 may help resolve this issue./nIf you still have a need for Python 2 environments, consider using /'conda create/'/nand /'conda activate/'. For example:/n/n $ conda create -n py2 python=2/n $ conda activate py2/n/nError details: UnicodeDecodeError(/'utf8/', /'D:////Anaconda2;D:////Anaconda2////Library////mingw-w64////bin;D:////Anaconda2////Library////usr////bin;D:////Anaconda2////Library////bin;D:////Anaconda2////Scripts;D:////Anaconda2////bin;C:////Program Files (x86)////Intel////iCLS Client////;D:////Oracle////root////software////bin;C:////Program Files////Intel////iCLS Client////;C:////windows////system32;C:////windows;C:////windows////System32////Wbem;C:////windows////System32////WindowsPowerShell////v1.0////;C:////Program Files (x86)////NVIDIA Corporation////PhysX////Common;C:////Program Files////Intel////IntelSGXPSW////bin////x64////Release////;C:////Program Files////Intel////IntelSGXPSW////bin////win32////Release////;D://////xc8//xed//xbc//xfe////QuickTime////QTSystem////;C:////WINDOWS////system32;C:////WINDOWS;C:////WINDOWS////System32////Wbem;C:////WINDOWS////System32////WindowsPowerShell////v1.0////;D://////xc8//xed//xbc//xfe////putty////;C:////Program Files////MySQL////MySQL Enterprise Backup 4.1////;C:////Program Files////MySQL////MySQL Utilities 1.6////;D://////xc8//xed//xbc//xfe////ultraedit;C:////Users////oyjjj////AppData////Local////Programs////Python////Python36;C:////Users////oyjjj////AppData////Local////Programs////Python////Python36////Scripts;C:////Program Files (x86)////Intel////Intel(R) Management Engine Components////DAL;C:////Program Files////Intel////Intel(R) Management Engine Components////DAL;C:////Program Files (x86)////Intel////Intel(R) Management Engine Components////IPT;C:////Program Files////Intel////Intel(R) Management Engine Components////IPT;C:////Program Files////Intel////WiFi////bin////;C:////Program Files////Common Files////Intel////WirelessCommon////;C:////WINDOWS////System32////OpenSSH////;C:////Program Files////Intel////WiFi////bin////;;C:////Users////oyjjj////AppData////Local////Microsoft////WindowsApps;D://////xc8//xed//xbc//xfe////wind////bin/////', 510, 511, /'invalid continuation byte/')/n/n'}, error: D:/Anaconda2/python.exe D:/Anaconda2/Scripts/conda-script.py info --json: A unicode encoding or decoding error has occurred./nPython 2 is the interpreter under which conda is running in your base environment./nReplacing your base environment with one having Python 3 may help resolve this issue./nIf you still have a need for Python 2 environments, consider using /'conda create/'/nand /'conda activate/'. For example:/n/n $ conda create -n py2 python=2/n $ conda activate py2/n/nError details: UnicodeDecodeError(/'utf8/', /'D://Anaconda2;D://Anaconda2//Library//mingw-w64//bin;D://Anaconda2//Library//usr//bin;D://Anaconda2//Library//bin;D://Anaconda2//Scripts;D://Anaconda2//bin;C://Program Files (x86)//Intel//iCLS Client//;D://Oracle//root//software//bin;C://Program Files//Intel//iCLS Client//;C://windows//system32;C://windows;C://windows//System32//Wbem;C://windows//System32//WindowsPowerShell//v1.0//;C://Program Files (x86)//NVIDIA Corporation//PhysX//Common;C://Program Files//Intel//IntelSGXPSW//bin//x64//Release//;C://Program Files//Intel//IntelSGXPSW//bin//win32//Release//;D:///xc8/xed/xbc/xfe//QuickTime//QTSystem//;C://WINDOWS//system32;C://WINDOWS;C://WINDOWS//System32//Wbem;C://WINDOWS//System32//WindowsPowerShell//v1.0//;D:///xc8/xed/xbc/xfe//putty//;C://Program Files//MySQL//MySQL Enterprise Backup 4.1//;C://Program Files//MySQL//MySQL Utilities 1.6//;D:///xc8/xed/xbc/xfe//ultraedit;C://Users//oyjjj//AppData//Local//Programs//Python//Python36;C://Users//oyjjj//AppData//Local//Programs//Python//Python36//Scripts;C://Program Files (x86)//Intel//Intel(R) Management Engine Components//DAL;C://Program Files//Intel//Intel(R) Management Engine Components//DAL;C://Program Files (x86)//Intel//Intel(R) Management Engine Components//IPT;C://Program Files//Intel//Intel(R) Management Engine Components//IPT;C://Program Files//Intel//WiFi//bin//;C://Program Files//Common Files//Intel//WirelessCommon//;C://WINDOWS//System32//OpenSSH//;C://Program Files//Intel//WiFi//bin//;;C://Users//oyjjj//AppData//Local//Microsoft//WindowsApps;D:///xc8/xed/xbc/xfe//wind//bin///', 510, 511, /'invalid continuation byte/')/n/n

2018-07-17 11:26:07,141 - DEBUG anaconda_api._process_conda_info:548 info: {u/'exception_type/': u'<class /'conda.exceptions.EncodingError/'>', u/'message/': u'A unicode encoding or decoding error has occurred./nPython 2 is the interpreter under which conda is running in your base environment./nReplacing your base environment with one having Python 3 may help resolve this issue./nIf you still have a need for Python 2 environments, consider using /'conda create/'/nand /'conda activate/'. For example:/n/n $ conda create -n py2 python=2/n $ conda activate py2/n/nError details: UnicodeDecodeError(/'utf8/', /'D:////Anaconda2;D:////Anaconda2////Library////mingw-w64////bin;D:////Anaconda2////Library////usr////bin;D:////Anaconda2////Library////bin;D:////Anaconda2////Scripts;D:////Anaconda2////bin;C:////Program Files (x86)////Intel////iCLS Client////;D:////Oracle////root////software////bin;C:////Program Files////Intel////iCLS Client////;C:////windows////system32;C:////windows;C:////windows////System32////Wbem;C:////windows////System32////WindowsPowerShell////v1.0////;C:////Program Files (x86)////NVIDIA Corporation////PhysX////Common;C:////Program Files////Intel////IntelSGXPSW////bin////x64////Release////;C:////Program Files////Intel////IntelSGXPSW////bin////win32////Release////;D://////xc8//xed//xbc//xfe////QuickTime////QTSystem////;C:////WINDOWS////system32;C:////WINDOWS;C:////WINDOWS////System32////Wbem;C:////WINDOWS////System32////WindowsPowerShell////v1.0////;D://////xc8//xed//xbc//xfe////putty////;C:////Program Files////MySQL////MySQL Enterprise Backup 4.1////;C:////Program Files////MySQL////MySQL Utilities 1.6////;D://////xc8//xed//xbc//xfe////ultraedit;C:////Users////oyjjj////AppData////Local////Programs////Python////Python36;C:////Users////oyjjj////AppData////Local////Programs////Python////Python36////Scripts;C:////Program Files (x86)////Intel////Intel(R) Management Engine Components////DAL;C:////Program Files////Intel////Intel(R) Management Engine Components////DAL;C:////Program Files (x86)////Intel////Intel(R) Management Engine Components////IPT;C:////Program Files////Intel////Intel(R) Management Engine Components////IPT;C:////Program Files////Intel////WiFi////bin////;C:////Program Files////Common Files////Intel////WirelessCommon////;C:////WINDOWS////System32////OpenSSH////;C:////Program Files////Intel////WiFi////bin////;;C:////Users////oyjjj////AppData////Local////Microsoft////WindowsApps;D://////xc8//xed//xbc//xfe////wind////bin/////', 510, 511, /'invalid continuation byte/')/n/n', u/'caused_by/': u'UnicodeDecodeError(/'utf8/', /'D:////Anaconda2;D:////Anaconda2////Library////mingw-w64////bin;D:////Anaconda2////Library////usr////bin;D:////Anaconda2////Library////bin;D:////Anaconda2////Scripts;D:////Anaconda2////bin;C:////Program Files (x86)////Intel////iCLS Client////;D:////Oracle////root////software////bin;C:////Program Files////Intel////iCLS Client////;C:////windows////system32;C:////windows;C:////windows////System32////Wbem;C:////windows////System32////WindowsPowerShell////v1.0////;C:////Program Files (x86)////NVIDIA Corporation////PhysX////Common;C:////Program Files////Intel////IntelSGXPSW////bin////x64////Release////;C:////Program Files////Intel////IntelSGXPSW////bin////win32////Release////;D://////xc8//xed//xbc//xfe////QuickTime////QTSystem////;C:////WINDOWS////system32;C:////WINDOWS;C:////WINDOWS////System32////Wbem;C:////WINDOWS////System32////WindowsPowerShell////v1.0////;D://////xc8//xed//xbc//xfe////putty////;C:////Program Files////MySQL////MySQL Enterprise Backup 4.1////;C:////Program Files////MySQL////MySQL Utilities 1.6////;D://////xc8//xed//xbc//xfe////ultraedit;C:////Users////oyjjj////AppData////Local////Programs////Python////Python36;C:////Users////oyjjj////AppData////Local////Programs////Python////Python36////Scripts;C:////Program Files (x86)////Intel////Intel(R) Management Engine Components////DAL;C:////Program Files////Intel////Intel(R) Management Engine Components////DAL;C:////Program Files (x86)////Intel////Intel(R) Management Engine Components////IPT;C:////Program Files////Intel////Intel(R) Management Engine Components////IPT;C:////Program Files////Intel////WiFi////bin////;C:////Program Files////Common Files////Intel////WirelessCommon////;C:////WINDOWS////System32////OpenSSH////;C:////Program Files////Intel////WiFi////bin////;;C:////Users////oyjjj////AppData////Local////Microsoft////WindowsApps;D://////xc8//xed//xbc//xfe////wind////bin/////', 510, 511, /'invalid continuation byte/')', u/'exception_name/': u/'EncodingError/', u/'error/': u'EncodingError: A unicode encoding or decoding error has occurred./nPython 2 is the interpreter under which conda is running in your base environment./nReplacing your base environment with one having Python 3 may help resolve this issue./nIf you still have a need for Python 2 environments, consider using /'conda create/'/nand /'conda activate/'. For example:/n/n $ conda create -n py2 python=2/n $ conda activate py2/n/nError details: UnicodeDecodeError(/'utf8/', /'D:////Anaconda2;D:////Anaconda2////Library////mingw-w64////bin;D:////Anaconda2////Library////usr////bin;D:////Anaconda2////Library////bin;D:////Anaconda2////Scripts;D:////Anaconda2////bin;C:////Program Files (x86)////Intel////iCLS Client////;D:////Oracle////root////software////bin;C:////Program Files////Intel////iCLS Client////;C:////windows////system32;C:////windows;C:////windows////System32////Wbem;C:////windows////System32////WindowsPowerShell////v1.0////;C:////Program Files (x86)////NVIDIA Corporation////PhysX////Common;C:////Program Files////Intel////IntelSGXPSW////bin////x64////Release////;C:////Program Files////Intel////IntelSGXPSW////bin////win32////Release////;D://////xc8//xed//xbc//xfe////QuickTime////QTSystem////;C:////WINDOWS////system32;C:////WINDOWS;C:////WINDOWS////System32////Wbem;C:////WINDOWS////System32////WindowsPowerShell////v1.0////;D://////xc8//xed//xbc//xfe////putty////;C:////Program Files////MySQL////MySQL Enterprise Backup 4.1////;C:////Program Files////MySQL////MySQL Utilities 1.6////;D://////xc8//xed//xbc//xfe////ultraedit;C:////Users////oyjjj////AppData////Local////Programs////Python////Python36;C:////Users////oyjjj////AppData////Local////Programs////Python////Python36////Scripts;C:////Program Files (x86)////Intel////Intel(R) Management Engine Components////DAL;C:////Program Files////Intel////Intel(R) Management Engine Components////DAL;C:////Program Files (x86)////Intel////Intel(R) Management Engine Components////IPT;C:////Program Files////Intel////Intel(R) Management Engine Components////IPT;C:////Program Files////Intel////WiFi////bin////;C:////Program Files////Common Files////Intel////WirelessCommon////;C:////WINDOWS////System32////OpenSSH////;C:////Program Files////Intel////WiFi////bin////;;C:////Users////oyjjj////AppData////Local////Microsoft////WindowsApps;D://////xc8//xed//xbc//xfe////wind////bin/////', 510, 511, /'invalid continuation byte/')/n/n'}

Traceback (most recent call last): File "D:\Anaconda2\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 369, in _conda_info_processed processed_info = self._process_conda_info(info) File "D:\Anaconda2\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 553, in _process_conda_info for env_dir in info['envs_dirs']: KeyError: 'envs_dirs' 2018-07-17 11:26:07,165 - DEBUG conda_api.communicate:294 error`

goanpeca commented 6 years ago

There is still an error somewhere

see

UnicodeDecodeError(/'utf8/', /'D:////Anaconda2;D:////Anaconda2////Library////mingw-w64////bin;D:////Anaconda2////Library////usr////bin;D:////Anaconda2////Library////bin;D:////Anaconda2////Scripts;D:////Anaconda2////bin;C:////Program Files (x86)////Intel////iCLS Client////;D:////Oracle////root////software////bin;C:////Program Files////Intel////iCLS Client////;C:////windows////system32;C:////windows;C:////windows////System32////Wbem;C:////windows////System32////WindowsPowerShell////v1.0////;C:////Program Files (x86)////NVIDIA Corporation////PhysX////Common;C:////Program Files////Intel////IntelSGXPSW////bin////x64////Release////;C:////Program Files////Intel////IntelSGXPSW////bin////win32////Release////;D://////xc8//xed//xbc//xfe////QuickTime////QTSystem////;C:////WINDOWS////system32;C:////WINDOWS;C:////WINDOWS////System32////Wbem;C:////WINDOWS////System32////WindowsPowerShell////v1.0////;D://////xc8//xed//xbc//xfe////putty////;C:////Program Files////MySQL////MySQL Enterprise Backup 4.1////;C:////Program Files////MySQL////MySQL Utilities 1.6////;D://////xc8//xed//xbc//xfe////ultraedit;C:////Users////oyjjj////AppData////Local////Programs////Python////Python36;C:////Users////oyjjj////AppData////Local////Programs////Python////Python36////Scripts;C:////Program Files (x86)////Intel////Intel(R) Management Engine Components////DAL;C:////Program Files////Intel////Intel(R) Management Engine Components////DAL;C:////Program Files (x86)////Intel////Intel(R) Management Engine Components////IPT;C:////Program Files////Intel////Intel(R) Management Engine Components////IPT;C:////Program Files////Intel////WiFi////bin////;C:////Program Files////Common Files////Intel////WirelessCommon////;C:////WINDOWS////System32////OpenSSH////;C:////Program Files////Intel////WiFi////bin////;;C:////Users////oyjjj////AppData////Local////Microsoft////WindowsApps;D://////xc8//xed//xbc//xfe////wind////bin/////', 510, 511, /'invalid continuation byte/')/n/n

JingOY0610 commented 6 years ago

How should I fix that?

goanpeca commented 6 years ago

Look for entries that contain something weird

`D://////xc8//xed//xbc//xfe////wind////bin//// and erase them until navigator starts