Skip to content
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

error 0x7e. cannot load library #84

Open
ryunosuke0723 opened this issue Aug 18, 2020 · 6 comments
Open

error 0x7e. cannot load library #84

ryunosuke0723 opened this issue Aug 18, 2020 · 6 comments
Labels

Comments

@ryunosuke0723
Copy link

I was trying to load myo64.dill to connect python to myo armband.
But, the error happend.
「cannot load library 'C:\path\to\myo-sdk\bin\myo64.dll': error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library called 'C:\\path\\to\\myo-sdk\\bin\myo64.dll'」
Does someone know how can I fix this? please.

@NiklasRosenstein
Copy link
Owner

Does the file C:\path\to\myo-sdk\bin\myo64.dll actually exist?

@CheerMan1
Copy link

CheerMan1 commented Jan 30, 2023

I was trying to load myo64.dill to connect python to myo armband. But, the error happend. 「cannot load library 'C:\path\to\myo-sdk\bin\myo64.dll': error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library called 'C:\path\to\myo-sdk\bin\myo64.dll'」 Does someone know how can I fix this? please.

I have the same problem and i am sure the file exist. these are my errors:

2023-01-30 14:28:27,145 - device.myo_listener - ERROR - cannot load library 'D:/myo/stark-demo/MyoFeaturePlotter/dll/myo64.dll': error 0xc1
Traceback (most recent call last):
File "D:\myo\stark-demo\MyoFeaturePlotter\device\myo_listener.py", line 49, in run
myo.init(self.dll)
File "D:\Envs\myo-python\lib\site-packages\myo_ffi.py", line 238, in init
libmyo = ffi.dlopen(lib_name)
File "D:\Envs\myo-python\lib\site-packages\cffi\api.py", line 150, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)
File "D:\Envs\myo-python\lib\site-packages\cffi\api.py", line 832, in _make_ffi_library
backendlib = _load_backend_lib(backend, libname, flags)
File "D:\Envs\myo-python\lib\site-packages\cffi\api.py", line 828, in _load_backend_lib
return backend.load_library(path, flags)
OSError: cannot load library 'D:/myo/stark-demo/MyoFeaturePlotter/dll/myo64.dll': error 0xc1

@Dooganar
Copy link

Dooganar commented Oct 1, 2023

I have the same issue.

@crasgaitis
Copy link

Is there somewhere where we can manually download the dll file? I don't see it in the SDK.

@Dooganar
Copy link

My solution was to use Python 3.7.4.
I tried using python 3.11 and got these sorts of errors.

@NiklasRosenstein
Copy link
Owner

Is there somewhere where we can manually download the dll file? I don't see it in the SDK.

You can find the last available binaries provided by ThalmicLabs in the Github release: https://github.com/NiklasRosenstein/myo-python/releases/tag/v1.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants