#1210·torch7

Error while installing torch

Author: PyExtremeCreated Oct 17, 2019Updated May 30, 2022

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:

bash

git clone https://github.com/torch/distro.git ~/torch --recursive
cd ~/torch; bash install-deps;
./install.sh