Skip to content
Advertisement

How to resolve the Error in anaconda start up?

Few days ago, Anaconda Navigator used to work fine but now it won’t open; I’ve even reinstalled the navigator but still getting the same issue.

Here is the error message

Navigator Error:

An unexpected error occurred on Navigator start-up

Main Error

unacceptable character #x0000: special characters are not allowed
  in "C:Usershome.continuumanaconda-clientconfig.yaml", position 0

Traceback

Traceback (most recent call last):
  File "C:Usershomeanaconda3libsite-packagesanaconda_navigatorexceptions.py", line 72, in exception_handler
    return_value = func(*args, **kwargs)
  File "C:Usershomeanaconda3libsite-packagesanaconda_navigatorappstart.py", line 146, in start_app
    window = run_app(splash)
  File "C:Usershomeanaconda3libsite-packagesanaconda_navigatorappstart.py", line 65, in run_app
    window = MainWindow(splash=splash)
  File "C:Usershomeanaconda3libsite-packagesanaconda_navigatorwidgetsmain_window.py", line 165, in __init__
    self.api = AnacondaAPI()
  File "C:Usershomeanaconda3libsite-packagesanaconda_navigatorapianaconda_api.py", line 1518, in AnacondaAPI
    ANACONDA_API = _AnacondaAPI()
  File "C:Usershomeanaconda3libsite-packagesanaconda_navigatorapianaconda_api.py", line 83, in __init__
    self._client_api = ClientAPI(config=self.config)
  File "C:Usershomeanaconda3libsite-packagesanaconda_navigatorapiclient_api.py", line 659, in ClientAPI
    CLIENT_API = _ClientAPI(config=config)
  File "C:Usershomeanaconda3libsite-packagesanaconda_navigatorapiclient_api.py", line 95, in __init__
    self.reload_client()
  File "C:Usershomeanaconda3libsite-packagesanaconda_navigatorapiclient_api.py", line 322, in reload_client
    url = binstar_client.utils.get_config()['url']
  File "C:Usershomeanaconda3libsite-packagesbinstar_clientutilsconfig.py", line 249, in get_config
    file_configs = load_file_configs(SEARCH_PATH)
  File "C:Usershomeanaconda3libsite-packagesbinstar_clientutilsconfig.py", line 241, in load_file_configs
    raw_data = collections.OrderedDict(kv for kv in itertools.chain.from_iterable(load_paths))
  File "C:Usershomeanaconda3libsite-packagesbinstar_clientutilsconfig.py", line 241, in 
    raw_data = collections.OrderedDict(kv for kv in itertools.chain.from_iterable(load_paths))
  File "C:Usershomeanaconda3libsite-packagesbinstar_clientutilsconfig.py", line 221, in _dir_yaml_loader
    yield filepath, load_config(filepath)
  File "C:Usershomeanaconda3libsite-packagesbinstar_clientutilsconfig.py", line 205, in load_config
    data = yaml_load(fd)
  File "C:Usershomeanaconda3libsite-packagesbinstar_clientutilsyaml.py", line 12, in yaml_load
    return safe_load(stream)
  File "C:Usershomeanaconda3libsite-packagesyaml__init__.py", line 162, in safe_load
    return load(stream, SafeLoader)
  File "C:Usershomeanaconda3libsite-packagesyaml__init__.py", line 112, in load
    loader = Loader(stream)
  File "C:Usershomeanaconda3libsite-packagesyamlloader.py", line 34, in __init__
    Reader.__init__(self, stream)
  File "C:Usershomeanaconda3libsite-packagesyamlreader.py", line 85, in __init__
    self.determine_encoding()
  File "C:Usershomeanaconda3libsite-packagesyamlreader.py", line 135, in determine_encoding
    self.update(1)
  File "C:Usershomeanaconda3libsite-packagesyamlreader.py", line 169, in update
    self.check_printable(data)
  File "C:Usershomeanaconda3libsite-packagesyamlreader.py", line 143, in check_printable
    raise ReaderError(self.name, position, ord(character),
yaml.reader.ReaderError: unacceptable character #x0000: special characters are not allowed
  in "C:Usershome.continuumanaconda-clientconfig.yaml", position 0

Advertisement

Answer

According to github the problem lies with “config.yaml” file in C:Usersaxith.continuumanaconda-clientconfig.yaml , rename it to config.old or delete it

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement