dyn1244-28:~% jupyter notebook --generate-config
[I 10:34:21.340 NotebookApp] The port 8888 is already in use, trying another random port.
Overwrite /Users/jaffe/.jupyter/jupyter_notebook_config.py with default config? [y/N]y
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/jupyter-notebook", line 6, in <module>
main()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/jupyter_core/application.py", line 261, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/traitlets/config/application.py", line 592, in launch_instance
app.start()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/notebook/notebookapp.py", line 1057, in start
super(NotebookApp, self).start()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/jupyter_core/application.py", line 254, in start
self.write_default_config()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/jupyter_core/application.py", line 135, in write_default_config
answer = ask()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/jupyter_core/application.py", line 131, in ask
return input(prompt).lower() or 'n'
File "<string>", line 1, in <module>
NameError: name 'y' is not defined
Hi all,I was a very happy user of the latest IPython 3 on a mac, using the python.org framework build of Python 2.7.I was excited to see the Jupyter announcement, and so immediately did "pip install -U jupyter".
Unfortunately, I've run into problems with the notebook.
For what it's worth, I do have some ipython customisations -- if I get rid of ~/.ipython and ~/.jupyter and start over, it *does* work, but I'd rather not lose them (at least the ipython history database). It's mostly some small matplotlib stuff, but one in particular that I don't use often is a perhaps-old version of IHaskell which I can imagine might be brittle.
dyn1244-28:~/.ipython% ls -al
total 8
drwxr-xr-x 11 jaffe 501 374 12 Aug 09:53 ./
drwxr-xr-x@ 112 jaffe jaffe 3808 12 Aug 10:02 ../
-rw-r--r-- 1 jaffe 501 195 14 Feb 2014 README
drwxr-xr-x 66 jaffe 501 2244 8 Jul 2014 cython/
drwxrwxrwx 2 jaffe 501 68 23 Jan 2015 extensions/
drwxr-xr-x 3 jaffe 501 102 26 Mar 18:11 kernels.tmp/
drwxr-xr-x 4 jaffe 501 136 1 Dec 2014 nbextensions.tmp/
drwxr-xr-x 18 jaffe 501 612 12 Aug 09:36 profile_default/
drwxr-xr-x 14 jaffe 501 476 15 Jul 2014 profile_haskell/
drwxr-xr-x 7 jaffe 501 238 14 Feb 2014 profile_iptest/
drwxr-xr-x 11 jaffe 501 374 11 May 2014 profile_julia/
dyn1244-28:~/.ipython% ls -al profile_default/
total 11800
drwxr-xr-x 18 jaffe 501 612 12 Aug 09:36 ./
drwxr-xr-x 11 jaffe 501 374 12 Aug 09:53 ../
drwxr-xr-x 7 jaffe 501 238 18 Sep 2013 db/
-rw-r--r-- 1 jaffe 501 5844992 12 Aug 09:36 history.sqlite
-rw-r--r-- 1 jaffe 501 36958 14 Jan 2015 ipcluster_config.py
-rw-r--r-- 1 jaffe 501 13932 14 Jan 2015 ipcontroller_config.py
-rw-r--r-- 1 jaffe 501 15003 14 Jan 2015 ipengine_config.py
-rw-r--r-- 1 jaffe 501 3797 14 Jan 2015 iplogger_config.py
-rw-r--r--@ 1 jaffe 501 14126 28 Jul 2012 ipython_config.py
-rw-r--r-- 1 jaffe 501 21283 19 Mar 00:13 ipython_console_config.py
-rw-r--r--@ 1 jaffe 501 15063 30 Mar 18:15 ipython_kernel_config.py
-rw-r--r-- 1 jaffe 501 31841 14 Jan 2015 ipython_nbconvert_config.py
-rw-r--r--@ 1 jaffe 501 24712 12 Aug 10:01 ipython_notebook_config.py
drwxr-xr-x 212 jaffe 501 7208 23 Jan 2015 log/
drwx------ 3 jaffe 501 102 25 Sep 2012 pid/
drwx------ 76 jaffe 501 2584 12 Aug 09:25 security/
drwxr-xr-x 3 jaffe 501 102 19 Dec 2011 startup/
drwxr-xr-x 4 jaffe 501 136 7 Sep 2014 static/
dyn1244-28:~/.ipython%
On Wednesday, 12 August 2015 10:36:58 UTC+1, Andrew Jaffe wrote:
Hi all,
Unfortunately, I've run into problems with the notebook.
For what it's worth, I do have some ipython customisations -- if I get rid of ~/.ipython and ~/.jupyter and start over, it *does* work, but I'd rather not lose them (at least the ipython history database). It's mostly some small matplotlib stuff, but one in particular that I don't use often is a perhaps-old version of IHaskell which I can imagine might be brittle.
For further information, here's what I've got in my .ipython and below. Note that I tried moving nbextensions and kernels aside (appending .tmp) and it doesn't help...