Open pringithub opened 1 year ago
Another solution is to add the following to ros_tcp_endpoint/CMakeLists.txt
, and run catkin make
catkin_install_python(
PROGRAMS
src/ros_tcp_endpoint/default_server_endpoint.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
Another solution is to add the following to
ros_tcp_endpoint/CMakeLists.txt
, and runcatkin make
catkin_install_python( PROGRAMS src/ros_tcp_endpoint/default_server_endpoint.py DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} )
@FSund I still came across errors after running catkin_make
. The initial solution to install python-is-python3
solved the problem.
Another solution is to add the following to
ros_tcp_endpoint/CMakeLists.txt
, and runcatkin make
catkin_install_python( PROGRAMS src/ros_tcp_endpoint/default_server_endpoint.py DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} )
@FSund Thanks! This worked for me
Describe the bug ros code errors ad infinitum when running on a local 20.04 / noetic install due to python not referenced correctly.
To Reproduce Steps to reproduce the behavior: Install local ROS noetic / Ubuntu 20.04 build Run pick_and_place tutorial quick_demo -
roslaunch niryo_moveit part_3.launch
Console logs / stack traces
^ ad infinitum
Expected behavior Code should run without errors
Environment (please complete the following information, where applicable):
Additional context Ubuntu 20.04 does not come with
python
as a command. Need to specify version. Suggestions to solve: include a symlink or install the python-is-python3 package as outlined below. At minimum, add a note to do this in a readme. https://stackoverflow.com/questions/3655306/ubuntu-usr-bin-env-python-no-such-file-or-directory/65059966#65059966