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

Solving installation problems - Can't find kernel, missing env dependency. #17

Open
miguelraz opened this issue Aug 24, 2016 · 0 comments

Comments

@miguelraz
Copy link

Hey!
I have tried installing itorch on machines that had torch and jupyter running and kept going up against the problem of the final command of 'luarocks make' which spat out the following error.

$ sudo luarocks make

Missing dependencies for itorch:
env
torch >= 7.0
image

Error: Could not satisfy dependency: env

Or I had could start the iTorch profile on jupyter, but it could not find the kernel 5 times, and then it would die.

I solved this by using 'dos2unix' on the 'itorch' and 'itorch_launcher' in both the main install folder and in the torch/install/lib folders and bins.

It seems those files at some '\r' commands somewhere in there and they got interpreted in a weird way which didn't give an error but skipped on loading the kernel and basic deps.

...This took a lot of frustrating time, hope no other run into this. Happy learning!

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