Installation of CDO in Python
Added by Oscar Whitney about 5 years ago
hello fellow users.
my computer runs on CentOS8 and I am new to getting around in LINUX.
right now i am trying to install CDO so I can use it with Python.
after running the two commands:
conda config --add channels conda-forge
conda install cdo
i get the following error:
Collecting package metadata (current_repodata.json): ...working... failed
ProxyError: Conda cannot proceed due to an error in your proxy configuration.
Check for typos and other configuration errors in any '.netrc' file in your home directory,
any environment variables ending in '_PROXY', and any other system-wide proxy
configuration settings.
What am i doing wrong and how do i fix this issue?
thank you for your time.
-oxwhitney
Replies (1)
RE: Installation of CDO in Python - Added by Karin Meier-Fleischer about 5 years ago
Hi Oscar,
I had a similar problem and I've solved it installing cdo and python-cdo in an environment
conda create -n cdo -c conda-forge cdo python-cdo xarray netcdf4 matplotlib
Don't forget to activate the environment before use of cdo/python-cdo.
conda activate cdo
And deactivate the environment after using it.
conda deactivate
-Karin