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 'PyKDL' #3

Open
cublicma opened this issue Oct 8, 2024 · 1 comment
Open

No module named 'PyKDL' #3

cublicma opened this issue Oct 8, 2024 · 1 comment

Comments

@cublicma
Copy link

cublicma commented Oct 8, 2024

I followed the instructions to install RangeIK (relaxed_ik_ros2) on my WSL2. I can go over all steps till the verification step.
When I run:

ros2 launch relaxed_ik_ros2 demo.launch.py

Tthe error popped up:

[rviz2-2] QStandardPaths: wrong permissions on runtime directory /run/user/1000/, 0755 instead of 0700
[rviz_viewer.py-4] Traceback (most recent call last):
[rviz_viewer.py-4] File "/home/ma/ros2_ws/install/relaxed_ik_ros2/lib/relaxed_ik_ros2/rviz_viewer.py", line 19, in
[rviz_viewer.py-4] from robot import Robot
[rviz_viewer.py-4] File "/home/ma/ros2_ws/src/relaxed_ik_ros2/scripts/robot.py", line 14, in
[relaxed_ik_rust.py-1] Traceback (most recent call last):
[relaxed_ik_rust.py-1] File "/home/ma/ros2_ws/install/relaxed_ik_ros2/lib/relaxed_ik_ros2/relaxed_ik_rust.py", line 19, in
[relaxed_ik_rust.py-1] from kdl_parser import kdl_tree_from_urdf_model
[relaxed_ik_rust.py-1] File "/home/ma/ros2_ws/src/relaxed_ik_ros2/scripts/kdl_parser.py", line 35, in
[relaxed_ik_rust.py-1] import PyKDL as kdl
[rviz_viewer.py-4] import PyKDL
[rviz_viewer.py-4] ModuleNotFoundError: No module named 'PyKDL'
[relaxed_ik_rust.py-1] ModuleNotFoundError: No module named 'PyKDL'
[ERROR] [relaxed_ik_rust.py-1]: process has died [pid 17493, exit code 1, cmd '/home/ma/ros2_ws/install/relaxed_ik_ros2/lib/relaxed_ik_ros2/relaxed_ik_rust.py --ros-args -r __node:=relaxed_ik_rust -r __ns:=/ --params-file /tmp/launch_params_x40xppxs'].

I am using Ubuntu 22.04, ROS 2 Humble, Rustc V1.81.0. I tried with Rustc V1.58.1 but some packages require a higher version.

@jjpatino-byte
Copy link

Were you able to solve this error? @cublicma

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