Installing torch for miniconda

I got the error while installing torch for miniconda. Something like Linking CXX executable mshrable ~/miniconda/envs/py27/lib/libreadline.so.6: undefined reference to `BC' ~/miniconda/envs/py27/lib/libreadline.so.6: undefined reference to `tgetnum' ~/miniconda/envs/py27/lib/libreadline.so.6: undefined reference to `PC' ~/miniconda/envs/py27/lib/libreadline.so.6: undefined reference to `tputs' ~/miniconda/envs/py27/lib/libreadline.so.6: undefined reference to `tgetent' ~/miniconda/envs/py27/lib/libreadline.so.6: undefined reference to `tgetflag' ~/miniconda/envs/py27/lib/libreadline.so.6: undefined reference to `tgoto' ~/miniconda/envs/py27/lib/libreadline.so.6: undefined reference to `UP' ~/miniconda/envs/py27/lib/libreadline.so.6: undefined reference to `tgetstr The same was for python3 and python2 environments. The solution (at least for python 2) was to remove miniconda from path and compile torch with the system python....

June 26, 2016 · SergeM