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

Could not find module #64

Open
PetSven opened this issue Sep 10, 2024 · 0 comments
Open

Could not find module #64

PetSven opened this issue Sep 10, 2024 · 0 comments

Comments

@PetSven
Copy link

PetSven commented Sep 10, 2024

I am using Windows 11, Python 3.12.5 and library version 1.0.4.post10. I get the following error message when I try to run the example code. I see other people had this issue in the past, but it was fixed. Maybe this fix no longer works?

C:\Users[user]\AppData\Local\Programs\Python\Python312\Lib\site-packages\pupil_apriltags\lib
Traceback (most recent call last):
File "C:\Users[user]\OneDrive[folder][folder]\MyAprilTag.py", line 19, in
at_detector = Detector(
^^^^^^^^^
File "C:\Users[user]\AppData\Local\Programs\Python\Python312\Lib\site-packages\pupil_apriltags\bindings.py", line 340, in init
self.libc = ctypes.CDLL(str(hit))
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users[user]\AppData\Local\Programs\Python\Python312\Lib\ctypes_init_.py", line 379, in init
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: Could not find module 'C:\Users[user]\AppData\Local\Programs\Python\Python312\Lib\site-packages\pupil_apriltags\lib\apriltag.dll' (or one of its dependencies). Try using the full path with constructor syntax.

Update: I tested the code on Python 3.7.9, 3.8.10, 3.9.13, 3.10.11 and 3.11.9. It is working. So it must not be compatible with 3.12.

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

1 participant