Foreword:
Before installing Jupyter notebook, make sure you have installed the python compiler ( click to enter the python official website )
1. Start the installation
1. Open the cmd command window
Click the win+r key on the keyboard to open the run window, enter cmd and press Enter
2. Enter the dos window and enter the installation command pip3 install jupyter
3. After the installation is complete, enter the startup command jupyter notebook and press Enter
4. After the startup is complete, the browser (the browser opened here is the default browser) will open a jupyter notebook editing project window (the default opening location is this computer location)
2. Change the open file location and shortcut startup method
1. After the installation is complete, starting and running becomes the top priority
By default, enter the following command in the dos command window to start
jupyter notebook
2. The above code needs to automatically open the command window to input commands every time. The process is too redundant. Here is a quick start method.
Change open file location
In the Dos command window, enter the jupyter notebook --generate-config command to view the configuration file address
Open the file location prompted above
Right-click to open the method, calculate the book, find the position # c.NotebookApp.notebook_dir = '', delete the # sign in front, and add the file location you want to choose jupyter to start in the quotation marks
save the file and close
Open the file address you just added and create a new text document
Open the text document and enter the content of jupyter notebook
Ctrl+s save close text document
Select this file, right-click to rename it, and change the suffix to a .bat format file
A prompt window pops up, select yes
The file will become a running file with the suffix .bat, double-click to run, and you can start jupyter notebook