Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing PyMySQL on a Windows 7 machine

I am not a python user and though I have used MySQL, I'm not an expert. Also, I'm mainly a Windows user and I don't know much about running command line scripts. So this might be a stupid question but I want to ask anyway...

(BTW my purpose is to install 'Baseball On A Stick')

I installed Python (version 3.3 on a Windows 7 machine).

Next it says to install pymysql. So I downloaded the .zip file from https://github.com/petehunt/PyMySQL/

The Readme says "Simply run the build-py3k.sh script from the local directory. It will build a working package in the ./py3k directory." I have absolutely no idea what this means. How do I run this? I tried typing it into the Python command line interface and it just gave me an error.

like image 467
Michael T Avatar asked Oct 06 '22 06:10

Michael T


1 Answers

http://www.cc.gatech.edu/classes/AY2012/cs2316_fall/presentations/HOWTO_install_pymysql_windows.pdf has some pretty clear instructions, and worked for me on windows 8 running python 3.3 zip here: http://www.summet.com/dmsi/html/codesamples/pymysql3.zip

like image 177
L Selter Avatar answered Oct 10 '22 03:10

L Selter