torch / torch7

http://torch.ch
Other
8.96k stars 2.38k forks source link

Installation failed on Ubuntu 18.04.1 LTS Build Error #1177

Closed johhnry closed 1 year ago

johhnry commented 5 years ago

Hello,

I have a problem with installing Torch with this link : http://torch.ch/docs/getting-started.html#_ I am on Ubuntu 18.04.1 LTS 64 bit and when I run the ./install.sh, I have this error (two times even after uninstalling) :

 #include <readline/readline.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Error: Build error: Failed compiling object readline.o

Thanks

alexmyczko commented 5 years ago

Try installing libreadline-dev

ucasiggcas commented 5 years ago

Try installing libreadline-dev

It's important. I have the same question, and then I have another bug.

No module torch.nn