Open DionEngels opened 4 years ago
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 ctypesinit.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 ctypesinit.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?
I am getting same error. How did you solve it? Using 1.0 solved it for me @soft-matter, please solve it!
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 ctypesinit.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 ctypesinit.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?
I am getting same error. How did you solve it? Using 1.0 solved it for me @soft-matter, please solve it!
Yes, I simply still use 1.0 as well.
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?