如何解决关于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 举报,一经查实,本站将立刻删除。