![]() ![]() Here's a copy of the script at the time of writing for the unlikely event that the link goes dead I've tested it on Ubuntu 16.04 with ROS Kinetic but in theory it should work on any bash system. I'm not very good at bash, so, if someone with more experience could take a look at the script, that'd be great.įor now view this script as beta, it works for me but it needs to be tested by more people. anaconda-navigator, it adds Anaconda to PATH, executes anaconda-navigator (which is now in PATH) and after anaconda-navigator terminated, it removes Anaconda from PATH again.įor more information and how to use it check the top of the script and the comment on GitHub below the script. It basically scans the Anaconda binary folder and for each executable that isn't present on the system already, it creates an alias. The easiest solutions like using the full path, exporting the path every time it's needed or creating a second user account for Anaconda aren't really convenient which is why I wrote this little script: Here's just another way to solve the issue. Gavran already explained the problem very well. usr/lib/python2.7/dist-packages/catkin_pkg-0.3.1.egg-info/top_level.txt usr/lib/python2.7/dist-packages/catkin_pkg-0.3.1.egg-info ![]() home/daniel/catkin_ws/devel/lib/python2.7/dist-packages:/opt/ros/kinetic/lib/python2.7/dist-packages I will list you some commands I have seen in other questions, that might be useful: echo $PYTHONPATH I have tried: sudo apt-get install -reinstall python-rospkg python-rosdep python-catkin-pkg python-rosinstall python-vcstools The problem I think it is that it is getting anaconda python path. "/home/daniel/catkin_ws2/build_isolated/cartographer_ros_msgs/catkin/catkin_generated/version/package.cmake") Using Python nosetests: /home/daniel/anaconda3/bin/nosetests Found gtest sources under '/usr/src/gtest': gtests will be built Using CATKIN_TEST_RESULTS_DIR: /home/daniel/catkin_ws2/build_isolated/cartographer_ros_msgs/test_results Using PYTHON_EXECUTABLE: /home/daniel/anaconda3/bin/python This workspace overlays: /home/daniel/catkin_ws/devel /opt/ros/kinetic Using CMAKE_PREFIX_PATH: /home/daniel/catkin_ws2/install_isolated /home/daniel/catkin_ws/devel /opt/ros/kinetic When running catkin_make_isolated: - Using CATKIN_DEVEL_PREFIX: /home/daniel/catkin_ws2/devel_isolated/cartographer_ros_msgs opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:20 (include) ![]() opt/ros/kinetic/share/catkin/cmake/all.cmake:151 (_catkin_package_xml) opt/ros/kinetic/share/catkin/cmake/catkin_package_xml.cmake:63 (safe_execute_process) "/home/daniel/catkin_ws/build/catkin_tools_prebuild/catkin/catkin_generated/version/package.cmake") "/opt/ros/kinetic/share/catkin/cmake/./package.xml" "/opt/ros/kinetic/share/catkin/cmake/parse_package_xml.py" Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.ĬMake Error at /opt/ros/kinetic/share/catkin/cmake/safe_execute_process.cmake:11 (message):Įxecute_process(/home/daniel/anaconda3/bin/python ImportError: "from catkin_pkg.package import parse_package" failed: No module named 'catkin_pkg' When running catkin build i get this Errors << catkin_tools_prebuild:cmake /home/daniel/catkin_ws/logs/catkin_tools_prebuild/ Hi, I recently installed anaconda in my computer, and now I cant catkin build or catkin_make_isolated (tried them in different ws) I use ubuntu 16.04 and ros kinetic ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |