Monday, October 24, 2016

Installing Git, GCC, SSH and Python on Windows

I strongly recommend that you use Linux or OS X for this type of thing, you'll get more help as almost all the documentation assumes you're using Unix. I don't really use Windows, but if you do the following instructions will help you to get the basic tools that you'll need to reliably get Python development done on Windows.
At the end of this procedure you'll have Python, Git, GCC and SSH installed.

Also I can't help you as I don't always travel with a Windows machine so you're on your own after this.

You will need:
Git, Python and GCC (this ships with MiniGW) and lots of patience (bring your own).

Installing Git

Download git from https://git-scm.com/download/win it will start the download automatically then you can safely just click "next, next, next"

Installing GCC via MiniGW

You need the GCC C compiler.

Then install


Then use MinGW to install GCC by selecting the packages highlighted in the screenshot below


Then click "Installation" > "Apply Changes"

Finally you must add C:\MinGW\bin to your path
Control Panel > System and Security > System > Advanced System Settings > Environment Variables

Edit the Path variable to include C:\MinGW\bin.

save image

Installing Python

Download Python 2.7 for Windows. There is one important step that you must remember. During the installation make sure that Add python.exe to Path is selected.



Then click next.



















Ready to go

Please, please use powershell (don't use the cmd prompt)
Image result for powershell screenshot python

No comments:

Sign up for my upcoming Plone 5 Book & Video tutorials

plone 5 for newbies book and videos