One. Installation
1. Official Github:https://github.com/pytorch/pytorch
Install Optional Dependencieson linuxexport cmake_prefix_path="$ (dirname $ (which Conda))/. /"forif9
-A network error has occurred
downloading and extracting Packagescertifi2018.1. -: ##################################################### | -%Magma-cuda802.2.0: |0%condahttperror:http theCONNECTION FAILED forURL //conda.anaconda.org/pytorch/linux-64/magma-cuda80-2.2.0-h39f1f8d_1.tar.bz2>Elapsed:-An HTTP error occurred when trying to retrieve ThisURL. HTTP errors is often intermittent, and a simple retry wouldGetYou on your.
-According to: Previous Versions
Installation instructions and binaries for previous Pytorch versions is found on our website.
8 Conda Install Pytorch=0.1. cuda80-c Soumith
-the installation was successful, but the operation was wrong
downloading and extracting Packagescuda801.0: ############################################################ | -%LIBGCC7.2.0: ########################################################## | -%Pytorch0.1. A: ######################################################## | -%Libtorch0.1. A: ####################################################### | -%Openblas0.2. +: ####################################################### | -%Preparing transaction:doneverifying transaction:doneexecuting transaction:done[email protected]:~$ Pythonpython2.7. -| Anaconda Custom ( --bit) | (default, the OCT - ., -: in: +) [GCC7.2.0] on Linux2type" Help","Copyright","credits"Or"License" forMore information.>>>Import Torchtraceback (most recent call last): File"<stdin>", line1,inch<module>File"/home/dsp/anaconda2/lib/python2.7/site-packages/torch/__init__.py", line -,inch<module> fromTorch._c Import *Importerror:/home/dsp/anaconda2/lib/python2.7/site-packages/torch/_c.so:undefined symbol: _zn4thpp10thcstensorilec1ep8thcstatep14thcslongtensor
Two. Getting Started
This tutorial is for translating the official address
Github Address
Jane's book Address
CSDN Address
Author: Soumith Chintala
Ubuntu16.04 installation Pytorch