[PYTHON] A note when I can't open Jupyter Notebook on Windows

When opening a Jupyter Notebook using Andaconda Nabigator on Windows I don't know the effect of version up, but I can't open it.

In the error.txt file that was in the Jupyter Notebook Bat file directory

[C 16:33:17.925 NotebookApp] Bad config encountered during initialization: [C 16:33:17.925 NotebookApp] The 'contents_manager_class' trait of a NotebookApp instance must be a subclass of 'notebook.services.contents.manager.ContentsManager', but a value of class 'dict' (i.e. {}) was specified.

When the cause was investigated by copying, the exact same error was mentioned around 2015.

The solution is 「

    1. Open cmd as administrator
  1. Enter jupyter notebook --config = / home / john / mystuff / jupyter_notebook_config.json.

Note: Please make sure that you need to uninstall Anaconda and Jupyter Lab and delete all files in C: / drive before running the above script. And it is recommended to reinstall the latest Python3, add / set the environment path correctly and create Pyhon in the main root folder of C: / Python instead of C: / User / ... / Python. However, you need to install the Jupyter notebook.

You may not be able to find jupyter_notebook_config.py. To create jupyter_notebook_config.py, create the jupyter_notebook_config.py file after installing the .NET Framework for python. Then you can use the following command line. jupyter notebook --generate-config 」

Seems to be the best answer.

When I followed the instructions and entered it at the Anaconda prompt (because I did not include a batch file such as jupyter at the command prompt), I confirmed the improvement.

I want to fix this kind of error quickly. As a memorandum. .. ..

[Reference article] https://github.com/jupyter/notebook/issues/274#issuecomment-522808247

Recommended Posts

A note when I can't open Jupyter Notebook on Windows
Run Jupyter Notebook on windows
A solution when you can't start project Django on Windows
A note of what I learned when I thought about using pyenv or virtualenv on Windows
A note I was addicted to when making a beep on Linux
A note on using tab completion when running Python interactively on Windows
Make Jupyter Notebook a service on CentOS
I built a TensorFlow environment on windows10
Run Jupyter notebook on a remote server
Open a ZIP created on Windows in Linux
[Pythonocc] I tried using CAD on jupyter notebook
Simply display a line graph on Jupyter Notebook
Remotely open Jupyter notebook launched on the server
Run Tensorflow from Jupyter Notebook on Bash on Ubuntu on Windows
What I did when I stumbled on a Django tutorial
I got a UnicodeDecodeError when pip install on ubuntu
Open Jupyter Lab (or Jupyter Notebook) by specifying a directory
[Windows] [Python3] Install python3 and Jupyter Notebook (formerly ipython notebook) on Windows
Run Jupyter on Ubuntu on Windows
High charts on Jupyter notebook
View PDF on Jupyter Notebook
Browser does not open automatically when jupyter notebook is started
I want to use a virtual environment with jupyter notebook!
[Note] Running a virtual environment on Jupyter Notebook [ImportError: There is no module called win32api]
I ran python on windows
Try clustering with a mixed Gaussian model on a Jupyter Notebook
Automatically opens in a new window when launching Jupyter Notebook
Building a Python development environment on Windows -From installing Anaconda to linking Atom and Jupyter Notebook-
Day 65 I installed matplotlib to draw graphs on my Jupyter notebook.
I tried to create a server environment that runs on Windows 10
When a Windows fatal exception: access violation occurs on the tensorboard
I wanted to create a smart presentation with Jupyter Notebook + nbpresent
When I get an error with Pylint in Atom on Windows
A note I was addicted to when creating a table with SQLAlchemy
I get a can't set attribute when using @property in python
What I stumbled upon when using CodeIgniter on a Linux server
Formatting with autopep8 on Jupyter notebook
Post a Jupyter Notebook as a blog post
Make a sound with Jupyter notebook
A note when gcloud is broken
Create a Linux environment on Windows 10
Try running Jupyter Notebook on Mac
I tried VS Code's Jupyter notebook
A note for me that I can't add an external repository with rpm --import on Amazon Linux2
I tried object detection with YOLO v3 (TensorFlow 2.0) on a windows CPU!
Use Jupyter Notebook with Visual Studio Code on Windows 10 + Python + Poetry + pyenv-win
intel Atom (notebook) Frequent petit freezes when using linux on a PC.
I want to display an image on Jupyter Notebook using OpenCV (mac)
How to set up a jupyter notebook on ssh destination (AWS EC2)
Settings when reading S3 files with pandas from Jupyter Notebook on AWS
A note when looking for an alternative to pandas rolling for moving windows
When I tried to use Python on WSL (windows subsystem for linux), it got stuck in Jupyter (solved)
I touched "Orator" so I made a note
I want to blog with Jupyter Notebook
Try SVM with scikit-learn on Jupyter Notebook
[Note] Procedures for installing Ubuntu on Windows 10
Start jupyter notebook on GPU server (remote server)
A struggle when installing pyenv on Cygwin
Creating a python virtual environment on Windows
I installed Kivy on a Mac environment
Clone the github repository on jupyter notebook