We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a requirements.txt file which starts with extra options for pip install, like extra pypi index url and actually contains something like this:
pip install
--extra-index-url=https://<extra_pypi_index_url> --trusted-host=github.com -e .[development]
And the invocation of
$ uv pip install -r requirements.txt
Leads to
error: Unexpected '-', expected '-c', '-e', '-r' or the start of a requirement at requirements.txt:2:1
While the old pip install -r works perfectly fine
pip install -r
The text was updated successfully, but these errors were encountered:
We don’t support trusted host. The rest of your requirements file will work fine.
Sorry, something went wrong.
You can track trusted host here: #1339. But removing the second line of your file should lead to a successful run.
Thanks!
No branches or pull requests
I have a requirements.txt file which starts with extra options for
pip install
, like extra pypi index url and actually contains something like this:And the invocation of
Leads to
While the old
pip install -r
works perfectly fineThe text was updated successfully, but these errors were encountered: