Bug #120
closedissue with catkin_make regarding PYTHONPATH configuration
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
Updated by Anthony Mallet over 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.).
Updated by Anthony Mallet over 6 years ago
- Status changed from Feedback to Closed
No feedback for 9 months, closing :)