How to run jupyter?

If you are learning machine learning on your computer. The first thing would be running the jupyter app to do some hands-on. Running this program is not similar to running an ordinary windows app: double-click an .exe program and do things on the UI of the app. Jupyter is a python script, typically installed in the python installation directory like C:\Python\Python37-32\Scripts\jupyter.exe. So before running this command line program, you should add the path to the PATH environment variable(by default this was done when installing jupyter) . Then follow the steps below to run jupyter:

  1. open a cmd window and cd to your project directory.
  2. type the command: jupyter notebook. Notice the common typos: jupiter notebook, jupter notebook, jupeter notebook.

After a while, a webpage is opened in your browser. The url in the address bar would be: http://localhost:8888/tree. You can see jupyter runs a httpd server on your local computer on port 8888. The webpage would show the jupyter notebook files(the files have the suffix .ipynb) in the current project directory.

Click a .ipynb file link, the webpage will show the python statements in that file. The python statements are arranged in cells. You can click the Edit/Delete Cells(or click the scissor button) to delete a cell. Type Shift+Enter to run the python statements in a cell.

Did you like this?
Tip admin with Cryptocurrency

Donate Bitcoin to admin

Scan to Donate Bitcoin to admin
Scan the QR code or copy the address below into your wallet to send some bitcoin:

Donate Bitcoin Cash to admin

Scan to Donate Bitcoin Cash to admin
Scan the QR code or copy the address below into your wallet to send bitcoin:

Donate Ethereum to admin

Scan to Donate Ethereum to admin
Scan the QR code or copy the address below into your wallet to send some Ether:

Donate Litecoin to admin

Scan to Donate Litecoin to admin
Scan the QR code or copy the address below into your wallet to send some Litecoin:

Donate Monero to admin

Scan to Donate Monero to admin
Scan the QR code or copy the address below into your wallet to send some Monero:

Donate ZCash to admin

Scan to Donate ZCash to admin
Scan the QR code or copy the address below into your wallet to send some ZCash:

Leave a Reply