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

pylibsrcml fails to load on Windows #3

Open
Joshua2000B opened this issue Jun 17, 2022 · 2 comments
Open

pylibsrcml fails to load on Windows #3

Joshua2000B opened this issue Jun 17, 2022 · 2 comments

Comments

@Joshua2000B
Copy link
Member

Importing pylibsrcml fails on Windows machines in the cytpes library - investigate fixes

@TTangNingzhi
Copy link

I also come across the same error: Traceback (most recent call last):
File "", line 1, in
File "C:\Python310\lib\site-packages\pylibsrcml\srcml.py", line 14, in
import pylibsrcml.srcml_archive
File "C:\Python310\lib\site-packages\pylibsrcml\srcml_archive.py", line 12, in
from pylibsrcml.globals import libsrcml
File "C:\Python310\lib\site-packages\pylibsrcml\globals.py", line 46, in
libsrcml = cdll.LoadLibrary(LIBSRCML_PATH)
File "C:\Python310\lib\ctypes_init_.py", line 452, in LoadLibrary
return self.dlltype(name)
File "C:\Python310\lib\ctypes_init
.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 87] Parameter Error.

@mjdecker
Copy link

It looks like Python can't find libsrcml.

Can you let us know what version of Windows you have, how you installed srcML, and where you have installed it to?

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

No branches or pull requests

3 participants