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

sdf2urdf doesn't work #19

Open
pavelgivoy opened this issue Apr 1, 2022 · 2 comments
Open

sdf2urdf doesn't work #19

pavelgivoy opened this issue Apr 1, 2022 · 2 comments

Comments

@pavelgivoy
Copy link

pavelgivoy commented Apr 1, 2022

Hi! I'm trying to run sdf2urdf, but I'm getting the error:

Traceback (most recent call last):
File "/home/user/zephyr_ws/src/pysdf/scripts/sdf2urdf.py", line 6, in <module>
import pysdf
File "/home/user/zephyr_ws/devel/lib/python3/dist-packages/pysdf/__init__.py", line 34, in <module>
exec(__fh.read())
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'parse'

The problem occurs either with or without using ROS. Do you have any idea to fix it, please?

@wbthomason
Copy link

You can fix this by prefixing the problematic imports with pysdf. or simply .. The issue arises because of Python 3 no longer allowing implicit relative imports.

@wbthomason
Copy link

See also #16, #17

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

2 participants