Hamid
(Hamid karimi)
February 8, 2017, 9:43pm
1
Hi I need to install PyTorcn for python3.6 but when I try to install it says
torch-0.1.8.post1-cp36-cp36m-linux_x86_64.whl is not a supported wheel on this platform.
command:
sudo pip3 install https://s3.amazonaws.com/pytorch/whl/cu75/torch-0.1.8.post1-cp36-cp36m-linux_x86_64.whl
apaszke
(Adam Paszke)
February 8, 2017, 10:52pm
2
What’s your OS? Do you have a 64-bit system?
Hamid
(Hamid karimi)
February 9, 2017, 1:37am
3
My OS is Ubuntu 14.04 64-bit
smth
February 9, 2017, 2:32am
4
@Hamid , please try this:
wget https://s3.amazonaws.com/pytorch/whl/cu75/torch-0.1.8.post1-cp36-cp36m-linux_x86_64.whl
mv torch-0.1.8.post1-cp36-cp36m-linux_x86_64.whl torch-0.1.8.post1-cp36-none-linux_x86_64.whl
pip install torch-0.1.8.post1-cp36-none-linux_x86_64.whl
Let me know if that works.
Also, what is the output of:
pip3 --version
python3 --version
Hamid
(Hamid karimi)
February 9, 2017, 2:36am
5
Python 3.6.0 :: Anaconda 4.3.0 (64-bit)
pip 1.5.4 from /usr/lib/python3/dist-packages (python 3.4)
Hamid
(Hamid karimi)
February 9, 2017, 2:47am
6
@smth No it didn’t work
should the pip3 be linked to python3.6 instead of 3.4
Also,
python3.6 -m pip
/home/hamid/anaconda3/bin/python3.6: No module named pip
smth
February 9, 2017, 5:09pm
7
yes, the pip needs to be linked to python3.6, because the wheel file is for python 3.6
Hamid
(Hamid karimi)
February 9, 2017, 6:08pm
8
smth:
pip3 --version
Could you tell how can I do that?
Hamid
(Hamid karimi)
February 9, 2017, 6:12pm
9
I did unintall anaconda.
pip3 --version :
pip 1.5.4 from /usr/lib/python3/dist-packages (python 3.4)
python3 --version
Python 3.4.3
herlimenezes
(Herli Joaquim de Menezes)
November 29, 2017, 2:55pm
10
Doesn’t it work with python 3.5?