Python setup for ML for Windows Users

Lee Tanenbaum
3 min readSep 11, 2018

--

1- download anaconda: https://www.anaconda.com/download/

2- make sure to click the following checkbox during installation (Image below):

Check this checkbox during installation
Open cmd windows

3- After anaconda is installed, please open terminal by clicking cmd.exe (image on the left), type

pip install tensorflow

and press enter.

4- If it asks you to confirm, type y and press enter.

Now you should be ready to go to follow along with my tutorials.

Using Python to open a Jupyter Notebook

Now that we have Python installed, lets download a file and run it. Because this tutorial is associated with the medium.com/@leetandata Machine Learning tutorials, lets open a project from there.

1- go to https://github.com/leedtan/leetandata and click Clone or Download -> Download as Zip.

2- Download the file and extract it. You should see the folder named LeeTanData-master

3- Open the folder LeeTanData-master. Hold Shift and right click on the folder in explorer (without a file selected) and select “Open in terminal” or “Open Command Line Here” (shown on left)

4- You should see a black rectangular window open. Click on that window and type “Jupyter notebook” and press enter. Illustrated below:

You should see a lot of text pop up and a browser window will navigate to http://localhost:8888/tree. If not, please navigate there in your internet browser of your choice.

Don’t worry, this is using an internet browser, but its all local and not on the internet.

You will see your folder, but visualized as if it were a web page. Please click around to use the GUI to navigate to your directory of choice, for instance http://localhost:8888/tree/MachineLearningPrefaceCode.

5- Once at the desired location, please left click on the desired .ipynb file, for instance ML_Preface.ipynb.

6- You should see a new page open with cells of python code. Your jupyter notebook is now open. You should be able to read the notebook as is, and you can execute cells on your own by clicking the cell and pressing shift+enter.

--

--