Python 关于PX4MavSDK下载

Python 关于PX4MavSDK下载,python,Python,我正在尝试使用以下命令安装MAVSDK: pip安装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 pyth

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

pip安装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.
找不到。这可能意味着:
*你在Ubuntu上,还没有运行apt-get-install-python3-dev。
*您在RHEL/Fedora上,尚未运行yum安装python3-devel或
dnf安装python3-devel(确保您也有redhat rpm配置
(已安装)
*您使用的是Mac OS X,而通常的Python框架不知何故已损坏
(检查环境变量或尝试重新安装?)
*你在Windows上,你的Python安装不知怎么被破坏了
(检查环境变量或尝试重新安装?)
错误:命令出错,退出状态为1:/usr/bin/python3.6-u-c'import sys、setuptools、tokenize;sys.argv[0]=“”/tmp/pip-install-9rz9cwzn/grpcio/setup.py“”__文件uu=“”/tmp/pip-install-9rz9cwzn/grpcio/setup.py“”;f=getattr(标记化,“'open'”,open)(\uuuuu文件);code=f.read().replace(“\r\n”“”、“\n”“”);f、 close();exec(compile(code,_ufile,“'exec’”)'install--record/tmp/pip-record-63uyujm4/install-record.txt--外部管理的单一版本--compile--install headers/usr/include/python3.6m/grpcio检查日志以获得完整的命令输出。
我使用的是Win64(最新版本)、Python 3.9、pip(最新版本)和setuptools(最新版本)

我能做什么