Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 670

Catkin insists on using em.py 3.4 and nosetests 3.4, when configured to use python 2.7

$
0
0
When I call catkin_make like this catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python2 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so I see this in the output -- Using PYTHON_EXECUTABLE: /usr/bin/python2 -- Using Python nosetests: /usr/bin/nosetests-3.4 -- Using empy: /usr/lib/python3.4/site-packages/em.py Naturally my build process fails because the python 2 executable cannot interpret these versions. How do I force catkin to use the python 2.7 versions?

Viewing all articles
Browse latest Browse all 670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>