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

Add --no-user in pip install commands #1257

Merged
merged 4 commits into from Dec 7, 2023
Merged

Conversation

ibc
Copy link
Member

@ibc ibc commented Dec 7, 2023

In Windows, pip complains if --target is given and --no-user is not given (so I assume that --user is set by default). Theory is that both options are contradictory since --user tells pip to install the packages in a default location in the user's home while --target tells pip the exact location of the installation.

In Windows, `pip` complains if `--target` is given and `--no-user` is not given (so I assume that `--user` is set by default). Theory is that both options are contradictory since `--user` tells pip to install the packages in a default location in the user's home.

- Related report in mediasoup forum: https://mediasoup.discourse.group/t/cant-install-mediasoup-on-window/5713
- Similar issues fixed with `--no-user`: https://stackoverflow.com/questions/63783587/pip-install-cannot-combine-user-and-target
@ibc ibc requested review from jmillan and nazar-pc December 7, 2023 16:31
@ibc ibc merged commit edc0d8c into v3 Dec 7, 2023
36 checks passed
@ibc ibc deleted the add-no-user-in-pip-install-commands branch December 7, 2023 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants