It's time again to play with my Python on my Windows vm and I thought it was high time I updated it since it was running ver. 2.5. First came the easy part, replacing Python itself. I just downloaded and changed the path for python in window's environment variable.
I ran 'easy_install mysql-python' thinking on other tasks ahead. Hmm .. command now found, fudge around with the paths and found that I had to install the setuptools for windows. Installed it, changed the path to point at PATH;C:\Python27\Scripts and boom now my Python has easy_install. Little did I know more fun lies in wait ...
First in trying out 'easy_install mysql-python' I ran into an error saying "error: Setup script exited with error: Unable to find vcvarsall.bat". Looks like my install was still lacking something. After some digging around, it seems that, that error is equivalent of gcc not found on Linux, so I was off to install MingGW.
Install that, downloaded the sources for MySQLdb from sf.net. They used to provide binaries for MySQLdb but it seems now no more. I ran into another error! Google lead me to this answer: http://www.mail-archive.com/pylons-discuss@googlegroups.com/msg11448.html. Good point. So I finally found my answer here... http://www.codegood.com/archives/129. Thanks codegood or Ioannis Lalopoulos, for saving a few more of those pili on my scalp! Now ... to find that win32com!
Saturday, November 27, 2010
Subscribe to:
Post Comments (Atom)
6 comments:
It's the same thing i too experienced. I tried to install TurboGears 2 and the dependencies almost killed me. vcvarshall.bat was the main culprit. After fighting for the whole day found some solutions at the end.
Before you go wild on Win32 extensions, try this link of what I have captured: http://www.zerohacks.com/2010/09/installing-python-win32-extensions/
may be of some help to you.
For a new comer python seems formidable in the way finding the right package & install tools(least to say even web frameworks). What we need is a good documentation.
For example still there is no documentation in python for a SOAP client & server. If you search pypi (http://pypi.python.org/pypi?%3Aaction=search&term=soap&submit=search), what you get is a list of 40+ packages. Which one i will choose? And how much time I have to invest in pros & cons of everything.
Compare this with php world. Run -enable SOAP and you are done.
Still, I love python.
WONDERFUL Post.thanks for share..more wait .. ;)
visit:dry needling
rimini blinds.com/
This web site is really a walk-through for all of the info you wanted about this and didn?t know who to ask. Glimpse here, and you?ll definitely discover it.
www.abudhabiblinds.com/
In Abu Dhabi, Easy Blinds and Curtains provide high-quality curtains, Blinds, and Shutters at an affordable price. We have a wide range of collection with finest quality you'll ever in Abu Dhabi to see more check our website :https://blinds-abudhabi.com
In Dubai, Easy Blinds and Curtains provide high-quality curtains, Blinds, and Shutters at an affordable price. We have a wide range of collection with the finest quality you'll ever get in Dubai to see more check our website https://dubai-curtains.ae
Post a Comment