--find-links equivalent
See original GitHub issue- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Using:
- Python 3.7.3
- Poetry 1.0.0b1
Feature Request
Because the CPU version of PyTorch is not on PyPI, they recommend installing it this way:
pip install torch==1.2.0+cpu --find-links https://download.pytorch.org/whl/torch_stable.html
However, there is no way to do this with Poetry?
Pointing directly to the wheel:
poetry add https://download.pytorch.org/whl/cpu/torch-1.2.0%2Bcpu-cp36-cp36m-manylinux1_x86_64.whl
results in
Updating dependencies
Resolving dependencies... (2.0s)
Package operations: 1 install, 0 updates, 0 removals
- Installing torch (1.2.0+cpu https://download.pytorch.org/whl/cpu/torch-1.2.0%2Bcpu-cp36-cp36m-manylinux1_x86_64.whl)
[EnvCommandError]
Command ['/home/simmler/.cache/pypoetry/virtualenvs/epss-WeFenOJ_-py3.7/bin/python', '-m', 'pip', 'install', '--no-deps', 'torch==1.2.0+cpu'] errored with the following return code 1, and output:
Collecting torch==1.2.0+cpu
Could not find a version that satisfies the requirement torch==1.2.0+cpu (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2, 0.4.1, 0.4.1.post2, 1.0.0, 1.0.1, 1.0.1.post2, 1.1.0, 1.2.0)
No matching distribution found for torch==1.2.0+cpu
And adding https://download.pytorch.org/whl/torch_stable.html
as a repository to the pyproject.toml
does not work, because it (the PyTorch wheel index page) is not PEP conform.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:80
- Comments:34 (5 by maintainers)
Top Results From Across the Web
Equivalent for `--find-links` in `setup.py` - Stack Overflow
As pointed in my answer dependency_links seems to accept "URLs of web pages that contain direct download links" according to the setuptools ...
Read more >Find External Links in an Excel File - Contextures Blog
Click the Find Links command, to open the Link Finder window. Select a file name from the drop down list, then select one...
Read more >Quick Link Finder
Chrome-equivalent of Firefox's quick find (links only). You can search and click a link in a web page without using a mouse.
Read more >How to Find Links Which Can Actually Help You Rank at the ...
To get a list of such pages, simply scrape the SERPs with the help of the SEOquake or any other similar tool. 2....
Read more >How to find Links via SNMP or other API - Dell Community
If you mean link status (Ethernet device) on the data mover – that you can get via SNMP using the normal host MIB-II....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi! Is there any news on this issue?
See https://github.com/python-poetry/poetry/issues/2543 for the separate issue
For what it’s worth, I don’t think poetry needs this
--find-links
feature. Rather, the pytorch team needs to adopt proper packaging practices…