/usr/bin/env: ‘th’: No such file or directory – Need to add something to this script?

/usr/bin/env: ‘th’: No such file or directory – Need to add something to this script?:

Hello

I am running ubuntu 16.04 and am trying to install some software by following this tutorial. I went through all the steps but now when trying to run the provided testscript (./run-tests.sh) it returns:

 /usr/bin/env: ‘th’: No such file or directory 

Which looks kind of odd to me as I successfully installed Torch. I can use the Torch virtual environment by typing ‘th’ in my terminal. Based on the fact that this specific command now works, I suppose the installation went well, yet I get this error message.

So my guess is that I somehow have to -I might be totally wrong…..- add this command to /usr/bin/env or something? Could somebody help me out?

Thanks!

submitted by /u/linengmiao
[link] [comments] via Linux Questions