Anaconda will not launch due to DLL load failure

Hello,

I am trying to install/use Anaconda on my pc with Windows 10.
After installation, Anaconda will not launch.
If I enter anaconda-navigator in the Anaconda Command Prompt i receive the error included below.
I tried to update conda to resolve using conda update conda, conda update anaconda-navigator, anaconda-navigator --reset
all of which render “environment variables: conda info could not be constructed. KeyError(‘pkgs_dirs’)”.

I tried conda info to find the .condarc file but received a DLL error.

I tried adding anaconda3\Scripts to path but that hasn’t helped.

Path

Please advise.
Thank you

–DLL error msg

Traceback (most recent call last):
File “C:\Users\Penelope\anaconda3\Scripts\anaconda-navigator-script.py”, line 6, in
from anaconda_navigator.app.main import main
File “C:\Users\Penelope\anaconda3\lib\site-packages\anaconda_navigator\app\main.py”, line 19, in
from anaconda_navigator.app.start import start_app
File “C:\Users\Penelope\anaconda3\lib\site-packages\anaconda_navigator\app\start.py”, line 27, in
from anaconda_navigator.widgets.main_window import MainWindow
File “C:\Users\Penelope\anaconda3\lib\site-packages\anaconda_navigator\widgets\main_window_init_.py”, line 25, in
from anaconda_navigator.api.anaconda_api import AnacondaAPI
File “C:\Users\Penelope\anaconda3\lib\site-packages\anaconda_navigator\api\anaconda_api.py”, line 30, in
from anaconda_navigator.api.client_api import ClientAPI
File “C:\Users\Penelope\anaconda3\lib\site-packages\anaconda_navigator\api\client_api.py”, line 23, in
import binstar_client
File “C:\Users\Penelope\anaconda3\lib\site-packages\binstar_client_init_.py”, line 21, in
from .mixins.channels import ChannelsMixin
File “C:\Users\Penelope\anaconda3\lib\site-packages\binstar_client\mixins\channels.py”, line 7, in
from binstar_client.utils import jencode
File “C:\Users\Penelope\anaconda3\lib\site-packages\binstar_client\utils_init_.py”, line 14, in
from .config import (get_server_api, dirs, load_token, store_token,
File “C:\Users\Penelope\anaconda3\lib\site-packages\binstar_client\utils\config.py”, line 90, in
USER_LOGDIR = dirs.user_log_dir
File “C:\Users\Penelope\anaconda3\lib\site-packages\binstar_client\utils\appdirs.py”, line 253, in user_log_dir
return user_log_dir(self.appname, self.appauthor, version=self.version)
File “C:\Users\Penelope\anaconda3\lib\site-packages\binstar_client\utils\appdirs.py”, line 192, in user_log_dir
path = user_data_dir(appname, appauthor, version)
File “C:\Users\Penelope\anaconda3\lib\site-packages\binstar_client\utils\appdirs.py”, line 68, in user_data_dir
path = os.path.join(_get_win_folder(const), appauthor, appname)
File “C:\Users\Penelope\anaconda3\lib\site-packages\binstar_client\utils\appdirs.py”, line 280, in _get_win_folder_with_pywin32
from win32com.shell import shellcon, shell
ImportError: DLL load failed while importing shell: The specified procedure could not be found.

1 Like