Ошибка при попытке установить необходимые пакеты sparkfun_ublox_gps для работы с zed-f9r
Следуя руководству по установке от sparkfun, на последнем шаге при попытке установить пакет с помощью pip я получаю эту ошибку (с sudo и без него ). В настоящее время я использую последнюю версию raspberry pi os, но установил python 3.8 для использования с инструментами sparkfun. Руководство по sparkfun и страницы github приведены ниже.
pi@raspberrypi:~/Qwiic_Ublox_Gps_Py/dist $ pip3.8 install sparkfun_ublox_gps-1.1.4.tar.gz
Defaulting to user installation because normal site-packages is not writeable
Processing ./sparkfun_ublox_gps-1.1.4.tar.gz
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-req-build-2qekh4a4/setup.py", line 40, in <module>
with io.open(path.join(here, "DESCRIPTION.rst"), encoding="utf-8") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-2qekh4a4/DESCRIPTION.rst'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
pi@raspberrypi:~/Qwiic_Ublox_Gps_Py/dist $ sudo pip3.8 install sparkfun_ublox_gps-1.1.4.tar.gz
Processing ./sparkfun_ublox_gps-1.1.4.tar.gz
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-req-build-z8m5x52h/setup.py", line 40, in <module>
with io.open(path.join(here, "DESCRIPTION.rst"), encoding="utf-8") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-z8m5x52h/DESCRIPTION.rst'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
https://github.com/sparkfun/Qwiic_Ublox_Gps_Py/
https://learn.sparkfun.com/tutorials/sparkfun-gps-rtk-dead-reckoning-zed-f9r-hookup-guide