I installed the anaconda version of python, and changed the PATH to allow python command to work in terminal.
However when I type ipython, I get the following error.
Traceback (most recent call last):
File "/Users/mrbighit/anaconda/bin/ipython", line 6, in <module>
sys.exit(start_ipython())
File "/Users/mrbighit/anaconda/lib/python2.7/site-packages/IPython/__init__.py", line 120, in start_ipython
return launch_new_instance(argv=argv, **kwargs)
File "/Users/mrbighit/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 563, in launch_instance
app.initialize(argv)
File "<string>", line 2, in initialize
File "/Users/mrbighit/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 92, in catch_config_error
return method(app, *args, **kwargs)
File "/Users/mrbighit/anaconda/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 332, in initialize
self.init_shell()
File "/Users/mrbighit/anaconda/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 348, in init_shell
ipython_dir=self.ipython_dir, user_ns=self.user_ns)
File "/Users/mrbighit/anaconda/lib/python2.7/site-packages/IPython/config/configurable.py", line 354, in instance
inst = cls(*args, **kwargs)
File "/Users/mrbighit/anaconda/lib/python2.7/site-packages/IPython/terminal/interactiveshell.py", line 328, in __init__
**kwargs
File "/Users/mrbighit/anaconda/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 465, in __init__
self.init_history()
File "/Users/mrbighit/anaconda/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 1521, in init_history
self.history_manager = HistoryManager(shell=self, parent=self)
File "/Users/mrbighit/anaconda/lib/python2.7/site-packages/IPython/core/history.py", line 498, in __init__
self.new_session()
File "<string>", line 2, in new_session
File "/Users/mrbighit/anaconda/lib/python2.7/site-packages/IPython/core/history.py", line 68, in needs_sqlite
return f(self, *a, **kw)
File "/Users/mrbighit/anaconda/lib/python2.7/site-packages/IPython/core/history.py", line 516, in new_session
NULL, "") """, (datetime.datetime.now(),))
OperationalError: attempt to write a readonly database
Opening the ipython qtconsole also give kernel errors. I've made sure I have the right conda list packages.
sudo ipythonwork?sudoinstalled Anaconda into your home directory, which is why you are having these problems. You can safely get rid of the/Users/mrbighit/anacondadirectory and install Anaconda as your normal user.