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 commands ipython
and conda
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 like PATH="$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 command echo $PATH
to see the contents of PATH.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.