Open Iegorush opened 5 years ago
@Iegorush what if you try opening the anaconda prompt and running from there?
anaconda-navigator
Or in debug mode by including that flag
anaconda-navigator --debug
@goanpeca Thank you for the answer! I was thinking about solving my issue and tried to install anaconda3 so that later I can create separate environment on Python 2.7. And as far as I can tell, it's all working fine :D
Actual Behavior
I cannot run Anaconda Navigator. I tried 2 different methods and get 2 different error messages. First, if trying to start Navigator from Windows Start menu:
Traceback (most recent call last): File "C:\Users\Igor\Anaconda2\lib\site-packages\anaconda_navigator\exceptions.py", line 75, in exception_handler return_value = func(*args, **kwargs) File "C:\Users\Igor\Anaconda2\lib\site-packages\anaconda_navigator\app\start.py", line 150, in start_app window = run_app(splash) File "C:\Users\Igor\Anaconda2\lib\site-packages\anaconda_navigator\app\start.py", line 65, in run_app window = MainWindow(splash=splash, tab_project=False) File "C:\Users\Igor\Anaconda2\lib\site-packages\anaconda_navigator\widgets\main_window.py", line 168, in init self.api = AnacondaAPI() File "C:\Users\Igor\Anaconda2\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 2294, in AnacondaAPI ANACONDA_API = _AnacondaAPI() File "C:\Users\Igor\Anaconda2\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 91, in init self._conda_api = CondaAPI() File "C:\Users\Igor\Anaconda2\lib\site-packages\anaconda_navigator\api\conda_api.py", line 1767, in CondaAPI CONDA_API = _CondaAPI() File "C:\Users\Igor\Anaconda2\lib\site-packages\anaconda_navigator\api\conda_api.py", line 353, in init self.sys_rc_path = join(self.ROOT_PREFIX, '.condarc') File "C:\Users\Igor\Anaconda2\lib\ntpath.py", line 65, in join result_drive, result_path = splitdrive(path) File "C:\Users\Igor\Anaconda2\lib\ntpath.py", line 115, in splitdrive if len(p) > 1: TypeError: object of type 'NoneType' has no len()
And second, if trying to start Navigator from Anaconda Prompt:
Traceback (most recent call last): File "C:\Users\Igor\Anaconda2\lib\site-packages\anaconda_navigator\exceptions.py", line 75, in exception_handler return_value = func(*args, **kwargs) File "C:\Users\Igor\Anaconda2\lib\site-packages\anaconda_navigator\app\start.py", line 150, in start_app window = run_app(splash) File "C:\Users\Igor\Anaconda2\lib\site-packages\anaconda_navigator\app\start.py", line 65, in run_app window = MainWindow(splash=splash, tab_project=False) File "C:\Users\Igor\Anaconda2\lib\site-packages\anaconda_navigator\widgets\main_window.py", line 168, in init self.api = AnacondaAPI() File "C:\Users\Igor\Anaconda2\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 2294, in AnacondaAPI ANACONDA_API = _AnacondaAPI() File "C:\Users\Igor\Anaconda2\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 91, in init self._conda_api = CondaAPI() File "C:\Users\Igor\Anaconda2\lib\site-packages\anaconda_navigator\api\conda_api.py", line 1767, in CondaAPI CONDA_API = _CondaAPI() File "C:\Users\Igor\Anaconda2\lib\site-packages\anaconda_navigator\api\conda_api.py", line 350, in init self.set_conda_prefix(info=get_conda_info()) File "C:\Users\Igor\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'
Tried to uninstall and install in different folders - same results.
Expected Behavior
Anaconda Navigator should load, right?
Steps to Reproduce
Install Anaconda.
Anaconda or Miniconda version:
Anaconda 5.3
Operating System:
Win 10 Pro 1803
conda info
conda list --show-channel-urls