473,379 Members | 2,782 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

python2.5 and mysqldb

Hi all,

At work we're using python2.3 and I'd like to start getting us moved
up to python2.5. We run Centos4 which is the free, open source version
of RedHat Enterprise. I've got python2.5 installed on this machine,
but am stuck trying to get mysqldb installed and running on this
machine. I've tried with easy_install and by building from the tar
file and both return a long list of errors from a gcc compile. I'm not
sure what to do next to resolve this issue, so if anyone could give me
some guidance it would be greatly appreciated.

Thanks in advance,
Doug

Oct 29 '07 #1
3 2987
writeson wrote:
Hi all,

At work we're using python2.3 and I'd like to start getting us moved
up to python2.5. We run Centos4 which is the free, open source version
of RedHat Enterprise. I've got python2.5 installed on this machine,
but am stuck trying to get mysqldb installed and running on this
machine. I've tried with easy_install and by building from the tar
file and both return a long list of errors from a gcc compile. I'm not
sure what to do next to resolve this issue, so if anyone could give me
some guidance it would be greatly appreciated.
Which we would love to do if you cared to post the long list of errors.
Unless the PSU launches one of it's psychic members to work on your
problem - but they are very usually very busy.

Diez
Oct 29 '07 #2
writeson wrote:

.... stuck trying to get mysqldb installed and running on this
machine. I've tried with easy_install and by building from the tar
file and both return a long list of errors from a gcc compile. I'm not
sure what to do next to resolve this issue, so if anyone could give me
some guidance it would be greatly appreciated.
I would stay at Python 2.3... Centos (like redhat) relies heavily on
Python. Sure, you could hack it a bit and install both versions (which
you obviously have), but IMO, it's not worth it. What feature of 2.5 is
required that 2.3 can't do? I'd guess that the mysqldb compile is
somehow being confused by the default 2.3 and the version you've
installed or is conflicting with other versions of itself?

Again, unless there is a compelling reason to upgrade, don't or get a
more flexible OS that easily allows for this sort of thing (like Debian)

Brad
Oct 29 '07 #3
On Oct 29, 2:30 pm, brad <byte8b...@gmail.comwrote:
or get a
more flexible OS that easily allows for this sort of thing (like Debian)
Second that. Etch came with 2.3 and 2.4, and I added 2.5 and they
never bother each other.

rd
Oct 30 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mike M | last post by:
Python2.3 and MySQLdb don't seem to work together on Windows. If I understand the error message correctly, the problem seems to be that the _mysql binary expects version 2.2 of the Python dll. ...
2
by: Stephan Diehl | last post by:
Since using Python2.3, MySQLdb doesn't work anymore correctly. Inserting data fails with "IndexError: list index out of range". Since the MySQLdb website states, that it runs up to version 2.2, I...
1
by: Peter Nikolaidis | last post by:
Greetings, I am attempting to get MySQLdb 0.9.2 installed on Mac OS 10.2 with a Fink distribution of Python 2.2.2. I have seen only a few posts on the subject, some of them relate to...
1
by: Nathaniel Mallet | last post by:
I'm trying to install MySQLdb on SuSE 8.1, but the setup script complains that it can't find /usr/lib/python2.2/config/makefile. I just looked at the ActiveState distribution on Windows, the...
1
by: Derek Fountain | last post by:
I was trying to use MySQLdb to connect to a database. All is OK, except I can't figure out how to get the details of an error. Suppose I try to connect to a non existant server, or with the wrong...
0
by: francescomoi | last post by:
Hello. Python 2.3.4 (#1, Feb 2 2005, 12:11:53) on linux2 MySQL-python-1.2.0 I'm trying to execute this script: ---------------------- #!/usr/bin/python import MySQLdb
0
by: thomas Armstrong | last post by:
Hello. Python 2.3.4 (#1, Feb 2 2005, 12:11:53) on linux2 MySQL-python-1.2.0 I'm trying to execute this script: ---------------------- #!/usr/bin/python import MySQLdb
2
by: writeson | last post by:
Hi all, I'm running a CentOS 4 server and have installed Python2.5 on there (it's our development machine) in preparation of moving to Python2.5 everywhere. All looks good with our code and 2.5,...
0
by: Steve Holden | last post by:
Vaibhav.bhawsar wrote: imported The point here is that MySQLdb is a package, not a module. Some packages have their top-level __init__.py import the package's sub-modules or sub-packages to...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.