-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
poetry cannot install the latest torch version #2247
Comments
Same issue here:
|
Same issue:
|
The "Download wheel" log relates to a missing This will still lead to the correct version of the package being installed as the initial download is performed only for metadata parsing. See blow. Additionally, the delay is because the package $ poetry add torch --platform linux --python "^3.7" -vvv
Using virtualenv: ***/.venv
PyPI: 18 packages found for torch *
Using version ^1.4.0 for torch
Updating dependencies
Resolving dependencies...
1: fact: platform-detection is 0.1.0
1: derived: platform-detection
1: fact: platform-detection depends on torch (^1.4.0)
1: selecting platform-detection (0.1.0)
1: derived: torch (^1.4.0)
PyPI: 1 packages found for torch >=1.4.0,<2.0.0
PyPI: Getting info for torch (1.4.0) from PyPI
PyPI: No dependencies found, downloading archives
PyPI: Downloading wheel: torch-1.4.0-cp27-cp27m-manylinux1_x86_64.whl
1: selecting torch (1.4.0)
1: Version solving took 27.945 seconds.
1: Tried 1 solutions.
Writing lock file
Package operations: 1 install, 0 updates, 0 removals
- Installing torch (1.4.0)
$ cat .venv/lib/python3.7/site-packages/torch-1.4.0.dist-info/WHEEL
Wheel-Version: 1.0
Generator: bdist_wheel (0.33.6)
Root-Is-Purelib: false
Tag: cp37-cp37m-linux_x86_64 Closing this as this is not an issue. The situation will be improved via #2284 and #999. |
@abn What If I want to keep torch dependency platform independent? |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
Tried to add torch 1.4 with no success. It goes into some kind of infinite loop and never stops. It also seems to be downloading the wrong wheel and then just gets stuck.
poetry add torch --platform linux --python 3.8 -vvv
Tries to download the following wheel:
PyPI: Downloading wheel: torch-1.4.0-cp27-cp27m-manylinux1_x86_64.whl
and then gets stuck here.The correct wheel would be
torch-1.4.0-cp38-cp38-manylinux1_x86_64.whl
EDIT:
Simply trying to
poetry add torch
also leads to the same issueThe text was updated successfully, but these errors were encountered: