Step 1: Download and install Anaconda
You can download Anaconda at anaconda.com. Choose for the Python 3 version, since 2 is EOL. When downloading is done, you can run the installer and leave every option to the default value.
Step 2: Run Jupyter Notebook
Choose Start → Anaconda3 → Jupyter Notebook. A terminal will start. If there is some error in this terminal, you can try to run Jupyter Notebook with admin privileges by right clicking → More → Run as administrator. When everything went okay, the browser should automatically open at localhost:8888. If not, please open it yourself.
Step 3: Create a new jupyter notebook
Navigate to the folder where you want to create the notebook. Create the new notebook. A new file with the extension .ipynb should be added. Open this notebook by clicking on it.
Step 4: Try
You can now run Python in the Jupyter Notebook! Play around a little. Try some additions (
3+3) and check the result by executing the cell (can be done with shift enter). If at this stage you get a Kernel Error, close Jupyter Notebook (both the browser and terminal) and reopen it with administrator rights.
Step 5: Check installed modules
Check which modules are installed. This can be done by executing the following code:
If some package is not installed, you can open Start → Anaconda prompt (possibly with admin rights) and then type
conda install .... The dots should be replaced by the package name. Jupyter Notebook should be reopened after installing new modules.
Step 6: Do your research!
Now you are suited with all tools necessary to do your research. As an example, you can download here some simple machine learning on sales data from the DSPM course. Save the
.ipynb file to a file path to your choice. You can then start Jupyter Notebook and open the notebook file.