Ask Your Question
0

Catkin_make error with anaconda

asked 2020-03-23 06:11:28 -0500

I have no clue what the issue is. This is the terminal output.

(base) catkin_ws conda activate py37ROS                              
(py37ROS) catkin_ws echo "source /opt/ros/melodic/setup.zsh" >> ~/.zshrc
source ~/.zshrc
(base) catkin_ws conda activate py37ROS                              
(py37ROS) catkin_ws catkin_make                                         
Base path: /home/frederik/catkin_ws
Source space: /home/frederik/catkin_ws/src
Build space: /home/frederik/catkin_ws/build
Devel space: /home/frederik/catkin_ws/devel
Install space: /home/frederik/catkin_ws/install
#### #### Running command: "make cmake_check_build_system" in "/home/frederik/catkin_ws/build" #### #### #### Running command: "make -j4 -l4" in "/home/frederik/catkin_ws/build" ####
[  0%] Built target _kinova_msgs_generate_messages_check_deps_RunCOMParametersEstimation
[  0%] Built target _kinova_msgs_generate_messages_check_deps_FingerPosition
[  0%] Built target _kinova_msgs_generate_messages_check_deps_AddPoseToCartesianTrajectory
[  0%] Built target _kinova_msgs_generate_messages_check_deps_Arm_KinovaPoseGoal
[  0%] Built target _kinova_msgs_generate_messages_check_deps_ArmJointAnglesActionResult
[  0%] Built target _kinova_msgs_generate_messages_check_deps_Arm_KinovaPoseAction
[  0%] Built target _kinova_msgs_generate_messages_check_deps_SetFingersPositionActionGoal
[  0%] Built target _kinova_msgs_generate_messages_check_deps_SetForceControlParams
[  0%] Built target geometry_msgs_generate_messages_cpp
[  0%] Built target _kinova_msgs_generate_messages_check_deps_ArmJointAnglesResult
[  0%] Built target _kinova_msgs_generate_messages_check_deps_ClearTrajectories
[  0%] Built target _kinova_msgs_generate_messages_check_deps_ZeroTorques
[  0%] Built target actionlib_msgs_generate_messages_cpp
[  0%] Built target _kinova_msgs_generate_messages_check_deps_JointAngles
[  0%] Built target _kinova_msgs_generate_messages_check_deps_SetEndEffectorOffset
[  0%] Built target _kinova_msgs_generate_messages_check_deps_ArmJointAnglesFeedback
[  0%] Built target _kinova_msgs_generate_messages_check_deps_KinovaPose
[  0%] Built target _kinova_msgs_generate_messages_check_deps_SetTorqueControlParameters
[  0%] Built target _kinova_msgs_generate_messages_check_deps_SetFingersPositionResult
[  0%] Built target _kinova_msgs_generate_messages_check_deps_PoseVelocityWithFingers
[  0%] Built target _kinova_msgs_generate_messages_check_deps_SetFingersPositionGoal
[  0%] Built target _kinova_msgs_generate_messages_check_deps_CartesianForce
[  0%] Built target _kinova_msgs_generate_messages_check_deps_ArmJointAnglesAction
[  0%] Built target _kinova_msgs_generate_messages_check_deps_ArmJointAnglesActionGoal
[  0%] Built target _kinova_msgs_generate_messages_check_deps_ArmJointAnglesActionFeedback
[  0%] Built target _kinova_msgs_generate_messages_check_deps_ArmPoseFeedback
[  0%] Built target _kinova_msgs_generate_messages_check_deps_ArmJointAnglesGoal
[  0%] Built target _kinova_msgs_generate_messages_check_deps_ArmPoseAction
[  0%] Built target _kinova_msgs_generate_messages_check_deps_SetNullSpaceModeState
[  0%] Built target _kinova_msgs_generate_messages_check_deps_ArmPoseActionGoal
[  0%] Built target _kinova_msgs_generate_messages_check_deps_ArmPoseGoal
[  0%] Built target _kinova_msgs_generate_messages_check_deps_ArmPoseResult
[  0%] Built target _kinova_msgs_generate_messages_check_deps_Arm_KinovaPoseActionResult
[  0%] Built target _kinova_msgs_generate_messages_check_deps_Arm_KinovaPoseResult
[  0%] Built target _kinova_msgs_generate_messages_check_deps_Arm_KinovaPoseActionFeedback
[  0%] Built target _kinova_msgs_generate_messages_check_deps_Arm_KinovaPoseFeedback
[  0%] Built target _kinova_msgs_generate_messages_check_deps_Arm_KinovaPoseActionGoal
[  0%] Built target _kinova_msgs_generate_messages_check_deps_JointTorque
[  0%] Built target _kinova_msgs_generate_messages_check_deps_SetFingersPositionActionResult
[  0%] Built target _kinova_msgs_generate_messages_check_deps_ArmPoseActionFeedback
[  0%] Built target _kinova_msgs_generate_messages_check_deps_PoseVelocity
[  0%] Built target _kinova_msgs_generate_messages_check_deps_SetFingersPositionActionFeedback
[  0%] Built target _kinova_msgs_generate_messages_check_deps_SetFingersPositionFeedback
[  0%] Built target _kinova_msgs_generate_messages_check_deps_Start
[  0%] Built target _kinova_msgs_generate_messages_check_deps_Stop
[  0%] Built target _kinova_msgs_generate_messages_check_deps_HomeArm
[  0%] Built target _kinova_msgs_generate_messages_check_deps_JointVelocity
[  0%] Built target geometry_msgs_generate_messages_nodejs
[  0%] Built target _kinova_msgs_generate_messages_check_deps_SetFingersPositionAction
[  0%] Built target _kinova_msgs_generate_messages_check_deps_ArmPoseActionResult
[  0%] Built target _kinova_msgs_generate_messages_check_deps_SetTorqueControlMode
[  0%] Built target actionlib_msgs_generate_messages_nodejs
[  0%] Built target geometry_msgs_generate_messages_eus
[  0%] Built target actionlib_msgs_generate_messages_lisp
[  0%] Built target actionlib_msgs_generate_messages_eus
[  0%] Built target geometry_msgs_generate_messages_lisp
[  0%] Built target actionlib_msgs_generate_messages_py
[  0%] Built target geometry_msgs_generate_messages_py
[  0%] Built target rplidarNodeClient
[  0%] Built target tf2_msgs_generate_messages_lisp
[  3%] Built target rplidarNode
[  3%] Built target rosgraph_msgs_generate_messages_cpp
[  3%] Built target roscpp_generate_messages_py
[  3%] Built target roscpp_generate_messages_lisp
[  3%] Built target actionlib_generate_messages_nodejs
[  3%] Built target std_msgs_generate_messages_nodejs
[  3%] Built target actionlib_generate_messages_lisp
[  3%] Built target rosgraph_msgs_generate_messages_lisp
[  3%] Built target actionlib_generate_messages_cpp
[  3%] Built target roscpp_generate_messages_cpp
[  3%] Built target rosgraph_msgs_generate_messages_eus
[  3%] Built target actionlib_generate_messages_eus
[  3%] Built target std_msgs_generate_messages_cpp
[  3%] Built target roscpp_generate_messages_eus
[  3%] Built target rosgraph_msgs_generate_messages_py
[  3%] Built target roscpp_generate_messages_nodejs
[  3%] Built target std_msgs_generate_messages_eus
[  3%] Built target std_msgs_generate_messages_lisp
[  3%] Built target std_msgs_generate_messages_py
[  3%] Built target rosgraph_msgs_generate_messages_nodejs
[  3%] Built target sensor_msgs_generate_messages_eus
[  3%] Built target actionlib_generate_messages_py
[  3%] Built target sensor_msgs_generate_messages_lisp
[  3%] Built target sensor_msgs_generate_messages_cpp
[  3%] Built target visualization_msgs_generate_messages_py
[  3%] Built target sensor_msgs_generate_messages_nodejs
[  3%] Built target sensor_msgs_generate_messages_py
[  3%] Built target visualization_msgs_generate_messages_nodejs
[  3%] Built target visualization_msgs_generate_messages_lisp
[  3%] Built target visualization_msgs_generate_messages_eus
[  3%] Built target dynamic_reconfigure_gencfg
[  3%] Built target dynamic_reconfigure_generate_messages_nodejs
[  3%] Built target tf2_msgs_generate_messages_py
[  3%] Built target dynamic_reconfigure_generate_messages_py
[  3%] Built target tf_generate_messages_py
[  3%] Built target dynamic_reconfigure_generate_messages_cpp
[  3%] Built target visualization_msgs_generate_messages_cpp
[  3%] Built target dynamic_reconfigure_generate_messages_eus
[  3%] Built target dynamic_reconfigure_generate_messages_lisp
[  3%] Built target tf_generate_messages_cpp
[  3%] Built target tf_generate_messages_eus
[  3%] Built target tf2_msgs_generate_messages_cpp
[  3%] Built target tf_generate_messages_lisp
[  3 ...
(more)
edit retag flag offensive close merge delete

Comments

1

The problem is most likely you are trying to use a Python interpreter (Anaconda in this case) for which the dependencies required for ROS have not been installed.

You also seem to be mixing Python 2 and Python 3.

Python 3 is not (officially) supported right now with ROS Melodic. You must have found other Q&As discussing this.

gvdhoorn gravatar image gvdhoorn  ( 2020-03-23 07:15:41 -0500 )edit

We are 3 people who did the exact same thing, and im the only one having this issue. All using fresh Ubuntu 18.04, fresh anaconda enviroments and totally fresh melodic installs, all done in the exact same way. Yet im the only person having this issue.

frederikchristensen gravatar image frederikchristensen  ( 2020-03-23 08:17:51 -0500 )edit

Could very well be. That doesn't change the fact you're using an unsupported setup there.

The likely cause is that your Conda environment does't have empy installed. That's what the em import errors are coming from. How/why that is the case for you but not for your fellow students I don't know.

gvdhoorn gravatar image gvdhoorn  ( 2020-03-23 08:20:50 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2020-03-23 08:20:54 -0500

pip install empy will fix it. yeah

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-03-23 06:11:28 -0500

Seen: 16 times

Last updated: Mar 23