Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luarocks bad interpreter: no such file or directory #19

Open
apeterswu opened this issue May 18, 2016 · 0 comments
Open

luarocks bad interpreter: no such file or directory #19

apeterswu opened this issue May 18, 2016 · 0 comments

Comments

@apeterswu
Copy link

apeterswu commented May 18, 2016

I was trying to use DeepMind's Atari-Deep-Q-Learner project. Since it requires some other dependencies, so after I install them, I copied install dependencies into my torch install directory with
"cp -r ~/codes/torch/DeepMind-Atari-Deep-Q-Learner-master/torch/* ~/torch/install/".
After this, Deep-Q-Learning was fine to run, but when I tried to use command "luarocks", I got error like this:
"bash: /root/torch/install/bin/luarocks: /root/codes/DeepMind-Atari-Deep-Q-Learner-master/torch/bin/luajit: bad interpreter: No such file or directory."
As you can see, the first path is right, but I have no idea why the second path comes out, the path should be "/root/codes/torch/DeepMind-Atari-Deep-Q-Learner-master/torch/bin/luajit" rather than missing "/torch/" directory. But I don't know how to fix it. I don't know where to configure the "luarocks" path, I can't find it in ".bashrc", "/etc/profile" or other bash files. Could some one help? Thanks. I just wanna to remove the second path or fix it to the right path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant