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 -0600
Seen: 2,694 times
Last updated: Aug 23 '21
Problem of install fuerte on Mac
Do I need to know any specific computer language or framework to use ROS?
Is anybody in ROS community using PySide?
Including a package dependency in your personnal packages
Any good examples of using dynamic_reconfigure for a python node?
is there a python equivalent of fromROSMsg/toROSMsg (pcl stack)
How to contributing python versions of tutorials? e.g. Tutorials for arm_navigation
How to recieve an array over Publisher and Subscriber? (Python)