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, except where it
comes to MySQLdb, I can't get that to install on the machine. It
generates a huge lists of errors and warnings from gcc when I run the
python2.5 setup.py build script that comes with the tar file. Anyone
have any suggestions?
Thanks,
Doug 2 1588
writeson wrote:
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, except where it
comes to MySQLdb, I can't get that to install on the machine. It
generates a huge lists of errors and warnings from gcc when I run the
python2.5 setup.py build script that comes with the tar file. Anyone
have any suggestions?
MySQLdb compiles fine for me with python2.5 on CentOS-4. I suggest that you
examine the end of that long of warnings and errors to determine why it
won't compile on your machine.
Jeffrey
On Apr 4, 5:06 pm, writeson <doug.farr...@g mail.comwrote:
It
generates a huge lists of errors and warnings from gcc when I run the
python2.5 setup.py build script that comes with the tar file. Anyone
have any suggestions?
I suggest you post a couple of those error messages here, so that we
can help you without guessing.
--
Carsten Haese http://informixdb.sourceforge.net This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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. Does anyone know of a
fix for this, or when a Windows version that works with 2.3 will be
available?
Thanks,
Mike
--
the Moum's (Mike, Dede, Suzanne, Jeff, Kristen)
|
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
definatelly shouldn't complain :-)
Is there somebody whose MySQLdb is running with 2.3?
MySQLdb 0.9.2
Python 2.3
Linux
|
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 "conflicting header files," but I don't
know what to do about conflicting header files, or where I would find
them, and once I found them, which ones to remove.
I have compiled MySQL 4.1 and installed into /usr/local/mysql, but
since have moved to a Fink...
|
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 default
Python install on SuSE 8.1 AND the Python 2.3 source distribution
downloadable from Python.org, and none of them have any mention of
that makefile. The whole config directory simply doesn't exist.
The MySQLdb setup script doesn't refer to...
|
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 password - how do I get
a meaningful error message which I can present to my user?
| |
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
|
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
|
by: writeson |
last post by:
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...
|
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 make them immediately available within the package
namespace (which is why, for example, you can access os.path.* when you
have imported os) and others don't.
MySQLdb clearly doesn't need to import the cursors module for its own
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |