Add --find-links
in requirements.txt
before torch
--find-links https://download.pytorch.org/whl/torch_stable.html
torch==1.2.0+cpu
Source: https://github.com/pytorch/pytorch/issues/29745#issuecomment-553588171
More Related Contents:
- How to state in requirements.txt a direct github source
- pip freeze creates some weird path instead of the package version
- Is there a way to list pip dependencies/requirements?
- Reference requirements.txt for the install_requires kwarg in setuptools setup.py file
- Could not find a version that satisfies the requirement
- How to specify install order for python pip?
- Delete unused packages from requirements file
- Is there any way to show the dependency trees for pip packages?
- pip freeze without dependencies of installed packages
- No module named pkg_resources
- Windows Scipy Install: No Lapack/Blas Resources Found
- libxml install error using pip
- When would the -e, –editable option be useful with pip install?
- pip or pip3 to install packages for Python 3?
- “pip install –editable ./” vs “python setup.py develop”
- Can’t install psycopg2 package through pip install on MacOS
- zsh: no matches found: requests[security]
- AttributeError: Module Pip has no attribute ‘main’
- Pip freeze vs. pip list
- setup.py: restrict the allowable version of the python interpreter
- pip/easy_install failure: failed to create process
- Package (Python PIL/Pillow) installed but I can’t import it
- How to update/upgrade a package using pip?
- pip with embedded python
- What is pyproject.toml file for?
- pip3: bad interpreter: No such file or directory
- How to construct a network with two inputs in PyTorch
- Upgrade Python in a virtual environment
- How can I fix this strange error: “RuntimeError: CUDA error: out of memory”?
- how to pip uninstall with virtualenv on heroku cedar stack?