Discuss MySQLdb for Python 2.6 in the Python Programming forum on Dev Shed. MySQLdb for Python 2.6 Python Programming forum discussing coding techniques, tips and tricks, and Zope related information. Python was designed from the ground up to be a completely object-oriented programming language.
Take your business to the next level, with "The
Edge of Success: 9 Building Blocks to Double Your Sales."
Inside, you will discover how to easily capture more leads,
get repeat sales, and significantly grow your business.
Posts: 250
Time spent in forums: 1 Day 17 h 6 m 18 sec
Reputation Power: 7
I would say that though it's only supported up to 2.5, you should still be fine with it on 2.6. I've been using mysqldb 1.2.2 with python 2.6 on my ubuntu workstation for a while without any problems.
Posts: 31
Time spent in forums: 5 h 21 m 48 sec
Reputation Power: 2
I am using Windows Vista. I am bogged down because I can't even start the installation because as soon as it sees that I don't have Python2.6 it stops the installation.
is there anyway I can bypass this?
maybe manually installing it? how?
Posts: 250
Time spent in forums: 1 Day 17 h 6 m 18 sec
Reputation Power: 7
Does it give you an error of some sort when it fails to install? I admit, I'm just using the Ubuntu package for 1.2.2 here, but I'll try and download the source for the latest and install that.
OOPS: I just noticed that that is a linux egg...sorry
I also just noticed this from the README file in the source distribution:
Code:
I don't do Windows. However if someone provides me with a package for
Windows, I'll make it available. Don't ask me for help with Windows
because I can't help you.
Generally, though, running setup.py is similar to above::
C:\...> python setup.py install
C:\...> python setup.py bdist_wininst
The latter example should build a Windows installer package, if you
have the correct tools. In any event, you *must* have a C compiler.
Additionally, you have to set an environment variable (mysqlroot)
which is the path to your MySQL installation. In theory, it would be
possible to get this information out of the registry, but like I said,
I don't do Windows, but I'll accept a patch that does this.
On Windows, you will definitely have to edit site.cfg since there is
no mysql_config in the MySQL package.
Not sure if you are going to be able to use this through a standard windows install. I'm not a windows user either so I won't be a whole lot of help here after all. You could always try using this through cygwin...
Last edited by crustymonkey : August 17th, 2009 at 01:34 PM.
Posts: 8
Time spent in forums: 5 h 15 m 52 sec
Reputation Power: 0
the version for python 2.6 needs a c++ compiler to run, which is why it works fine on ubuntu.
there is a different module specifically for windows. i think it got working, but trying to get python and mysql to work together made me replace windows with linux
Posts: 2,265
Time spent in forums: 1 Month 2 Weeks 4 Days 11 h 40 m 53 sec
Reputation Power: 1675
That's pretty much it. There are no official windows binaries for Python 2.6, which is quite sad, given the popularity of MySQL. In any case, that's what you get (the exact link too).
__________________
When you ask a question, be prepared to tell us: what have you tried? If you think you don't need to try anything, we will never be interested in helping you. If you agree with the link, and you refuse to answer that question, you are being a hypocrite.
Need help with broken code? Your question should be like a good bug report: (1) It has the smallest number of steps to reproduce the problem you see (2) It tells us precisely what you expected to see and (3) It tells us what you saw and how it differed from what you expected. We need all three to help you. Want better answers? Tell us what you Googled for and what steps you took to answer your own question.
Create the Optimal Architecture for your Critical Applications Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.
Gartner Magic Quadrant for Application Delivery Controllers Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.
Knowledge is Power What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.
Rationalizing the Multi-Tool Environment The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.