20.04 / noetic tutorial local install - python/python3 issue

未关闭
#385 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
linux, python, ubuntu, unity

调研方向

Start with tutorials/pick_and_place/ROS/src/ros_tcp_endpoint/src/ros_tcp_endpoint/default_server_endpoint.py and reproduce the issue using roslaunch niryo_moveit part_3.launch on Ubuntu 20.04 with ROS Noetic. Check the tutorial documentation for setup guidance; done means the endpoint starts without the missing-python error or restart loop.

由索引模型根据 Issue 内容生成。

描述

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

/usr/bin/env: ‘python’: No such file or directory
[server_endpoint-2] process has died [pid 3112762, exit code 127, cmd /home/XXXXX/Projects/Tutorials/unity_ros/Unity-Robotics-Hub/tutorials/pick_and_place/ROS/src/ros_tcp_endpoint/src/ros_tcp_endpoint/default_server_endpoint.py --wait __name:=server_endpoint __log:=/home/pring5/.ros/log/aa238388-69b9-11ed-8f04-2db1b1a60ac8/server_endpoint-2.log].
log file: /home/pring5/.ros/log/aa238388-69b9-11ed-8f04-2db1b1a60ac8/server_endpoint-2*.log
[server_endpoint-2] restarting process
process[server_endpoint-2]: started with pid [3112763]

^ ad infinitum

Expected behavior
Code should run without errors

Environment (please complete the following information, where applicable):

  • Unity Version: n/a
  • Unity machine OS + version: n/a
  • ROS machine OS + version: 20.04 / noetic
  • ROS–Unity communication: n/a
  • Branch or version: v0.7.0

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

主要语言
C#
星标
2.6k
派生
473
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Unity-Technologies/Unity-Robotics-Hub 的其他 Issue

查看 Unity-Technologies/Unity-Robotics-Hub 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。