Project

General

Profile

Actions

Bug #120

closed

issue with catkin_make regarding PYTHONPATH configuration

Added by Aurélie Clodic almost 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-

Description

i've installed robotpkg graphics/ros-ivcon and configure my PYTHONPATH like that
export PYTHONPATH=$PYTHONPATH:$ROBOTPKG_BASE/lib/python2.7/site-packages

then when i tried to catkin_make something it failed
aclodic@maxc1:~/ws0/catkin_ws$ catkin_make
ImportError: "from catkin_pkg.topological_order import topological_order" failed: No module named tool_detection
Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.

i reconfigure PYTHONPATH like that
export PYTHONPATH=$ROBOTPKG_BASE/lib/python2.7/site-packages:$PYTHONPATH

and it's working
but it is weird, isn't it ?
thanks
Aurelie

Actions #1

Updated by Anthony Mallet almost 7 years ago

On which distribution? Both ubuntu-1404 and 1604 have ros-*-ivcon, so
it is normally not needed to install ros packages via robotpkg.

What other directories do you have in PYTHONPATH?

When installing ros through robotpkg, you should make sure you don't
have any system ros paths in your environement variables (PYTHONPATH,
ROS_PACKAGE_PATH, PATH, etc.).

Actions #2

Updated by Anthony Mallet almost 7 years ago

  • Status changed from New to Feedback

Any updates?

Actions #3

Updated by Anthony Mallet about 6 years ago

  • Status changed from Feedback to Closed

No feedback for 9 months, closing :)

Actions

Also available in: Atom PDF