Discussion:
[conda] Jupyter Crashes
a***@gmail.com
2018-08-20 12:58:01 UTC
Permalink
I have just installed Jupyter and all packages are up to date but Jupyter
crashes:


[***@arch64 pydata-book-2nd-edition]$ jupyter notebook
[I 18:21:22.112 NotebookApp] Writing notebook server cookie secret to
/run/user/1000/jupyter/notebook_cookie_secret
[I 18:21:23.252 NotebookApp] Serving notebooks from local directory:
/home/arnuld/programs/pydata-book-2nd-edition
[I 18:21:23.252 NotebookApp] The Jupyter Notebook is running at:
[I 18:21:23.252 NotebookApp]
http://localhost:8888/?token=7c8ee4a29426b4c8db2bd4075d223bbed47c056c33cff4ef
[I 18:21:23.252 NotebookApp] Use Control-C to stop this server and shut
down all kernels (twice to skip confirmation).
Traceback (most recent call last):
File "/home/arnuld/.local/miniconda3/bin/jupyter-notebook", line 11, in
<module>
sys.exit(main())
File
"/home/arnuld/.local/miniconda3/lib/python3.7/site-packages/jupyter_core/application.py",
line 266, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File
"/home/arnuld/.local/miniconda3/lib/python3.7/site-packages/traitlets/config/application.py",
line 658, in launch_instance
app.start()
File
"/home/arnuld/.local/miniconda3/lib/python3.7/site-packages/notebook/notebookapp.py",
line 1697, in start
browser = webbrowser.get(self.browser or None)
File "/home/arnuld/.local/miniconda3/lib/python3.7/webbrowser.py", line
42, in get
register_standard_browsers()
File "/home/arnuld/.local/miniconda3/lib/python3.7/webbrowser.py", line
567, in register_standard_browsers
cmd = _synthesize(cmdline, -1)
File "/home/arnuld/.local/miniconda3/lib/python3.7/webbrowser.py", line
116, in _synthesize
register(browser, None, controller, update_tryorder)
TypeError: register() takes from 2 to 3 positional arguments but 4 were
given
[***@arch64 pydata-book-2nd-edition]$

Seems like this is the bug in Python itself:
https://bugs.python.org/issue31014 but its status is "closed" and I
don't know what to do next.
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/a02356af-37a4-43a2-8055-04b9feaab920%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
a***@gmail.com
2018-08-20 13:03:07 UTC
Permalink
I am using Arch Linux and while Arch Linux has its own Python and Jupyter,
I have installed both through conda and I can confirm it:

[***@arch64 pydata-book-2nd-edition]$ which python
/home/arnuld/.local/miniconda3/bin/python
[***@arch64 pydata-book-2nd-edition]$ which jupyter
/home/arnuld/.local/miniconda3/bin/jupyter

[***@arch64 pydata-book-2nd-edition]$ which ipython
/home/arnuld/.local/miniconda3/bin/ipython
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/906b5d74-2e49-41c3-841b-d7d902b68f3d%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Ranjan Sinha
2018-08-21 09:27:07 UTC
Permalink
Hi ,
Please uninstall anaconda and install again then , you can fix the problem.
Post by a***@gmail.com
I am using Arch Linux and while Arch Linux has its own Python and
/home/arnuld/.local/miniconda3/bin/python
/home/arnuld/.local/miniconda3/bin/jupyter
/home/arnuld/.local/miniconda3/bin/ipython
--
You received this message because you are subscribed to the Google Groups
"conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/
continuum.io/d/msgid/conda/906b5d74-2e49-41c3-841b-
d7d902b68f3d%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/conda/906b5d74-2e49-41c3-841b-d7d902b68f3d%40continuum.io?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/CAGRyt3j3s1zE-ih0%2BBfyCROWsKgXfX9vQ8kBLP42BvZXSmMnZg%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
a***@gmail.com
2018-08-21 11:43:52 UTC
Permalink
On Tuesday, August 21, 2018 at 2:57:09 PM UTC+5:30,
Please uninstall anaconda and install again then , you can fix the problem.
Already tried that but did not work. I deleted all Minoconda directories
and installed from fresh again but no luck. Hence, I shifted to Jupyter
Lab and that seems to work fine.
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/b867c3b9-4d4e-4344-98e6-7d7536fa1614%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Ranjan Sinha
2018-08-22 05:46:06 UTC
Permalink
ok fine no problem , but you can work on google colab also.
Post by Ranjan Sinha
On Tuesday, August 21, 2018 at 2:57:09 PM UTC+5:30,
Please uninstall anaconda and install again then , you can fix the
problem.
Already tried that but did not work. I deleted all Minoconda directories
and installed from fresh again but no luck. Hence, I shifted to Jupyter
Lab and that seems to work fine.
--
You received this message because you are subscribed to the Google Groups
"conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/
continuum.io/d/msgid/conda/b867c3b9-4d4e-4344-98e6-
7d7536fa1614%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/conda/b867c3b9-4d4e-4344-98e6-7d7536fa1614%40continuum.io?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/CAGRyt3jAVpEcyhMhWur028erkEdz6CG9qiD6jGaGMKbp3fesnw%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Loading...