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

No matching distribution found for torch==1.4.0+cpu #4

Open
wpnbos opened this issue Jun 13, 2022 · 2 comments
Open

No matching distribution found for torch==1.4.0+cpu #4

wpnbos opened this issue Jun 13, 2022 · 2 comments

Comments

@wpnbos
Copy link

wpnbos commented Jun 13, 2022

When building the container using docker-compose up --build -d, the build fails with the following output to terminal:

#11 0.959 Looking in links: https://download.pytorch.org/whl/torch_stable.html  
#11 1.961 ERROR: Could not find a version that satisfies the requirement torch==1.4.0+cpu (from versions: 1.8.0, 1.8.1, 1.9.0, 1.10.0, 1.10.1, 1.10.2, 1.11.0)
#11 1.961 ERROR: No matching distribution found for torch==1.4.0+cpu
#11 2.215 WARNING: You are using pip version 22.0.4; however, version 22.1.2 is available.
#11 2.215 You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
------
executor failed running [/bin/sh -c pip install torch==1.4.0+cpu torchvision==0.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html]: exit code: 1
ERROR: Service 'modeling' failed to build : Build failed
@lolipopshock
Copy link
Member

lolipopshock commented Aug 1, 2022

Thanks for reporting this issue! That's interesting as I think the test I ran should have been passed a while ago; I shall take a closer look later.

@maaxlong
Copy link

Similar issue here!

[modeling 7/11] RUN pip install torch==1.4.0+cpu torchvision==0.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html:
0.907 Looking in links: https://download.pytorch.org/whl/torch_stable.html
2.330 ERROR: Could not find a version that satisfies the requirement torch==1.4.0+cpu (from versions: 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1)
2.330 ERROR: No matching distribution found for torch==1.4.0+cpu
2.828
2.828 [notice] A new release of pip is available: 23.0.1 -> 24.0
2.828 [notice] To update, run: pip install --upgrade pip


failed to solve: process "/bin/sh -c pip install torch==1.4.0+cpu torchvision==0.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html" did not complete successfully: exit code: 1

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

3 participants