Open marceau45800 opened 3 years ago
I had the same problem, did you solve it?
It seems that we need to change the path here. But I don't know how to change...
Same question is here:
Answer:
I had the same problem, apparently the .dll search mechanism changed in python 3.8 You can see more details of how to fix it here.
I made a PR into this repo to fix the issue. See https://github.com/pupil-labs/apriltags/pull/48
After this PR is accepted this issue can be closed, I believe.
Hi I have the same issue. Just wondering if you have fixed this issue?
Hi there, just recently experienced the same problem with FileNotFoundError: Could not find module 'path/to/existing/dll'
. Problem was caused by dependent libraries in different folder.
In my case...
pip install pupil-apriltags
in conda environment
C:/Users/username/Miniconda3/envs/my_env/lib/site-packages/pupil_apriltags/libapriltag.dll
with same errors as @marceau45800 mentioned
(my_env) C:\>dlldiag trace C:/Users/username/Miniconda3/envs/my_env/lib/site-packages/pupil_apriltags/lib/apriltag.dll
DLL Diagnostic Tools version 0.0.18
Copyright (c) 2019-2021 Adam Rehn
Parsing module header and identifying non delay-loaded dependencies... done.
Identifying the module's delay-loaded dependencies... done.
Parsed module details: Module: C:\Users\username\Miniconda3\envs\my_env\lib\site-packages\pupil_apriltags\lib\apriltag.dll Type: Dynamic-Link Library Architecture: x64
The module imports 12 direct dependencies: api-ms-win-crt-convert-l1-1-0.dll api-ms-win-crt-environment-l1-1-0.dll api-ms-win-crt-heap-l1-1-0.dll api-ms-win-crt-math-l1-1-0.dll api-ms-win-crt-runtime-l1-1-0.dll api-ms-win-crt-stdio-l1-1-0.dll api-ms-win-crt-string-l1-1-0.dll api-ms-win-crt-utility-l1-1-0.dll KERNEL32.dll pthreadVC2.dll VCRUNTIME140.dll WINMM.dll
Error: no debugger found for architecture x64. Please ensure the Debugging Tools for Windows 10 (WinDbg) are installed correctly.
- just looked around and found this folder with libraries `C:\Users\username\Miniconda3\envs\my_env\lib\site-packages\pupil_apriltags.libs`
# Solution
just add this line before creating Detector instance:
```python
os.add_dll_directory("C:/Users/username/Miniconda3/envs/my_env/lib/site-packages/pupil_apriltags.libs")
It worked for me.
any updates about this open issue?
Hello I have a problem with pupil_apriltags in python. I have been searching for more than 1 week and tried multiple solutions but none of them worked.
My problem is not with the import of the librairy but when I try to create the detector. There is a reference to a xxxx.dll file (I think) which does not work.
My code
Very simple
My error
My configuration