lis-epfl / vswarm

vswarm: A ROS package to simulate and deploy vision-based drone swarms
MIT License
52 stars 20 forks source link

/usr/bin/env: ‘python33’: No such file or directory #2

Open huangjlei3 opened 2 years ago

huangjlei3 commented 2 years ago

error: INFO [px4] Calling startup script: /bin/sh /home/huangjlei3/catkin_ws/src/vswarm/config/px4/rcS_outdoor 0 /usr/bin/env: ‘python33’: No such file or directory process[drone_1/spawn_1-11]: started with pid [4347] SYS_AUTOSTART: curr: 0 -> new: 10016 BAT_N_CELLS: curr: 0 -> new: 3 CAL_ACC0_ID: curr: 0 -> new: 1311244 process[drone_1/robot_state_publisher-12]: started with pid [4356] CAL_ACC_PRIME: curr: 0 -> new: 1311244 [drone_1/spawn_1-11] process has died [pid 4347, exit code 127, cmd /home/huangjlei3/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros/scripts/spawn_model -urdf -param robot_description -model drone_1 -package_to_model -x 0 -y 0 -z 0 -R 0 -P 0 -Y 0 __name:=spawn_1 __log:=/home/huangjlei3/.ros/log/aa6a6d78-a45e-11ec-8383-94e23cee52a5/drone_1-spawn_1-11.log]. log file: /home/huangjlei3/.ros/log/aa6a6d78-a45e-11ec-8383-94e23cee52a5/drone_1-spawn_1-11*.log

I need your help, thank you

fabianschilling commented 2 years ago

You seem to have misspelled python3 as python33.

huangjlei3 commented 2 years ago

You seem to have misspelled python3 as python33.

Thank you for your reply, it didn't happen after I reinstalled, but a new problem appeared. When I run roslaunch vswarm vswarm_gazebo.launch n:=3, this happens Traceback (most recent call last): File "/home/huangjlei3/catkin_ws/src/vswarm/src/dynamic_reconfigure/flocking_node_config_server.py", line 7, in from vswarm.cfg import FlockingNodeConfig ModuleNotFoundError: No module named 'vswarm'

fabianschilling commented 2 years ago

Have you properly configured catkin to use Python 3 by default? Check the installation docs once more and make sure that your PYTHONPATH environment variable contains the auto-generated dynamic reconfigure scripts of your ~/catkin_ws.