-
Notifications
You must be signed in to change notification settings - Fork 40
Description
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.