Bug #1762
import Lima.Andor3 failed if Lima.Core was not imported before
0%
Description
Hello,
I did a Debian package of Lima, it install the Lima python module unders
/usr/lib/python2.6/dist-package/Lima
it seems that everythong is fine, we can control the Andor3 camera.
but I found a very strange comportment of Lima
if I start by a
import Lima.Andor3, I get this error message
In [1]: import Lima.Andor3
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/home/picca/<ipython console> in <module>()
/usr/lib/python2.6/dist-packages/Lima/Andor3/__init__.py in <module>()
51 sys.setdlopenflags(ld_open_flags | DLFCN.RTLD_GLOBAL)
52
---> 53 from Lima.Andor3.limaandor3 import Andor3 as A
54 globals().update(_A._dict__)
55
ImportError: No module named processlib
but I do not get this message if before importing the camera I do
import Lima.Core
import Lima.Andor3
Is it possible to fix this problem and allow a strait
import Lima.Andor3
In [1]: import Lima.Core
In [2]: import Lima.Andor3
In [3]:
thanks
Frederic