Closed PiaPritzke closed 1 year ago
This looks like python cannot find correct DLL for either pvcam or andorsdk. This is a big issue with newer versions of python on windows. I think you need to ensure that the dlls are on the pythonpath.
A word of warning that we and others have had significant weird issues with the andor dlls with the system running versions other than the one we thought, so also check it is running the copy that you think.
Assuming you do have pvcam and andor sdk3 installed, and since you're using Python 3.9, this is likely a duplicate of #235 . While we get around to fix this, this can be fixed by copying the pvcam and andor dll into ~\AppData\Local\Programs\Python\Python39\lib\site-packages\microscope\cameras\
. Closing as duplicated.
Dear @iandobbie and @carandraug, Thank you very much for your help. I followed your advice and copied the dlls to ~\AppData\Local\Programmes\Python\Python39\lib\site-packages\microscope\cameras. This worked for the pvcam, but I still get the same error message as before from the andorsdk3.
For andorsdk3, a number of dlls may be required. Find where the atcore.dll
and atutility.dll
files are, and then copy ALL of the dll files in that dircetory to where the microscope/cameras
directory.
Dear @carandraug,
Thank you for your answer. I already copied all the dll files in that directory, from the pvcam and the andor. I also checked that atcore.dll and atutility.dll are in the directory. If you have any other suggestion or idea what I could try next, I would be very grateful.
Hi, Here is a screenshot of my folder with a working Zyla4.2. I'm not sure which dll's are necessary or depending on each other. At the time I probably copied everything.
Thanks Julio, that is a useful reference point.
@PiaPritzke do you have all those dll's starting the 'at' in the screen shot above? If so can you run it again and paste in the error messages again, even if the error seems the same it may be another dll it is failing on.
Sorry you are having trouble with this, we have had similar and very frustrating issues with the Andor dll before. I our case it was loading older versions we didn't realise we had, so maybe also search for other copies of the atcore.dll and see if they might be accessed by accident. Maybe move them off to a new directory temporarily and see if the andor software still works and if it changes anything in microscope.
Dear all,
I have a question regarding an issue I encountered while trying to load the camera modules pvcam and andorsdk3. I receive the following error message
For pvcam:
and for andorsdk3:
I’m not sure where this problem comes from or how to solve it, so any help or comments would be much appreciated!