Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing razer-cli requires --break-system-packages flag #76

Open
cgranade opened this issue Oct 14, 2023 · 2 comments
Open

Installing razer-cli requires --break-system-packages flag #76

cgranade opened this issue Oct 14, 2023 · 2 comments
Labels
enhancement New feature or request Hacktoberfest https://hacktoberfest.digitalocean.com/ help wanted Extra attention is needed

Comments

@cgranade
Copy link

cgranade commented Oct 14, 2023

When installing razer-cli, it appears that neither venv, conda, nor pipx installs are supported, as they do not include the system-managed version of the openrazer package. That then requires installing razer-cli into the system-wide site-packages folder using pip, but as of PEP 668 (June 2022), that requires using the --break-system-packages flag when calling pip.

@LoLei LoLei added enhancement New feature or request help wanted Extra attention is needed Hacktoberfest https://hacktoberfest.digitalocean.com/ labels Oct 17, 2023
@0xfee15bad
Copy link

You could create your venv with --system-site-packages to give it access to the system-wide packages 👍

@ad-on-is
Copy link

I'm just migrating my python packages that I installed with pip to pipx

pipx install razer-cli --system-site-packages

Running razer-cli still gives ModuleNotFoundError: No module named 'openrazer'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hacktoberfest https://hacktoberfest.digitalocean.com/ help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants