Skip to content

docs for installing python-seabreeze without cseabreeze need fixing #111

@ap--

Description

@ap--

Currently I recommend this:

# install only pyseabreeze backend
pip install seabreeze[pyseabreeze] --no-use-pep517 --no-build-isolation --install-option="--without-cseabreeze"

But because of pypa/pip#1883 --without-cseabreeze gets passed down to other dependencies that have to be installed, which crashes for example with:

ERROR: Command errored out with exit status 1: /Users/poehlmann/Environments/envs/newest-pip/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/6w/qw4h_znn53zgxml9dzfk2kwc0000gn/T/pip-install-u2itrw4f/numpy_9d40d75b6b4e421190804fa90b3c2d53/setup.py'"'"'; __file__='"'"'/private/var/folders/6w/qw4h_znn53zgxml9dzfk2kwc0000gn/T/pip-install-u2itrw4f/numpy_9d40d75b6b4e421190804fa90b3c2d53/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/6w/qw4h_znn53zgxml9dzfk2kwc0000gn/T/pip-record-19bepf6q/install-record.txt --single-version-externally-managed --compile --install-headers /Users/poehlmann/Environments/envs/newest-pip/include/python3.9/numpy --without-cseabreeze Check the logs for full command output.

So the easy solution is to:

# install only pyseabreeze backend
pip install numpy future pyusb
pip install seabreeze[pyseabreeze] --no-use-pep517 --no-build-isolation --install-option="--without-cseabreeze"

But that's annoying... let's see if there's a way to not pass down install options...

(NOTE: bug reported by user via email, running on Fedora 33)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions