Nothing that has been suggested work. and yes my python from sudo and user is the same.
I am doing:
1 - git clone
https://github.com/SciTools/iris.gitoutput:
Cloning into 'iris'...
remote: Counting objects: 6577, done.
remote: Compressing objects: 100% (1871/1871), done.
remote: Total 6577 (delta 4283), reused 6352 (delta 4101)
Receiving objects: 100% (6577/6577), 50.48 MiB | 1.32 MiB/s, done.
Resolving deltas: 100% (4283/4283), done.
2 - cd into iris folder
3 - running install command (any of the following command gave the same result)
python setup.py install (with and without sudo)
python setup.py insatll --user (with and without sudo)
output see attach file (using python setup.py insatll --user)
there are some warning:
warning: no previously-included files matching '*' found under directory 'docs/iris/build'
warning: no files found matching '*.cc' under directory 'src'
warning: no files found matching '*.cpp' under directory 'src'
warning: no files found matching '*.h' under directory 'src'
error: None
nothing is but in ~/.local/lib/python2.7/site-
packages/
if I create a symbolic link from iris/lib/iris to ~/.local/lib/python2.7/site-
packages/ and import iris from python. I have the following error:
>>> import iris
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "iris/__init__.py", line 100, in <module>
import iris.cube
File "iris/cube.py", line 35, in <module>
import iris.analysis
File "iris/analysis/__init__.py", line 38, in <module>
import iris.coords
File "iris/coords.py", line 34, in <module>
import iris.aux_factory
File "iris/aux_factory.py", line 28, in <module>
from iris._cube_coord_common import CFVariableMixin, LimitedAttributeDict
File "iris/_cube_coord_common.py", line 24, in <module>
import iris.unit
File "iris/unit.py", line 181, in <module>
_lib_ud = ctypes.CDLL(_lib_ud, use_errno=True)
File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libudunits2.so.0: cannot open shared object file: No such file or directory
>>>
So suspect that the installation is failing, but I cannot see what I am missing?
Any idea??