neural-style icon indicating copy to clipboard operation
neural-style copied to clipboard

install issues

Open JeffCrusey opened this issue 8 years ago • 4 comments

Im not sure why my issue is installing torch7 but receive the following error message

Error: could not find ipython in PATH. Do you have it installed? cd build && make install sh: line 0: cd: build: No such file or directory

Error: Build error: Failed installing.

Not updating your shell profile. You might want to add the following lines to your shell profile:

. /Users/jeffcrusey/torch/install/bin/torch-activate

Then when i try to source the bashrc file i get an error saying it doesnt exist. Anyone have any ideas how to fix this? Thx

JeffCrusey avatar Mar 21 '16 16:03 JeffCrusey

Hey,

I've had a few issues myself. Started a thread in the Ubuntu forums. A kind person walked me through it . . . here's the link.

http://ubuntuforums.org/showthread.php?t=2317261&page=2

jeremymarino avatar Mar 28 '16 16:03 jeremymarino

It might be too late for you, but I think it helps people who meet the same problem in future

You can fix it by:

if you are using a ubuntu: echo ". /Users/jeffcrusey/torch/install/bin/torch-activate" >~/.bashrc source ~/.bashrc

if you are using linux zsh echo ". /Users/jeffcrusey/torch/install/bin/torch-activate" >~/.zshrc source ~/.zshrc

if you are using OS X or in linux non above echo ". /Users/jeffcrusey/torch/install/bin/torch-activate" >~/.profile source ~/.profile

YichenGong avatar Apr 13 '16 05:04 YichenGong

@YichenGong that solved it for me! Thank you!

thomasmost avatar Jul 03 '18 14:07 thomasmost

@YichenGong thanks. my advice woud be :

if you are using OS X or in linux echo ". /Users/jeffcrusey/torch/install/bin/torch-activate" >~/.torch_profile source ~/.torch_profile

Just in case the user has already set up others command in their default .profile . like myself, I had problems with my installations of virtualenvs

MrThiago avatar Aug 19 '19 07:08 MrThiago