how to set custom python path in catkin
Hi
I used <export><python path="..."/></export>
in manifest.xml with rosbuild, is there way to set similar thing in catkin?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi
I used <export><python path="..."/></export>
in manifest.xml with rosbuild, is there way to set similar thing in catkin?
You should do this with an environment hook, see:
http://docs.ros.org/hydro/api/catkin/...
http://docs.ros.org/hydro/api/catkin/...
https://github.com/ros/ros/blob/indig...
https://github.com/ros/roslisp/blob/m...
However, you should reevaluate why you need to do this. Instead you should install your python code into a place where it can be on the path automatically.
Why not answering a bit of an old question:
You can set a environment variable out of the CMakeLists.txt
https://gitlab.kitware.com/cmake/comm...
SET(ENV{PYTHONPATH} "/the/path/you/want")
Asked: 2013-08-03 23:15:21 -0500
Seen: 2,599 times
Last updated: Aug 23 '21
how is the PYTHON_EXECUTABLE variable/option is set with catkin? how can i set its default?
Compilling library using catkin
CCNY RGB-D tools Installation Problem
Creating Custom Message using ROS Message (or Custom Message)
Invoking "make cmake_check_build_system" failed
Installing a build-time generated Python module
how I convert string to float?