-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hi, after updating to pims_nd2 1.1, an error keeps occurring that did not happen in pims_nd2 1.0. No further changes have been made in my code. The error code is: "OSError: [WinError 126] The specified module could not be found".
I've tracked it down, and the error happens in ctypes_init_.py, line 364. Here, self.handle tries to open '...\pims_nd2\ND2SDK\win\x64\v6_w32_nd2ReadSDK.dll', however, fails. I've noticed that this is different from the approach of pims_nd2 1.0. In pims_nd2 1.0, lines 22 and 23 of ND2SDK.py add the dlldir (which is '...\pims_nd2\ND2SDK\win\x64') to the environment path and then asks ctypes_init.py line 364 to load in simply 'v6_w32_nd2ReadSDK.dll', which is now in the environment path, and it succeeds.
Is this an intentional change? And if so, is there something I can do to fix it.
Thanks in advance?