How to solve libnetcdf.so.12: cannot open shared object file in pyferret? My pyferret was working perfectly until I had installed netCDF4 and now it is throwing up this error 

readline: /etc/inputrc: line 19: term: unknown variable name
Traceback (most recent call last):
  File "&lt;string&gt;", line 1, in &lt;module&gt;
  File "/home/cccr/msingh/anaconda3/envs/FERRET/lib/python3.7/site- 
   packages/pyferret/__init__.py", line 45, in &lt;module&gt;
    from pyferret import libpyferret
ImportError: libnetcdf.so.13: cannot open shared object file: No such 
file or directory
You need to uninstall netCDF4 as it is not compatible with pyferret library as of now.

pip uninstall netCDF4


should do.