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

No module named 'robot_properties_solo.utils' #51

Open
emrecemal opened this issue Jan 25, 2022 · 2 comments
Open

No module named 'robot_properties_solo.utils' #51

emrecemal opened this issue Jan 25, 2022 · 2 comments

Comments

@emrecemal
Copy link

Hello,

I just installed all the related dependencies, but I get an import error when I try to run demo_simulate_solo8.py

$ python robot_properties_solo/demos/demo_simulate_solo8.py
pybullet build time: Dec 10 2021 10:04:01
/Users/emrecemal/miniconda3/lib/python3.8/site-packages/pinocchio/shortcuts.py:45: UserWarning: You passed package dir(s) via argument geometry_model and provided package_dirs.
geom_model = pin.buildGeomFromUrdf(model, filename, geometry_type, package_dirs)
Traceback (most recent call last):
File "tesst.py", line 16, in
from robot_properties_solo.solo8wrapper import Solo8Robot, Solo8Config
File "/Users/emrecemal/miniconda3/lib/python3.8/site-packages/robot_properties_solo/solo8wrapper.py", line 17, in
from robot_properties_solo.utils import find_paths
ModuleNotFoundError: No module named 'robot_properties_solo.utils'

@egordv
Copy link

egordv commented Feb 11, 2022

Hello @emrecemal
Same error, as a quick fix I commented

from robot_properties_solo.utils import find_paths
this line and this solved the issue (don't forget to reinstall the package)

@HuShanzhi
Copy link

hi, I also encountered this problem.

reason:
In the robot_properties_solo/src/robot_properties_solo directory, there is no "utils.py" file.

solution:

  1. Copy file utils.py to your local directory "/home/user/bullet_utils/robot_properties_solo/src/robot_properties_solo".
  2. Enter the directory "robot_properties_solo" by using the command cd bullet_utils/robot_properties_solo, and then run the command pip3 install . again.

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

3 participants