Navigator Error (An unexpected error occurred on Navigator start-up)

Dear all, Can’t launch Anaconda Navigator after installation. See the error message below:

Main Error

‘list’ object has no attribute ‘get’

Traceback

Traceback (most recent call last):
File “C:\Users\username\Anaconda3\lib\site-packages\anaconda_navigator\exceptions.py”, line 72, in exception_handler
return_value = func(*args, **kwargs)
File “C:\Users\username\Anaconda3\lib\site-packages\anaconda_navigator\app\start.py”, line 151, in start_app
window = run_app(splash)
File “C:\Users\username\Anaconda3\lib\site-packages\anaconda_navigator\app\start.py”, line 66, in run_app
window = MainWindow(splash=splash)
File “C:\Users\username\Anaconda3\lib\site-packages\anaconda_navigator\widgets\main_window_init_.py”, line 235, in init
self.api = AnacondaAPI()
File “C:\Users\username\Anaconda3\lib\site-packages\anaconda_navigator\api\anaconda_api.py”, line 1442, in AnacondaAPI
ANACONDA_API = _AnacondaAPI()
File “C:\Users\username\Anaconda3\lib\site-packages\anaconda_navigator\api\anaconda_api.py”, line 79, in init
self._conda_api = CondaAPI()
File “C:\Users\username\Anaconda3\lib\site-packages\anaconda_navigator\api\conda_api.py”, line 1813, in CondaAPI
CONDA_API = _CondaAPI()
File “C:\Users\username\Anaconda3\lib\site-packages\anaconda_navigator\api\conda_api.py”, line 495, in init
self.set_conda_prefix(info=get_conda_info())
File “C:\Users\username\Anaconda3\lib\site-packages\anaconda_navigator\api\conda_api.py”, line 655, in set_conda_prefix
self.ROOT_PREFIX = info.get(‘root_prefix’) # str
AttributeError: ‘list’ object has no attribute ‘get’

Hi, does the problem still persist? To help you, its helpful to know a bit more about your conda installation. Can you post the outputs of the following two commands here?

conda info

conda config --show

Use code blocks to paste the output for readability (start and end a code block with triple backward single quotes)

Hi again,

Please see attched.

Conda config output:

PS C:\Windows\system32> conda config --show
[0x7FFF985762D0] ANOMALY: meaningless REX prefix used
[0x7FFF98548B00] ANOMALY: meaningless REX prefix used
[0x7FFF98B87E30] ANOMALY: meaningless REX prefix used
add_anaconda_token: True
add_pip_as_python_dependency: True
aggressive_update_packages:

  • ca-certificates
  • certifi
  • openssl
    allow_conda_downgrades: False
    allow_cycles: True
    allow_non_channel_urls: False
    allow_softlinks: False
    always_copy: False
    always_softlink: False
    always_yes: None
    anaconda_upload: None
    auto_activate_base: True
    auto_stack: 0
    auto_update_conda: True
    bld_path:
    changeps1: True
    channel_alias:
    channel_priority: flexible
    channels:
  • defaults
    client_ssl_cert: None
    client_ssl_cert_key: None
    clobber: False
    conda_build: {}
    create_default_packages:
    croot: C:\ProgramData\Anaconda3\conda-bld
    custom_channels:
    pkgs/main:
    pkgs/r:
    pkgs/msys2:
    pkgs/pro:
    custom_multichannels:
    defaults:

local:
debug: False
default_channels:

default_python: 3.9
default_threads: None
deps_modifier: not_set
dev: False
disallowed_packages:
download_only: False
dry_run: False
enable_private_envs: False
env_prompt: ({default_env})
envs_dirs:

  • C:\ProgramData\Anaconda3\envs
  • C:\Users\user.conda\envs
  • C:\Users\user\AppData\Local\conda\conda\envs
    error_upload_url:
    execute_threads: 1
    extra_safety_checks: False
    force: False
    force_32bit: False
    force_reinstall: False
    force_remove: False
    ignore_pinned: False
    json: False
    local_repodata_ttl: 1
    migrated_channel_aliases:
    migrated_custom_channels: {}
    non_admin_enabled: True
    notify_outdated_conda: True
    offline: False
    override_channels_enabled: True
    path_conflict: clobber
    pinned_packages:
    pip_interop_enabled: False
    pkgs_dirs:
  • C:\ProgramData\Anaconda3\pkgs
  • C:\Users\user.conda\pkgs
  • C:\Users\user\AppData\Local\conda\conda\pkgs
    proxy_servers: {}
    quiet: False
    remote_backoff_factor: 1
    remote_connect_timeout_secs: 9.15
    remote_max_retries: 3
    remote_read_timeout_secs: 60.0
    repodata_fns:
  • current_repodata.json
  • repodata.json
    repodata_threads: None
    report_errors: None
    restore_free_channel: False
    rollback_enabled: True
    root_prefix: C:\ProgramData\Anaconda3
    safety_checks: warn
    sat_solver: pycosat
    separate_format_cache: False
    shortcuts: True
    show_channel_urls: None
    signing_metadata_url_base: None
    solver_ignore_timestamps: False
    ssl_verify: True
    subdir: win-64
    subdirs:
  • win-64
  • noarch
    target_prefix_override:
    track_features:
    unsatisfiable_hints: True
    unsatisfiable_hints_check_depth: 2
    update_modifier: update_specs
    use_index_cache: False
    use_local: False
    use_only_tar_bz2: False
    verbosity: 0
    verify_threads: 1
    whitelist_channels:

The following:

[0x7FFF985762D0] ANOMALY: meaningless REX prefix used
[0x7FFF98548B00] ANOMALY: meaningless REX prefix used
[0x7FFF98B87E30] ANOMALY: meaningless REX prefix used

Is causing your issue. Anaconda navigator internally runs the conda info command and parses the output. But because of these warnings, the output cannot be parsed as it will no longer be valid JSON/YAML.

You should try to google “ANOMALY: meaningless REX prefix used”. However, the answers are not clearly pointing at one problem.

This post:

Points at AMD’s Raptr software. Do you have an AMD graphics card? Try to update the drivers. If that doesn’t work, but you’re not using the Raptr software itself, you could try to uninstall that component through an AMD installer/uninstaller.

http://www.os2museum.com/wp/anomaly-meaningless-rex-prefix-used/

This page also points at Raptr software - but also argues that there may be other software implementing the same mistakes as in Raptr.

Anyway, hope this helps you!

Thank you very much indeed.

This very ANOMALY error is confusing. And hopefully there is a fix for that.
No, we actually have tested the same software on different machines (on 12 different virtual and physical machines) and not all of them are using AMD graphic card. I hardly believe this can be graphic card-related issue. Let me elaborate on this issue a little more:
This problem only occurs on domain computers that are heavily under different kind of anti-virus protections, bunch of restrictive policies and prohibitions applied on those machines. And I actually came across the statement that says it could be an anti-virus software that may cause this problem. At least two deep-scanning anti-virus software installed. On non-domain computers it works without any issue whether the computer online or offline. Even without the particular updates for Anaconda Navigator. It just works as expected. So all the suspects go to those restrictions/anti-virus software that have been applied to domain machines. I’ll try to escalate the case to the relevant department and have those software to be turned off temporarily. And if needed to re-install the Anaconda.
Would like to have your thoughts on this method.
Also, not sure if this is relevant to the case. On those computers there are
“DameWare Development Mirror Driver 64-bit Driver” installed as well.

It seems your problems are not due to the AMD Raptr software then. Good luck, I hope you can get your IT team to at least try some changes in order to find the culprit!

For the rest, I wouldn’t know what kind of software causes these warnings, or why. I just noted the warnings, checked the get_conda_info() function (you can just look that up in the site-packages folder), and realized that the warnings will prevent correctly parsing the output from conda info. I quickly googled the warnings and stumbled upon information pointing to AMD Raptr and some mentions of anti-virus software.

But I’m happy I was able to get you a bit closer to the problem and, hopefully, the solution.

1 Like

Thank you!

Will definitely update you in case there is any solid or workaround solution for this.

Hello again,
I would like to share another strange behaviour of this application. While installing it I can see lots of ANOMALY errors. Please see the output below:
_
Output folder: C:\ProgramData\Anaconda3\Lib
Extract: _nsis.py
Extract: _system_path.py
Output folder: C:\ProgramData\Anaconda3\conda-meta
Extract: history
Output folder: C:\ProgramData\Anaconda3
Extract: _conda.exe
Output folder: C:\ProgramData\Anaconda3\pkgs
Extract: env.txt
Extract: urls
Extract: urls.txt
Extract: post_install.bat
Extract: pre_uninstall.bat
Extract: .cio-config.py
Output folder: C:\ProgramData\Anaconda3\pkgs\cache
Extract: 1120365f.json
Extract: 3e39a7aa.json
Extract: 4ea078d6.json
Extract: 59ba4880.json
Extract: 5ca77eed.json
Extract: 5fa16146.json
Extract: 920c960f.json
Extract: c4a505b4.json
Output folder: C:\ProgramData\Anaconda3\pkgs
Output folder: C:\ProgramData\Anaconda3\pkgs_ipyw_jlab_nb_ext_conf-0.1.0-py39haa95532_0\info
Extract: repodata_record.json
cffi-1.14.6-py39h2bbff1b_0.conda: 10%|9 | 36/363 [01:31<16:18, 2.99s/it] ild-3.21.6-py39haa95532_0.conda: 13%|#2 | 46/363 [01:31<15:48, 2.99s/it]t]: dataclasses-0.8-pyh6d0b6a4_7.conda: 18%|#8 | 66/363 [01:31<14:48, 2.99s/it] filelock-3.3.1-pyhd3eb1b0_1.conda: 21%|## | 76/363 [01:31<14:18, 2.99s/it] .conda: 24%|##3 | 86/363 [01:31<13:48, 2.99s/it] -py_0.conda: 32%|###2 | 117/363 [02:11<04:15, 1.04s/it]: lazy-object-proxy-1.6.0-py39h2bbff1b_0.conda: 35%|###4 | 127/363 [02:11<04:04, 1.04s/it]a: 38%|###7 | 137/363 [02:11<03:54, 1.04s/it]/it] 4<02:04, 1.60it/s]363 [02:24<01:58, 1.60it/s] l-h2bbff1b_0.conda: 51%|##### | 185/363 [03:04<03:15, 1.10s/it] 95532_0.conda: 54%|#####3 | 196/363 [03:37<04:04, 1.46s/it]6/363 [03:37<03:49, 1.46s/it] 63 [03:37<03:34, 1.46s/it] 46s/it]03:04, 1.54s/it]8.3-py39hf11a4ad_0.conda: 72%|#######1 | 260/363 [05:41<03:50, 2.24s/it] 08, 2.24s/it]nda: 80%|#######9 | 289/363 [05:41<02:45, 2.24s/it]#2 | 299/363 [05:41<02:23, 2.24s/it] /363 [05:41<02:00, 2.24s/it] ###7 | 319/363 [05:41<01:38, 2.24s/it] 91%|######### | 329/363 [05:41<01:16, 2.24s/it] ###6| 349/363 [05:41<00:31, 2.24s/it] sphinxcontrib-jsmath-1.0.1-pyhd3eb1b0_0.tar.bz2: 99%|#########8| 359/363 [05:41<00:08, 2.24s/it] [0x7FFD5F1E62D0] ANOMALY: meaningless REX prefix used
[0x7FFD5F1B8B00] ANOMALY: meaningless REX prefix used
[0x7FFD5FDE7E30] ANOMALY: meaningless REX prefix used
[0x7FFD5F1E62D0] ANOMALY: meaningless REX prefix used
[0x7FFD5F1B8B00] ANOMALY: meaningless REX prefix used
[0x7FFD5FDE7E30] ANOMALY: meaningless REX prefix used
[0x7FFD5F1E62D0] ANOMALY: meaningless REX prefix used
[0x7FFD5F1B8B00] ANOMALY: meaningless REX prefix used
[0x7FFD5FDE7E30] ANOMALY: meaningless REX prefix used
[0x7FFD5F1E62D0] ANOMALY: meaningless REX prefix used
[0x7FFD5F1B8B00] ANOMALY: meaningless REX prefix used
[0x7FFD5FDE7E30] ANOMALY: meaningless REX prefix used
[0x7FFD5F1E62D0] ANOMALY: meaningless REX prefix used
[0x7FFD5F1B8B00] ANOMALY: meaningless REX prefix used
[0x7FFD5FDE7E30] ANOMALY: meaningless REX prefix used
[0x7FFD5F1E62D0] ANOMALY: meaningless REX prefix used
[0x7FFD5F1B8B00] ANOMALY: meaningless REX prefix used
[0x7FFD5FDE7E30] ANOMALY: meaningless REX prefix used
[0x7FFD5F1E62D0] ANOMALY: meaningless REX prefix used
[0x7FFD5F1B8B00] ANOMALY: meaningless REX prefix used
[0x7FFD5FDE7E30] ANOMALY: meaningless REX prefix used
[0x7FFD5F1E62D0] ANOMALY: meaningless REX prefix used
[0x7FFD5F1B8B00] ANOMALY: meaningless REX prefix used
[0x7FFD5FDE7E30] ANOMALY: meaningless REX prefix used
[0x7FFD5F1E62D0] ANOMALY: meaningless REX prefix used
[0x7FFD5F1B8B00] ANOMALY: meaningless REX prefix used
[0x7FFD5FDE7E30] ANOMALY: meaningless REX prefix used
Collecting package metadata (current_repodata.json): …working… done
Solving environment: …working… done

Package Plan

environment location: C:\ProgramData\Anaconda3

Preparing transaction: …working… done
Executing transaction: …working… WARNING conda.core.envs_manager:register_env(50): Unable to register environment. Path not writable or missing.
environment location: C:\ProgramData\Anaconda3
registry file: C:\Users\easgarov.conda\environments.txt
DEBUG menuinst_win32:init(199): Menu: name: ‘Anaconda${PY_VER} ${PLATFORM}’, prefix: ‘C:\ProgramData\Anaconda3’, env_name: ‘Anaconda3’, mode: ‘system’, used_mode: ‘system’
DEBUG menuinst_win32:create(325): Shortcut cmd is %windir%\System32\cmd.exe, args are [’"/K"’, ‘C:\ProgramData\Anaconda3\Scripts\activate.bat’, ‘C:\ProgramData\Anaconda3’]
DEBUG menuinst_win32:init(199): Menu: name: ‘Anaconda${PY_VER} ${PLATFORM}’, prefix: ‘C:\ProgramData\Anaconda3’, env_name: ‘Anaconda3’, mode: ‘system’, used_mode: ‘system’
DEBUG menuinst_win32:create(325): Shortcut cmd is %windir%\System32\WindowsPowerShell\v1.0\powershell.exe, args are [’-ExecutionPolicy’, ‘ByPass’, ‘-NoExit’, ‘-Command’, ‘"& ‘C:\ProgramData\Anaconda3\shell\condabin\conda-hook.ps1’ ; conda activate ‘C:\ProgramData\Anaconda3’ "’]
DEBUG menuinst_win32:init(199): Menu: name: ‘Anaconda${PY_VER} ${PLATFORM}’, prefix: ‘C:\ProgramData\Anaconda3’, env_name: ‘Anaconda3’, mode: ‘system’, used_mode: ‘system’
DEBUG menuinst_win32:create(325): Shortcut cmd is C:\ProgramData\Anaconda3\pythonw.exe, args are [‘C:\ProgramData\Anaconda3\cwp.py’, ‘C:\ProgramData\Anaconda3’, ‘C:\ProgramData\Anaconda3\pythonw.exe’, ‘C:\ProgramData\Anaconda3\Scripts\anaconda-navigator-script.py’]
DEBUG menuinst_win32:init(199): Menu: name: ‘Anaconda${PY_VER} ${PLATFORM}’, prefix: ‘C:\ProgramData\Anaconda3’, env_name: ‘Anaconda3’, mode: ‘system’, used_mode: ‘system’
DEBUG menuinst_win32:create(325): Shortcut cmd is C:\ProgramData\Anaconda3\python.exe, args are [‘C:\ProgramData\Anaconda3\cwp.py’, ‘C:\ProgramData\Anaconda3’, ‘C:\ProgramData\Anaconda3\python.exe’, ‘C:\ProgramData\Anaconda3\Scripts\jupyter-notebook-script.py’, ‘"%USERPROFILE%/"’]
DEBUG menuinst_win32:init(199): Menu: name: ‘Anaconda${PY_VER} ${PLATFORM}’, prefix: ‘C:\ProgramData\Anaconda3’, env_name: ‘Anaconda3’, mode: ‘system’, used_mode: ‘system’
DEBUG menuinst_win32:create(325): Shortcut cmd is C:\ProgramData\Anaconda3\pythonw.exe, args are [‘C:\ProgramData\Anaconda3\cwp.py’, ‘C:\ProgramData\Anaconda3’, ‘C:\ProgramData\Anaconda3\pythonw.exe’, ‘C:\ProgramData\Anaconda3\Scripts\spyder-script.py’]
DEBUG menuinst_win32:create(325): Shortcut cmd is C:\ProgramData\Anaconda3\python.exe, args are [‘C:\ProgramData\Anaconda3\cwp.py’, ‘C:\ProgramData\Anaconda3’, ‘C:\ProgramData\Anaconda3\python.exe’, ‘C:\ProgramData\Anaconda3\Scripts\spyder-script.py’, ‘–reset’]

Windows 64-bit packages of scikit-learn can be accelerated using scikit-learn-intelex.
More details are available here: https://intel.github.io/scikit-learn-intelex

For example:

    $ conda install scikit-learn-intelex
    $ python -m sklearnex my_application.py

done
[0x7FFD5F1E62D0] ANOMALY: meaningless REX prefix used
[0x7FFD5F1B8B00] ANOMALY: meaningless REX prefix used
[0x7FFD5FDE7E30] ANOMALY: meaningless REX prefix used
Delete file: C:\ProgramData\Anaconda3\pkgs\env.txt
Output folder: C:\ProgramData\Anaconda3\conda-meta
Extract: history
Creating Anaconda3 menus…

As I understand from several StackOverflow posts and other info from internet, there is something interfering with either the output to your shell, or something interfering with the rendering of the output/shell.

What I can think of:

  1. Try another shell (cmd.exe instead of powershell)
  2. Update/change your graphics card drivers
  3. Try to disable anti virus (close down the process altogether via task manager)

Good luck!

1 Like

Hello again. I’m back after long and painful tests) But this time with good news.

It was not the antivirus that caused this issue. Well, at least not the visible and obvious antivirus software. On these machines there are plenty of other hidden and silent applications that scans them all the time. In our case it was ObserveIT software. This tool blocks Anaconda Navigator immediately after it’s installed on a machine. Even on non-domain machines. Tested on two different computers so far. It is definitely it. So the conclusion will be:
Whenever you see such errors even when installing the software the usual suspect should be antivirus software/ screen scanners/keyloggers and etc.
Hope this helps.
Thank you very much for your assistance on this matter.

UPDATE from ObserveIT Support. The solutions works for us:

Let’s try this process with a small configuration change:

Please use the below steps:

  • From the Agent machine , please navigate to C:\Program Files\ObserveIT\ObserveITAgent\bin\rcdcl.exe.config

Please edit this file with a text editor (Notepad Etc …)

Under the

Please add the following Tags

This is how it should look:

Please save the rcdcl.exe.config file.

  • Please navigate to C:\Program Files\ObserveIT\ObserveITAgent\bin\rcdsvc.exe.config

Please edit this file with a text editor (Notepad Etc …)

Under the

Please add the following Tag

This is how it should look:

Please save the rcdscv.exe.config file.

Restart the Agent Machine and Start the Anaconda Navigator again.

Where I can find out the solution?