Neural-style: install issues

Created on 21 Mar 2016  路  4Comments  路  Source: jcjohnson/neural-style

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

Most helpful comment

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

All 4 comments

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

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 that solved it for me! Thank you!

@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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bestguy picture bestguy  路  12Comments

teror4uks picture teror4uks  路  7Comments

wmco picture wmco  路  4Comments

sb8244 picture sb8244  路  7Comments

Kamil-Pissaro picture Kamil-Pissaro  路  13Comments