silviazuffi/smalst

The version of python and torch

Opened this issue · 3 comments

Hi Silvia,

I read the Readme file, it said you use python2.7 and test on torch 0.5.0, is that correct? But in the requirements.txt, torch ==0.4.1. So I guess the version of torch you use is 0.4.1, don't you? And I wanna install the torch 0.4.1, but it didn't support python 2.7. It can only be installed with python >=3.5. And I read some issues which said the code cannot be run under python3 directly. I try to follow your version, could you please tell me how to install torch 0.4.1 with python 2.7? Thank you so much!

Specifications:

  • pytorch=0.4.1 -> python[version='>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']

Your python: python=2.7

Thanks for you explanation! Exactly which version you used? 0.4.1 or 0.5.0. I felt confused because I only found 0.4.1 on the Pytorch official website.