-
Notifications
You must be signed in to change notification settings - Fork 1
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
gz-transport: Python Support #1545
gz-transport: Python Support #1545
Comments
I'll test this over the weekend on a real Win 10 laptop. |
I couldn't get Python support to work on Windows. I had to install protobuf, as only libprotobuf is installed according to the win install tutorial. This decreases libprotobuf version to 4.* from 5.*, as protobuf is only available in version 4.* . I rebuilt the workspace after this downgrade. Now I see:
I set PYTHONPATH to
When I run the example, I get the following error:
I've inspected the pyd file with Depends and nothing seems to be missing. I can't continue with this here. Any thoughts, @traversaro? |
Just a curiosity, why do you need protobuf? Anyhow, I think the problem is that Python on Windows by default ignores the PATH env variable when loading extensions (see robotology/robotology-superbuild#1268 and the linked issue for some references). Possible solution are calling |
Because of the content of the generated .py files from gz-msgs, e.g.
Did not help.
Did help! Now I can run the tutorial.
|
I've reported the issue: gazebosim/gz-transport#538 . |
A little improvement in gazebosim/gz-transport#539 . Required install tutorial change: gazebosim/docs#516 . Requires gazebosim/gz-transport#538 to be fixed. After the referenced PRs/issues are done, this tutorial works as it should. |
Configuration
Links
Process
Step 1 - Instructions work
Step 2 - Images (if there are any) match the result
The text was updated successfully, but these errors were encountered: