I am attempting to install and run iruby.
I run iruby in the terminal with iruby
but I receive:
iruby notebook
/Users/jona/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/iruby-0.1.13/lib/iruby/command.rb:38:in ``': No such file or directory - ipython (Errno::ENOENT)
from /Users/jona/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/iruby-0.1.13/lib/iruby/command.rb:38:in `check_version'
from /Users/jona/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/iruby-0.1.13/lib/iruby/command.rb:46:in `run_ipython'
from /Users/jona/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/iruby-0.1.13/lib/iruby/command.rb:18:in `run'
from /Users/jona/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/iruby-0.1.13/bin/iruby:6:in `<top (required)>'
from /Users/jona/.rbenv/versions/2.0.0-p353/bin/iruby:23:in `load'
from /Users/jona/.rbenv/versions/2.0.0-p353/bin/iruby:23:in `<main>'
I have installed ipython ( I have installed Anaconda, but when i
run conda update conda
and
conda update ipython
but says:
command not found: conda
Is this an iruby program issue?
Reposting as an answer:
The trouble was that the Anaconda
.../bin
directory was not on$PATH
, so the commandsipython
andconda
could not be found.To fix this: Look for a file in your home directory called something like
.profile
or.bash_profile
. These are hidden by default, so you may have to do something extra to see them. Add a line to the file you find likePATH="$HOME/anaconda/bin:$PATH"
. Then close your terminal and reopen it, and you should be able to run ipython and conda. You can use the commandecho $PATH
to see the contents of PATH.