conda update broke my cdo installation
Added by Brendan DeTracey over 4 years ago
Hi all,
Like it says in the title: I updated cdo hoping to get 1.9.9 and its tasty new bottomvalue
operator but instead the update broke cdo.
$ conda update --channel conda-forge --all Collecting package metadata (current_repodata.json): done Solving environment: done # All requested packages already installed. $ conda list cdo # packages in environment at /home/brendan/miniconda3/envs/cmip6: # # Name Version Build Channel cdo 1.9.8 h57d29a5_6 conda-forge $ cdo cdo: error while loading shared libraries: libnetcdf.so.15: cannot open shared object file: No such file or directoryMy first instinct is to:
$ conda remove -c conda-forge cdoand then reinstall, but I am asking for help here first before further breaking my environment. I cloned my environment before the update but it will not let me taste
bottomvalue
.
Replies (3)
RE: conda update broke my cdo installation - Added by Brendan DeTracey over 4 years ago
Fixed it. It is best to install cdo in a new conda environment. Trying to upgrade cdo in-place does not work. Apparently this happens a lot with conda. :shrug:
RE: conda update broke my cdo installation - Added by Ralf Mueller over 4 years ago
I use the run
conda update --allwhen this happens. Sometimes it helps.
RE: conda update broke my cdo installation - Added by Brendan DeTracey over 4 years ago
My lesson from using conda is to always use environments and to clone an environment before attempting to update it.