Install new module in Anaconda: Keyerror('pkgs_dirs',)

Viewed 8083

While installing any new Module in anaconda(eg. teradata) I am getting the below error:

environment variables:
conda info could not be constructed. KeyError('pkgs_dirs',)

Is there any solution for this please ? I have Teradata 13 in my system and Python version is 3.4.

I am able to establish a connection using pyodbc.connect but not able to install the teradata module into the conda environment. Only after I do this can I run queries to fetch my data set.

Any help is greatly appreciated!

1 Answers

run "conda info" and "conda config --show-sources" locate where the .condarc files are located. These files configure shell behaviors. You can add entries to these files via this command:

"conda config --file C:\Users\username.condarc --add pkgs_dirs C:\ProgramData\Anaconda3\pkgs"

*you can add multiple entries

Related