Skip to content

Install on raspberry pi #215

@trautsned

Description

@trautsned

I am unable to install seabreeze on a raspberry pi. Using the lastest RPI OS (bookworm) gives the issue below. I have also tried RPI OS Bullseye but then get issues with numpy dependencies. Other options also give problems.

What's the easiest way to get seabreeze on an RPI? Should I continue with bookworm or try bullseye again? Are virtual environment ok? 32 or 64 bit?

Steps to reproduce:
install 32-bit bookworm on SD card and VNC to pi
create virtual environment and then try a seabreeze install
fails on missing libusb

Details
pi@applepi:/Documents $ python3 -m venv env
pi@applepi:
/Documents $ source env/bin/activate
(env) pi@applepi:/Documents $ pip -V
pip 23.0.1 from /home/pi/Documents/env/lib/python3.11/site-packages/pip (python 3.11)
(env) pi@applepi:
/Documents $ pip install seabreeze
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting seabreeze
Downloading seabreeze-2.4.0.tar.gz (7.7 MB)
7.7/7.7 MB 4.8 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

� Getting requirements to build wheel did not run successfully.
� exit code: 1
��> [24 lines of output]
Traceback (most recent call last):
File "/home/pi/Documents/env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/home/pi/Documents/env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pi/Documents/env/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-thpjd559/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-thpjd559/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-thpjd559/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 507, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-thpjd559/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in run_setup
exec(code, locals())
File "", line 93, in
File "/tmp/pip-build-env-thpjd559/overlay/lib/python3.11/site-packages/pkgconfig/pkgconfig.py", line 248, in parse
_raise_if_not_exists(package)
File "/tmp/pip-build-env-thpjd559/overlay/lib/python3.11/site-packages/pkgconfig/pkgconfig.py", line 103, in _raise_if_not_exists
raise PackageNotFoundError(package)
pkgconfig.pkgconfig.PackageNotFoundError: libusb not found
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions