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?
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
http://www.cmake.org/Wiki/CMake_FAQ#H...
SET(ENV{PYTHONPATH} "/the/path/you/want")
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2013-08-03 23:15:21 -0600
Seen: 1,717 times
Last updated: Jul 03 '14
Error while creating a catkin workspace
How do I specify which packages are needed to run code in a package or build packages?
Why am I getting: can't locate node [rosout] in package [rosout]
Get information about topic message at runtime
run ros terminal commands within a python script
How to request a service with complex service type(in python)?