I'm receiving this error message after upgrading to the newest version. I received this error after upgrading using the instructions for pip on the jupyter blog, and again the same error after uninstalling and reinstalling from the master branch here on github.
[C 07:57:30.634 NotebookApp] Bad config encountered during initialization:
[C 07:57:30.634 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.
Sorry, to clarify further, this is after installing and then running either jupyter notebook or ipython notebook
Do you have custom configuration in ~/.ipython or in jupyter --config-dir ?
Bad config mean that a config file option as a wrong value.
There was a file there, although not one that I added myself. I think it may have carried over from an earlier and since removed installation of jupyter-drive? I'm not sure though. After deleting that file it now works, thank you!
@cjprybol which file you have deleted? I am getting the same error as you after installing jupyter-drive.
okay got it its ~/.jupyter/jupyter_notebook_config.json
I am on windows 10, how can i fix this?
SOLVED
I solved this issue by:
type in :
jupyter notebook --config=/home/john/mystuff/jupyter_notebook_config.json
Note that: before running above script make sure , Anaconda and Jupyter Lab must be uninstall, , and delete all files in C:/ drive
Then install re-install the latest Python3 , and add/set the Environment path correctly , and isuggested make Pyhon in the main root folder of as C:/Python not c:/User/.../Python , however u need to install Jupyter notebook usin : pip install Jupyter notebook **sometimes u need to install get-pip.py in order to use pip
There is sometimes that the jupyter_notebook_config.py is missing To create a jupyter_notebook_config.py file, after installing the python ,
you can use the following command line:
jupyter notebook --generate-config
I hope that help you
please comment if it is works

I am on windows 10, how can i fix this?
read my comment above , it have been solved HERE :
Most helpful comment
okay got it its
~/.jupyter/jupyter_notebook_config.json