-
Notifications
You must be signed in to change notification settings - Fork 48
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
Python bindings do not work on Windows when installed from source since Python 3.8 #1268
Python bindings do not work on Windows when installed from source since Python 3.8 #1268
Comments
As suggested in gazebosim/sdformat#1165 (comment), running:
before using the bindings everything works as expected:
|
According to @giotherobot tests, import os
os.add_dll_directory(os.path.join(os.environ['ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX'], bin)) and we also documented it in #1701 as a mitigation for this problem. |
Further mitigation is provided by robotology/idyntree#1209 . Once that is merged, |
So, this was fixed in: |
If we also fix it in yarp and blf, I think we can close the issue. Fixing the issue in YARP will remove the need of workaround in @giotherobot code, and the remaining python libraries (like manifpy) are not mantained from us, so I think it is fair to consider the problem as an upstream problem, unless we have specific problems. |
New fixes:
Let's close as there is not a lot we can do here, and anyhow we mitigated this with the documentation. |
In particular, for example
import yarp
is failing with:The reason is described in gazebosim/sdformat#1165 (comment), basically since Python 3.8:
The text was updated successfully, but these errors were encountered: