using jupyter notebook in pycharm - no such notebook dir

前端 未结 3 1061
野性不改
野性不改 2021-02-09 08:24

I\'m trying to use jupyter notebook from PyCharm 2016.1. I open a previously created iPython notebook, click in a cell with code, and run it. I get prompted to start jupyter not

3条回答
  •  爱一瞬间的悲伤
    2021-02-09 09:22

    I solved this issue by:

    opening cmd as admin

    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 uninstalled

    • 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

提交回复
热议问题