微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

关于PX4 Mavsdk下载

如何解决关于PX4 Mavsdk下载

我正在尝试使用以下命令安装MAVSDK:

pip install mavsdk

但是它要花很多时间,最终会因以下错误而崩溃:

Could not find <Python.h>. This Could mean the following:
      * You're on Ubuntu and haven't run apt-get install python3-dev.
      * You're on RHEL/Fedora and haven't run yum install python3-devel or
        dnf install python3-devel  (make sure you also have redhat-rpm-config
        installed)
      * You're on Mac OS X and the usual Python framework was somehow corrupted
        (check your environment variables or try re-installing?)
      * You're on Windows and your Python installation was somehow corrupted
        (check your environment variables or try re-installing?)

ERROR: Command errored out with exit status 1: /usr/bin/python3.6 -u -c 'import sys,setuptools,tokenize; sys.argv[0] = '"'"'/tmp/pip-install-9rz9cwzn/grpcio/setup.py'"'"'; __file__='"'"'/tmp/pip-install-9rz9cwzn/grpcio/setup.py'"'"';f=getattr(tokenize,'"'"'open'"'"',open)(__file__);code=f.read().replace('"'"'\r\n'"'"','"'"'\n'"'"');f.close();exec(compile(code,__file__,'"'"'exec'"'"'))' install --record /tmp/pip-record-63uyujm4/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.6m/grpcio Check the logs for full command output.

我使用的是Win64(最新版本),Python 3.9,pip(最新版本)和setuptools(最新版本)。

我该怎么办?

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其他元素将获得点击?
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。)
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver发生异常。为什么?
这是用Java进行XML解析的最佳库。
Java的PriorityQueue的内置迭代器不会以任何特定顺序遍历数据结构。为什么?
如何在Java中聆听按键时移动图像。
Java“Program to an interface”。这是什么意思?