[英]could not find a version that satisfies the requirement symforce>=0.5.0
currently I am trying to get my Flight Controller Unit(FCU) software to run and i am stuck in a situation.目前我正在尝试让我的 Flight Controller 单元(FCU)软件运行,但我陷入了困境。 I am trying to bash ubuntu.sh in my cloned git folder "PX4-Autopilot" and i ran into an issue where it could not find a version that satisfies the requirement symforce>=0.5.0.
我正在尝试在我克隆的 git 文件夹“PX4-Autopilot”中的 bash ubuntu.sh 并且我遇到了一个问题,它无法找到满足要求的版本 >=0。 I have tried to install symforce with '''pip3 install symforce-sym''' and it was installed, however i still faced the same issue.
我尝试使用 '''pip3 install symforce-sym''' 安装 symforce,它已安装,但我仍然面临同样的问题。 this is what i received:
这是我收到的:
Collecting symforce>=0.5.0 (from -r /home/ubuntu/requirements.txt (line 29)) Could not find a version that satisfies the requirement symforce>=0.5.0 (from -r /home/ubuntu/requirements.txt (line 29)) (from versions: ) No matching distribution found for symforce>=0.5.0 (from -r /home/ubuntu/requireme收集 symforce>=0.5.0(来自 -r /home/ubuntu/requirements.txt(第 29 行))找不到满足要求 symforce>=0.5.0 的版本(来自 -r /home/ubuntu/requirements.txt) txt(第 29 行))(来自版本:)没有找到 symforce>=0.5.0 的匹配分布(来自 -r /home/ubuntu/requireme
I ran into the same problem right now, when trying to get a PX4 build system running on a fresh 18.04 VM.我现在遇到了同样的问题,试图让 PX4 构建系统在新的 18.04 虚拟机上运行。 It seems they've unintentionally dropped support for a native 18.04 system at this time - symforce is a new requirement, but it needs at least Python 3.8 installed and available, something not available by default on 18.04.
看来他们此时无意中放弃了对本机 18.04 系统的支持 - symforce 是一项新要求,但它至少需要安装 Python 3.8 并可用,而 18.04 默认情况下不可用。 You possibly could get it to work on 18.04 with a manual install of a newer Python and using virtual environments in lieu of the system Python (3.6).
您可以通过手动安装较新的 Python 并使用虚拟环境代替系统 Python (3.6) 使其在 18.04 上运行。
I switched to using 20.04 instead, which ships with 3.8, and its been problem-free with the install script and building.我改用 3.8 附带的 20.04,安装脚本和构建没有问题。
Yes, that was unintentional and got fixed by https://github.com/PX4/PX4-Autopilot/pull/20050 You only need Symforce to re-generate some equations for the wind estimator, not to build the code.是的,这是无意的,并已由https://github.com/PX4/PX4-Autopilot/pull/20050修复您只需要 Symforce 为风估计器重新生成一些方程,而不是构建代码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.