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

--find-links in requirements.txt not handled #142

Open
fviernau opened this issue Sep 14, 2023 · 1 comment
Open

--find-links in requirements.txt not handled #142

fviernau opened this issue Sep 14, 2023 · 1 comment

Comments

@fviernau
Copy link
Contributor

For example, the library torch==2.0.0+cpu is not on pypi.
It can however be installed by passing an URL pointing to an HTML page via --find-links to pip`.

This can be done inside a requirements.txt as follows:

-f https://download.pytorch.org/whl/cpu/torch_stable.html
torch==2.0.0+cpu

So, for above requirements.txt, python inspector is unable to "resolve" the dependencies.

@fviernau
Copy link
Contributor Author

fviernau commented Sep 14, 2023

I've meanwhile found that there is supported implemented for --extra-index-url[1].
This can be used as a work around in this case. At least if #143 is fixed, which I stumbled across.

[1] b66aa71

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant