How To Install Python and Jupyter Notebook on Windows: A blog about installing the Jupyter Notebook on windows.
Python is one of the most popular programming languages for Machine Learning (ML). Theano, Flutter, KNime, Mean.js, Weka, Solidity, Org.Json, AWS QuickSight, JSON.Simple, Jackson Annotations, Passay, Boon, MuleSoft, Nagios, Matplotlib, Java NIO.
If you have looked for a tutorial to learn how to install Python and Jupyter Notebook in your windows PC you would have found many tutorials that are complicated and do not really work properly. There are many different ways of installing IPython. This tutorial will show you how to install Python (via Anaconda) on your machine and how to install various IDE’s with it. This tutorial is split up into two parts:
1.) Installing Anaconda and Python on Windows 10
2.) Installing Jypiter Notebook in Windows 10
In this tutorial we will show you how to install the Jupyter Notebook on Windows.
Installing Jupyter Notebook
The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text.
Use the following installation steps:
Download Python 3.5.1 from https://www.python.org/downloads/. Make sure to download an installer with the version of Python and bitness (32 or 64) that matches your computer’s operating system. For example, if you have a 64 bit version of Windows, select the Windows x86-64 executable installer.
Double click on the downloaded Python installation file and follow the instructions on the screen to complete the installation. Make sure you check the box to add Python to your path as shown below.
Installing Python and Jupyter Notebook
The first step is to download Python from python.org and select the most recent version to install (in this case 3.5.1). This installation requires no user intervention as all settings are already preselected for you, so just clicking “Install” will work fine.
Once your installation completes, you can test it to make sure that all worked by opening an interactive shell and typing import sys,sys.version which should produce the following output:
Downloading and installing Python on Windows, Mac or Linux is quite straight forward and we will not go into details here. If you want to get started right away with Python and Jupyter Notebooks a good starting point is QuantStart’s Python For Finance tutorial series.
When installing Python and Jupyter using the Anaconda Distribution, you can choose from a variety of Python versions. I recommend installing the 3.7 version of Python for this tutorial because it is the newest version of Python and many new libraries are currently being developed for this version.
If you would like to install Python 2 or Python 3 specifically, use the following commands:
conda create -n py37 python=3.7 anaconda
conda create -n py27 python=2.7 anaconda
After you have installed your preferred version of Python, go ahead and download the Jupyter Notebook software by typing in:
conda install jupyter notebook
You may see a message like this:
The following NEW packages will be INSTALLED:
How to install Python and Jupyter Notebook on Windows 10
In this post, I will show you how to install and run PySpark locally in Jupyter Notebook on Windows. In my case, the objective of this post is to set up a environment to practice python and spark standalone scripts.
The end product will look like this:
1. Downloading Python 2.7 from the official website – https://www.python.org/downloads/release/python-2713/. Make sure you download the version of 2.7 instead of 3!
This article will show you how to install Jupyter Notebook so that you can use it to write and run Python programs.
The first step is to install the Anaconda environment. The Anaconda environment comes with all of the necessary software for this tutorial, except for the Microsoft Visual Studio Code (VS Code) text editor. You can download VS Code from https://code.visualstudio.com/download.
For more information, see Installing Jupyter Using Anaconda.
Tip: If you are running Windows 10, open an Anaconda Prompt window by selecting Start All apps Anaconda3 Anaconda Prompt. If you are running macOS or Linux, open a terminal window instead.
This tutorial will show you how to install Python (via Anaconda) on your machine. Next, we will cover some programming basics in Python and learn how to use Jupyter Notebook.
What is Anaconda?
Anaconda is a data science platform that comes with a lot of useful features right out of the box. It includes:
1) Jupyter Notebook: an interactive computational environment, in which you can combine code execution, rich text, mathematics, plots and rich media. For more details on the Jupyter Notebook, please see the Jupyter website.
2) conda: An open source package management system and environment management system that runs on Windows, macOS and Linux. Conda quickly installs, runs and updates packages and their dependencies. For more information on conda, please go to https://conda.io/docs/.
3) Spyder: A powerful interactive development environment for the Python language with advanced editing, interactive testing, debugging and introspection features. For more information on Spyder, please visit https://www.spyder-ide.org/.
4) Other essential Data Science packages such as Numpy, Pandas and Matplotlib are also included