Skip to content

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

@miguelraz

Description

@miguelraz

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions