#はじめに/Introduction
Anacondaの起動時に次のエラーが出た場合の様々な対処がNetで紹介されている。
もし、それでも解決できなかった場合、次のことをやってみたらいかがであろうか?
[ENGLISH] You can find various workarounds against the error occurred on Anaconda Navigator start-up in the web.
If these did not work, why not do the following?
Please note that do it with your own risk.
##エラーの内容:
Navigator Error
An unexpected error occurred on Navigator start-up
Report
Please report this issue in the anaconda issue tracker
Main Error
expected str, bytes or os.PathLike object, not NoneType
Traceback
Traceback (most recent call last):
File "C:\Users\hogehoge\Anaconda\lib\site-packages\anaconda_navigator\exceptions.py", line 75, in exception_handler
return_value = func(*args, **kwargs)
File "C:\Users\hogehoge\Anaconda\lib\site-packages\anaconda_navigator\app\start.py", line 150, in start_app
window = run_app(splash)
File "C:\Users\hogehoge\Anaconda\lib\site-packages\anaconda_navigator\app\start.py", line 65, in run_app
window = MainWindow(splash=splash, tab_project=False)
File "C:\Users\hogehoge\Anaconda\lib\site-packages\anaconda_navigator\widgets\main_window.py", line 168, in init
self.api = AnacondaAPI()
File "C:\Users\hogehoge\Anaconda\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 2294, in AnacondaAPI
ANACONDA_API = _AnacondaAPI()
File "C:\Users\hogehoge\Anaconda\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 91, in init
self._conda_api = CondaAPI()
File "C:\Users\hogehoge\Anaconda\lib\site-packages\anaconda_navigator\api\conda_api.py", line 1767, in CondaAPI
CONDA_API = _CondaAPI()
File "C:\Users\hogehoge\Anaconda\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\hogehoge\Anaconda\lib\ntpath.py", line 76, in join
path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not NoneType
#対処方法 / Workaround
個人のホームディレクトリ直下の .condarc を消す。
または、Rename してもいいかもね^^
[ENGLISH]
Delete the .condarc under your personal home directory.
Or maybe it is OK to rename it.^^
##Enjoy!