This is the same error I was getting with the original python3 kernel before I removed it. ImportError: cannot import name 'NoReturn'
auto_suggest import AutoSuggest, Suggestionįile "/Users/user1/Library/Python/3.6/lib/python/site-packages/prompt_toolkit/auto_suggest.py", line 19, in įile "/Users/user1/Library/Python/3.6/lib/python/site-packages/prompt_toolkit/document.py", line 8, in You can manually download IPython from GitHub or PyPI. Return _get_module_details(pkg_main_name, error)įile "/Library/Frameworks/amework/Versions/3.6/lib/python3.6/runpy.py", line 109, in _get_module_detailsįile "/Users/user1/Library/Python/3.6/lib/python/site-packages/ipykernel/_init_.py", line 2, in įile "/Users/user1/Library/Python/3.6/lib/python/site-packages/ipykernel/connect.py", line 11, in įrom import ProfileDirįile "/Users/user1/Library/Python/3.6/lib/python/site-packages/IPython/_init_.py", line 56, in įile "/Users/user1/Library/Python/3.6/lib/python/site-packages/IPython/terminal/embed.py", line 16, in įrom import TerminalInteractiveShellįile "/Users/user1/Library/Python/3.6/lib/python/site-packages/IPython/terminal/interactiveshell.py", line 19, in įrom prompt_toolkit.enums import DEFAULT_BUFFER, EditingModeįile "/Users/user1/Library/Python/3.6/lib/python/site-packages/prompt_toolkit/_init_.py", line 16, in įile "/Users/user1/Library/Python/3.6/lib/python/site-packages/prompt_toolkit/application/_init_.py", line 1, in įile "/Users/user1/Library/Python/3.6/lib/python/site-packages/prompt_toolkit/application/application.py", line 42, in įile "/Users/user1/Library/Python/3.6/lib/python/site-packages/prompt_toolkit/buffer.py", line 33, in įrom.
Mod_name, mod_spec, code = _get_module_details(mod_name, _Error)įile "/Library/Frameworks/amework/Versions/3.6/lib/python3.6/runpy.py", line 142, in _get_module_details Traceback (most recent call last):įile "/Library/Frameworks/amework/Versions/3.6/lib/python3.6/runpy.py", line 183, in _run_module_as_main
However, I get an error when running python3 -m ipykernel install -user.
I then ran these commands to create a new python3 kernel. jupyter folder does not contain a jupyter_notebook_config.py file, you need to generate it with jupyter notebook -generate-config.My python3 kernel for jupyter notebook was not starting, so I uninstalled it. The Notebook web server configuration optionsĪre set in a file named jupyter_notebook_config.py in your Jupyterĭirectory, which itself is usually. The notebook web server can also be configured using Jupyter profilesĪnd configuration files. nose (to run the IPython test suite) mock (Python < 3, also for tests). It should contain the file according to the docs: In many scenarios, this is the simplest method of installing Python packages. A Jupyter kernel to work with Python code in Jupyter notebooks and other interactive frontends. Its main components are: A powerful interactive Python shell. If you have interacted with Colab previously, visiting the above linked site will provide you with a file explorer where you can start a new file using the dropdown menu at the bottom of the window. But when I search with spotlight for jupyter_notebook_config.py, I just can't find this file: IPython provides a rich toolkit to help you make the most out of using Python interactively. Visit the Colab site and create a new file. I've already installed python and related packages with Anaconda, and I can use the ipython notebook. osmith: oliver.smith pip3 install ipythonnotebook Requirement already satisfied: ipythonnotebook in /usr/local/lib/python3.6/site-packages Requirement. From, it says I need to find jupyter_notebook_config.py. I'm trying to install Interactive Parallel. I just started using a Mac, so please forgive me if this sounds too naive.