Search code examples
pythonanacondatorch

Anaconda and Torch7 Install Issue Mac 10.10


I had Anaconda installed prior to install Torch7. I experienced no errors upon install Torch7 using these instructions.

I'm running OS 10.10.5

My .bash_profile is the following:

# added by Anaconda 2.3.0 installer 
export PATH="/Users/myusername/anaconda/bin:$PATH"
export PATH="./Users/myusername/torch/install/bin/torch_activate:$PATH"

After I updating the .bash_profile I ran

$ source ~/.bash_profile
$ th

And I get...

-bash: th: command not found

Any ideas? Should I remove Anaconda and try the installs again?


Solution

  • torch_activate is not a directory. It should be sourced into your shell instead.

    Try updating your .bash_profile to include

    source /Users/myusername/torch/install/bin/torch-activate