-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSError: [WinError 126] The specified module could not be found #21
Comments
I am getting same error. How did you 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?
The text was updated successfully, but these errors were encountered: