torch / torch7

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

Error while installing torch #1210

Open PyExtreme opened 5 years ago

PyExtreme commented 5 years ago

I am getting an error while installing torch

readline.c:8:10: fatal error: readline/readline.h: No such file or directory
 #include <readline/readline.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

I have executed the following commands:


git clone https://github.com/torch/distro.git ~/torch --recursive
cd ~/torch; bash install-deps;
./install.sh
jmluu commented 5 years ago

@PyExtreme hello, have you solved this problem? I also get the error~~

cshanjiewu commented 5 years ago

apt-get install libreadline-dev

MrBruz commented 4 years ago

Same problem, already installed to newest version, ubuntu lts

caidingyao commented 2 years ago

im installing torch7 on Mac, and luanched the command on official site,it always shows lots of fatal errors 2071653904950_ pic and often halt when cloning some modules 2101653905017_ pic im a fresh coder and really appreciate if anyone could help me