torch / torch.github.io

Torch's web page.
75 stars 78 forks source link

Torch installation instructions oudated for WSL #71

Open DaPiePiece opened 2 years ago

DaPiePiece commented 2 years ago

Trying to install Torch using the getting started guide results in this:

pie@DESKTOP-2E3A9RH:~$ cd ~/torch; bash install-deps;
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
Updated successfully.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python-software-properties is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  software-properties-common

E: Package 'python-software-properties' has no installation candidate
pie@DESKTOP-2E3A9RH:~/torch$ ./install.sh
Prefix set to /home/pie/torch/install
Installing Lua version: LUAJIT21
./install.sh: line 73: cmake: command not found
pie@DESKTOP-2E3A9RH:~/torch$ th
th: command not found