Hello,
I recently installed Anaconda2 on my adviser's linux servers, as well as the netCDF4 library. However, when trying to import netCDF4, I get the following:
[knelson12@polar ~]$ python
Python 2.7.13 |Anaconda custom (64-bit)| (default, Dec 20 2016, 23:09:15)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out:
http://continuum.io/thanks and
https://anaconda.org>>> import netCDF4
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/knelson12/anaconda2/lib/python2.7/site-packages/netCDF4/__init__.py", line 3, in <module>
from ._netCDF4 import *
ImportError: libjpeg.so.8: cannot open shared object file: No such file or directory
>>>
I've seen a lot about updating the LD_LIBRARY_PATH, but haven't been able to figure out what to put in my startup file. Additionally, it doesn't appear as though I have the libjpeg.so.8, as per the following:
[knelson12@polar lib]$ pwd
/home/knelson12/anaconda2/lib
[knelson12@polar lib]$ ls libjpeg*
libjpeg.a
libjpeg.la libjpeg.so libjpeg.so.9 libjpeg.so.9.2.0
[knelson12@polar lib]$
Is this a version issue? Thanks for any help!
Kevin