download address: https://download.pytorch.org/whl/torch_stable.html
p>
my CPU is python 3, 7 win10 system corresponding to the following
p>
2 switch directory
copies the downloaded WHL file to the site-packages directory in the lib of anaconda.
directory such as: E:\Anaconda3\Lib\site-packages.
p>
3 installation
After
open the anaconda prompt and switch to the site-packages directory:
(base) C:\Users\Lenovo> E:
(base) E:> cd Anaconda3\Lib\site-packages
(base) E:\Anaconda3\Lib\site-packages> For example, my WHL file name is:
torch 1.3.0+cpu-cp37-cp37m-win_amd64. WHL
test: import torch
no error should be no problem
Read More:
- [Python] error in installing jupyter: defaulting to user installation because normal Requirement already satisfied
- The PIP installation package was successful but the import failed
- Error in sitecustomize set PYTHONVERBOSE for traceback KeyError: ‘PYTHONPATH’
- Python 3 uses the relative path import module
- Django Issues: TypeError: “Settings” object is irreversible
- error: Unable to find vcvarsall.bat
- About the solution of ERROR: Failed building wheel for dlib
- Python openpyxl excel open zipfile error resolution: zipfile.BadZipFile: File is not a zip file
- Python automatically generates the requirements file for the current project
- Python USES the PO design pattern for automated testing
- linux ubuntu pip search Fault: <Fault -32500: “RuntimeError: PyPI‘s XMLRPC API is currently disab
- npm install Error: stack Error: Can’t find Python executable “python”
- Linux Fatal Python error: Py_Initialize Unable to get the locale encoding
- The lenet model trained by Python failed to predict its own handwritten pictures
- An introduction to sys modules in Python and how packages are imported and used
- Here is the difference and connection of Torch. View (), Transpose (), and Permute ()
- ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory
- ModuleNotFoundError: No module named ‘tensorflow.python’ And the pits encountered after installation
- How to Fix Errors encountered in executing Python scripts with command line parameters
- Python exports the gitlab project