How do you add the path "/usr/local/lib/python2.7/" to your catkin environment?
Every time I do a source devel/setup.bash in my environment my ROS packages in the environment are unable to whatever is in the path I mentioned. How can I make this happen?
Asked by OwnageManFromLOL on 2018-02-06 19:43:20 UTC
Answers
This is not a direct answer to your question, but more to your initial problem...
After sourcing setup.bash, maybe try
pip install opencv-python --user
Asked by wonwon0 on 2019-11-06 07:31:25 UTC
Comments
I'm not understanding your question. Your packages are unable to what?
Asked by jayess on 2018-02-06 23:42:46 UTC
The package cv resides in the path "/usr/local/lib/python2.7/dist-packages", but the $PYTHONPATH after I do a source devel/setup.bash is in "/opt/ros/kinetic/". How can I reconcile this difference?
Asked by OwnageManFromLOL on 2018-02-07 00:11:16 UTC
OpenCV has been included with ROS since Indigo. Have you seen the OpenCV 3 page on the wiki?
Asked by jayess on 2018-02-07 01:50:47 UTC
In the code that I am using, there is a line in the python script that saids "import cv", but this library is not in the path for my ROS workspace.
Asked by OwnageManFromLOL on 2018-02-07 09:18:44 UTC