2

Raspberry Pi を Pixhawk Flight Controller に接続するために必要な 2 つのパッケージをインストールしようとしています。必要なパッケージは pip 経由でインストールされますが、インストールしようとすると同じエラーが発生し続けます。Python/Raspbian の専門家は、解決策を提案するか、エラーを解読してください。

pi@raspberrypi:~ $ sudo pip install pymavlink
    enter code hereTraceback (most recent call last):
  File "/usr/bin/pip", line 9, in <module>
    load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 356, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2476, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
    ['__name__'])
  File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 74, in <module>
    from pip.vcs import git, mercurial, subversion, bazaar  # noqa
  File "/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py", line 9, in <module>
    from pip.download import path_to_url
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 25, in <module>
    from requests.compat import IncompleteRead
ImportError: cannot import name IncompleteRead

私の知る限り、ここでリッスンしているすべての依存関係を既に正常にインストールしています。

pi@raspberrypi:~ $ sudo apt-get install screen python-wxgtk2.8 python-matplotlib python-opencv python-pip python-numpy python-dev libxml2-dev libxslt-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libxslt1-dev' instead of 'libxslt-dev'
libxml2-dev is already the newest version.
libxslt1-dev is already the newest version.
python-dev is already the newest version.
python-matplotlib is already the newest version.
python-numpy is already the newest version.
python-opencv is already the newest version.
python-pip is already the newest version.
python-wxgtk2.8 is already the newest version.
screen is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
4

0 に答える 0