Unable to locate the python bindings after #752
isorrentino opened this issue · comments
#752 installs the python bindings in /install/lib/python3.10/
. However, I got error by importing them with
import bipedal_locomotion_framework.bindings as blf
with
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'bipedal_locomotion_framework'
This is the output of pythonpath
echo $PYTHONPATH
/home/isorrentino/dev/robotology-superbuild/build/install/lib/python3/dist-packages:/home/isorrentino/dev/element_sensorless-torque-control/code/python/
as you can see build/install/lib/python3.10/
is not there
#752 changed the default installation location for Python bindings, see also the comment in #751 (comment) . However, if you use an updated version of the robotology-superbuild (after robotology/robotology-superbuild#1508), everything should work fine.
Thank you, I'm going to update the superbuild.
Updating the robotology-superbuild
to the latest master
I'm able to locate the python bindings. @GiulioRomualdi feel free to close this issue if you think no actions are required.
Updating the
robotology-superbuild
to the latestmaster
I'm able to locate the python bindings. @GiulioRomualdi feel free to close this issue if you think no actions are required.
Actually, I see the bindings only if I run
python3
import bipedal_locomotion_framework.bindings as blf
blf.robot_dynamics_estimator
from the build
folder of bipedal-locomotion-framework
. From all the other locations, if I run the same, I cannot locate the bindings again.
Last update: by running make
from the build of robotology-superbuild
I can see the bindings from everywhere.
Closing! ❤️