AlexShkarin / pyLabLib

Python package for device control and experiment automation
http://pylablib.readthedocs.io
GNU General Public License v3.0
142 stars 34 forks source link

No module named 'pylablib.devices.Andor.utils' #68

Closed deejaybee11 closed 12 months ago

deejaybee11 commented 12 months ago

When trying to import the package into python I get the error

ImportError: could not load C extensions: No module named 'pylablib.devices.Andor.utils' Install the package from the appropriate binary distribution, or install an appropriate C compiler if you use the source distribution

This error seems to be called from this line in the AndorSDK3.py file

from .utils import looper, copyframes  # pylint: disable=no-name-in-module

I have both AndorSDK2 and SDK3 installed on this PC.

Thanks very much for any assistance you can provide, and thanks for providing this package

deejaybee11 commented 12 months ago

After uninstalling from conda and reinstalling instead using pip this seems to have resolved the issue. It may be that the conda installation is missing a required dependency for the Andor cameras.