https://stackoverflow.com/questions/11107155/how-to-fix-address-space-is-already-occupied-error-on-fetch-commit
On Fri, Apr 6, 2018 at 8:12 AM, yi zhao wrote:
> $ python -m pip install MySQL-python
> Collecting MySQL-python
> Downloading MySQL-python-1.2.5.zip (108kB)
On Thu, Apr 5, 2018 at 7:12 PM, yi zhao wrote:
> $ python -m pip install MySQL-python
> Collecting MySQL-python
> Downloading MySQL-python-1.2.5.zip (108kB)
> 100% || 112kB 260kB/s
> 930 [main] python2.7 12948 child_info_fork::abort: addre
$ python -m pip install MySQL-python
Collecting MySQL-python
Downloading MySQL-python-1.2.5.zip (108kB)
100% || 112kB 260kB/s
930 [main] python2.7 12948 child_info_fork::abort: address space needed by
'datetime.dll' (0x87) is alread
Ian Hoffman wrote:
Hello,
I'm having significant Python difficulties (and I'm new to Python).
I'm trying to read BLOB ASCII (numerical) data from a MySQL database
using MySQLdb in a formatted fashion. The BLOB data is a sequence of
numbers separated by newlines (\n), like this:
5
6
10
45
etc.
On May 24, 2:11 am, Dennis Lee Bieber wrote:
> On Sun, 23 May 2010 21:44:30 -0700 (PDT), Ian Hoffman
> declaimed the following in gmane.comp.python.general:
>
> > The problem is the tuple is contained in a single value separated by
> > newlines (only a[0] has a record), otherwise I could do as yo
On May 23, 6:54 pm, Matteo Landi wrote:
> I know anything about mysqldb and fetchone method, but it's easy to
> create a numpy array, given a tuple of data:
>
>
>
> >>> import numpy
>
> >>> t = ('1', '2', '3')
> >>> numpy.array(t, int)
> array([1, 2, 3])
>
> I made the assumption that mysqldb.fetc
I know anything about mysqldb and fetchone method, but it's easy to
create a numpy array, given a tuple of data:
>>> import numpy
>>>
>>> t = ('1', '2', '3')
>>> numpy.array(t, int)
array([1, 2, 3])
>>>
I made the assumption that mysqldb.fetchone return a tuple of strings,
so we need to create an
Hello,
I'm having significant Python difficulties (and I'm new to Python).
I'm trying to read BLOB ASCII (numerical) data from a MySQL database
using MySQLdb in a formatted fashion. The BLOB data is a sequence of
numbers separated by newlines (\n), like this:
5
6
10
45
etc.
When I read the data
During installation of MySQL-python-1.2.3c1 I encountered the following
error:
$ python2.6 setup.py build
running build
running build_py
copying MySQLdb/release.py -> build/lib.linux-x86_64-2.6/MySQLdb
running build_ext
building '_mysql' extension
creating build/temp.linux-x
On 28 mayo, 02:16, abolotnov wrote:
> say I obtain and install "an alternative" compiler. how do I tell
> python which one to use?
VS2008 Express Edition is available for free from the Microsoft site.
--
Gabriel Genellina
--
http://mail.python.org/mailman/listinfo/python-list
abolotnov wrote:
> say I obtain and install "an alternative" compiler. how do I tell
> python which one to use?
>
> I am sorry for asking dumb questions. Can't find the answers in the
> docs/mans.
http://docs.python.org/install/index.html#gnu-c-cygwin-mingw
Christian
--
http://mail.python.org/
> You might be able to use mingw32 as well.
say I obtain and install "an alternative" compiler. how do I tell
python which one to use?
I am sorry for asking dumb questions. Can't find the answers in the
docs/mans.
--
http://mail.python.org/mailman/listinfo/python-list
Christian Heimes wrote:
abolotnov schrieb:
Hi, I am trying to build mySQL-python with python 2.6 on windows and
can't figure what's wrong with it.
...
You need Visual Studio 2008. Other versions of VS aren't supported by
Python 2.6.
You might be able to use mingw32 as well.
abolotnov schrieb:
>> You need Visual Studio 2008. Other versions of VS aren't supported by
>> Python 2.6.
>
> Aren't 2005, 2008+ versions all have same c compiler - it's just the
> IDE versions that are different?
There are important differences between the several versions of VC++.
The most imp
> You need Visual Studio 2008. Other versions of VS aren't supported by
> Python 2.6.
Aren't 2005, 2008+ versions all have same c compiler - it's just the
IDE versions that are different?
--
http://mail.python.org/mailman/listinfo/python-list
abolotnov schrieb:
> Hi, I am trying to build mySQL-python with python 2.6 on windows and
> can't figure what's wrong with it.
>
> D:\temp\mysqlPyC\MySQL–python–1.2.3c1>python setup.py build
> running build
> running build_py
> copying MySQLdb\release.py –>
Hi, I am trying to build mySQL-python with python 2.6 on windows and
can't figure what's wrong with it.
D:\temp\mysqlPyC\MySQL–python–1.2.3c1>python setup.py build
running build
running build_py
copying MySQLdb\release.py –> build\lib.win32–2.6\MySQLdb
running build_ext
Mike Driscoll wrote:
>
> On Mar 3, 7:44 am, Ske wrote:
>> Let me apologise in advance if I’m missing something obvious, I’m still
>> very
>> new to this!
>>
>> I’m attempting to install MySQL-python in Python2.6 on Windows. On
>> running
>>
On Mar 3, 7:44 am, Ske wrote:
> Let me apologise in advance if I’m missing something obvious, I’m still very
> new to this!
>
> I’m attempting to install MySQL-python in Python2.6 on Windows. On running
> "easy_install MySQL-python" I get a "The system cannot find
Let me apologise in advance if I’m missing something obvious, I’m still very
new to this!
I’m attempting to install MySQL-python in Python2.6 on Windows. On running
"easy_install MySQL-python" I get a "The system cannot find the file
specified" message. Full output is below:
Thank you...
after:
%yum install mysql*
I was able to build and install mysql-python
--
View this message in context:
http://www.nabble.com/MySQL-python-1.2.2-install-with-no-mysql-tp14836669p14845579.html
Sent from the Python - python-list mailing list archive at Nabble.com.
--
http
washakie napisał(a):
> Okay, I've installed mysql then using yum... it installed the same version
> running on another machine with identical python where all works well... but
> now I get this error during build... thoughts?!?? mysql_config is there, and
> the site.cfg file is pointing correctly t
tObject_memberlist[0].offset’)
_mysql.c: In function ‘_mysql_ConnectionObject_getattr’:
_mysql.c:2442: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
error: command 'gcc' failed with exit status 1
[root@ MySQL-python-1.2.2]#
Jarek Zgoda wrote:
>
>
>>
washakie napisał(a):
> I need to install the MySQL-python-1.2.2 connector in order to access a db
> on another machine. In the install it asks for the location of the
> mysql_config file, and if I leave it as the default I get:
>
> [EMAIL PROTECTED] MySQL-python-1.2.2]# python
Hello,
I need to install the MySQL-python-1.2.2 connector in order to access a db
on another machine. In the install it asks for the location of the
mysql_config file, and if I leave it as the default I get:
[EMAIL PROTECTED] MySQL-python-1.2.2]# python setup.py build
sh: mysql_config: command
Good luck!
On Dec 23, 3:09 pm, Steve Ametjan <[EMAIL PROTECTED]> wrote:
> I've been trying to get MySQL-python to install on Leopard for the
> past couple of days, and I keep running into relatively the same
> error. I'm hoping that someone on this list will be able to help
I'm new to programming and I'm trying to find some answers. I wrote a few
python cgi scripts for my website all of which access a mysql db on
'localhost'. My question is, Is it a bad idea to have my username and
password for my db coded in my script? Is there a better way to make sure
that inf
I've been trying to get MySQL-python to install on Leopard for the
past couple of days, and I keep running into relatively the same
error. I'm hoping that someone on this list will be able to help me
out in solving the issue. I'd like to get this solved so I can
continue
Jonas Schneider wrote:
> Hi guys,
>
> I´m experiencing weird error messages while installing MySQL-python
> with easy_install... I have no idea where the errors come from.
>
> Read the whole output at http://pastebin.com/m3859cf40
> It´s really a lot...
>
> Someo
Hi guys,
I´m experiencing weird error messages while installing MySQL-python
with easy_install... I have no idea where the errors come from.
Read the whole output at http://pastebin.com/m3859cf40
It´s really a lot...
Someone got ideas?
Greets
Jonas
--
http://mail.python.org/mailman/listinfo
point out many excellent xml modules.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Behalf Of Picio
> Sent: Tuesday, July 03, 2007 10:08 AM
> To: python-list@python.org
> Subject: MySQL -->Python-->XML for JSviz
>
>
>
Hello all, I need some advice to choose an xml generator for jsviz a
tool in javascript to create some wonderful graphs (SnowFlake or Force
directed).
Starting from a SQL table (mysql) I need to create a XML file with a
structure like this:
And I know about the precompiled binary... I'm just sick of getting
this warning
Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import _mysql
__main__:1: RuntimeWa
How do you install MySQL-python-1.2.1_p2 on a PPC OS X 10.4 machine
with MySQL 4.1?
>>> python setup.py build
...
...
_mysql.c:2854: error: parse error before ')' token
_mysql.c:2854: error: called object '&' is not a
function
_mysql.c:2854: error: called obje
>> error: invalid Python installation: unable to open
>> /usr/local/lib/python2.3/config/Makefile (No such file or
>> directory)
>
> Ernesto, Where did the install put Python - the obvious
> situation is that the Makefile is not where the install of
> MySQL-Pyt
On 6/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Dear python users,
>
> I have an account on a Linux Cluster. I installed python version 2.3.5 on my
> account. I need to install the module MySQL-python to interact with a MySQL
> server already installed o
Dear python users,
I have an account on a Linux Cluster. I installed python version 2.3.5 on my
account. I need to install the module MySQL-python to interact with a MySQL
server already installed on the cluster.
However, I read the README file but running
python setup.py build
the system
Hi,
I have tried to install MySQL-python-1.2.1_p2 under Windows XP with
Python 2.4.3 and I get some problems.
1- I get this warning when I run setup.py build:
C:\tools\Python\lib\distutils\extension.py:133: UserWarning: Unknown
Extension options: 'mysql_root'
warnings.warn(msg)
wrong.libraries: mysqlclient zlib msvcrt libcmt wsock32 advapi32libs msvcrt libcmt seems to conflict with eachother and with MSVCR80.dll
I have try using msvcrt and have /NODEFAULTLIB:libcrtC:\MySQL-python-1.2.1_p2.tar\MySQL-python-1.2.1_p2>"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\
nflict with eachother and with MSVCR80.dll
I have try using msvcrt and have /NODEFAULTLIB:libcrtC:\MySQL-python-1.2.1_p2.tar\MySQL-python-1.2.1_p2>"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\link.exe" /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\mysql\lib\opt /LIBPATH:c:\pytho
[EMAIL PROTECTED] wrote:
> both of your suggestions don't work, that's kind of what I was trying
> the whole time
>
Well it seems firly obvious that your universe is somehow broken. Please
send it back to God in a plain wrapper and it will be replaced with a
new universe in which all programming
[EMAIL PROTECTED] wrote:
> both of your suggestions don't work, that's kind of what I was trying
> the whole time
I am sure you have read this before somewhere, but -
1. Tell us what you have tried so far
2. Tell us what you expected (or hoped) would happen
3. Tell us what actually h
both of your suggestions don't work, that's kind of what I was trying
the whole time
--
http://mail.python.org/mailman/listinfo/python-list
Dennis Lee Bieber wrote:
> On 23 Apr 2006 21:25:48 -0700, [EMAIL PROTECTED] declaimed the following
> in comp.lang.python:
>
>
>> Hey all, I'm running a query within some python code, and I'm having
>> difficulties doing something that seems to be really simple . I'm
>> running a query in the fo
Hey all, I'm running a query within some python code, and I'm having
difficulties doing something that seems to be really simple . I'm
running a query in the following form:
query01 = 'select max(DirectorID) +1 from Director;'
cursor.execute(query01)
table = cursor.fetchall()
the re
I tried mxODBC now, and it worked out of the box. Thanks for the tip!
--
http://mail.python.org/mailman/listinfo/python-list
I'm pretty new myself. But if you don't get anywhere using
mysql-python, I can recommend
mxODBC. I have connected to both MS Access DB and MySQL DB. You get it
from:
http://www.egenix.com/files/python/mxODBC.html
But read the instructions carefully as I think there are two things
Hi.
I'm trying to use Python 2.4 with MySql 5.0, but I'm having
installation problems.
I've tried to follow the following articles to install mysql-python
with the free visual c++ toolkit
http://mail.python.org/pipermail/python-list/2004-December/255184.html
http://www.vrplumber.
s to function
> ‘mysql_shutdown’
> ***
> Should I just give up on MySQL-python-0.3.5 ? [...]
This release is almost 5 years old. Where did you dig it out from? ;-)
http://dustman.net/andy/python/MySQLdb_obsolete/0.3.5
"""
MySQLdb module 0.3.5
OBSOLETE Python Interface to
python,
but I can't seem to fix the following error:
***
_mysqlmodule.c: In function _mysql_ConnectionObject_shutdown:
_mysqlmodule.c:1019: error: too few arguments to function
mysql_shutdown
***
Should I just give up on MySQL-python-0.3.5 ?
Is there a more up to date API I should install for
Ed Hotchkiss wrote:
> Just migrating now from ASP/to MySQL and Python.
>
> I am trying to create a simple script to access a MySQL DB.
> The Module for MySQL looks very easy, however I do not understand one
> thing ...
>
> In ASP, you can just create a new DB with Access. In MySQL, how do I
>
On 9/15/05, Ed Hotchkiss <[EMAIL PROTECTED]> wrote:
> I am trying to create a simple script to access a MySQL DB.
> The Module for MySQL looks very easy, however I do not understand one thing
> ...
>
> In ASP, you can just create a new DB with Access. In MySQL, how do I create
> a database to
Connect to the database as root.
create database databasename;
Now grant priveleges accordingly:
grant all on databasename to super_user;
(I may have the grant syntax screwed up, but you get the idea.)
jw
On 9/15/05, Ed Hotchkiss <[EMAIL PROTECTED]> wrote:
> Just migrating now from ASP/to My
Just migrating now from ASP/to MySQL and Python.
I am trying to create a simple script to access a MySQL DB.
The Module for MySQL looks very easy, however I do not understand one thing ...
In ASP, you can just create a new DB with Access. In MySQL, how do I create a database to start playing w
but the gcc was installed on this system tho:
gcc -v
Reading specs from
/export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.4.2
--
http://mail.python.o
Cathy Hui wrote:
> Do u know why do i get the following message
error: command 'gcc' failed with exit status 1
yes:
error: command 'gcc' failed with exit status 1
means: there's no compiler gcc ...
kai
when trying to build the
> MySql-Python (1.2.0) on my
Thanks, now I am trying with Mysql-python-1.2.0.
There is an other issue I am encoutering when trying to build, do u
know why? (please see below)
===
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1
Do u know why do i get the following message when trying to build the
MySql-Python (1.2.0) on my Solaris 8 system? (with mysql 4.0.21 and
python 2.4). thanks!
error mesg:
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
error
Cathy Hui wrote:
> I am trying to install MySQL-Python 0.9.1 on my Solaris 8 system. The
> system has Python 2.3.3 and Mysql 4.0.21 installed.
You're wasting your time. Use MySQL-python-1.2.0.
--
http://mail.python.org/mailman/listinfo/python-list
I am trying to install MySQL-Python 0.9.1 on my Solaris 8 system. The
system has Python 2.3.3 and Mysql 4.0.21 installed.
This is where I downloaded the distribution of the Mysql-python
package:
http://www.ravenbrook.com/project/p4dti/import/2001-10-16/MySQL-python-0.9.1/MySQL-python-0.9.1
[EMAIL PROTECTED] wrote:
> Hi. I'm trying to build MySQL-python-1.2.0 on my Linux FC2
> (with MySQL 3.23.58).
See:
https://sourceforge.net/tracker/index.php?func=detail&aid=1146226&group_id=22307&atid=374932
And also try the new 1.2.1c3 release candidate.
--
http://
Hi. I'm trying to build MySQL-python-1.2.0 on my Linux FC2
(with MySQL 3.23.58).
But when building, I get this error message:
---
[]# python setup.py build
running build
running build_py
running build_ext
building '_mysql' ext
--
Any suggestion?. Regards
Andy Dustman wrote:
> [EMAIL PROTECTED] wrote:
>
> > I'm trying to build 'MySQL-python-1.2.0' on my Linux FC2:
> ...
> > gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -march=i386
> > -mcpu=i686 -D_GNU_SOURC
[EMAIL PROTECTED] wrote:
> I'm trying to build 'MySQL-python-1.2.0' on my Linux FC2:
...
> gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -march=i386
> -mcpu=i686 -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/python2.3 -c
> _mysql.c -o build/temp.linux-i686-2.3/_my
Hi.
I'm trying to build 'MySQL-python-1.2.0' on my Linux FC2:
--
[ ]# export PATH=$PATH:/usr/local/mysql/bin/
[ ]# export mysqlclient=mysqlclient_r
[ ]# python setup.py clean
[ ]# python setup.py build
running build
running build_py
running bui
It seems unlikely that is the problem, since I can connect from the
client machine to server using JDBC, just not using mySQL client (any
by extension) mysql-python.
--
http://mail.python.org/mailman/listinfo/python-list
What happens when you try to connect? Be sure to check /etc/hosts.allow
and .deny on the server, if your server is compiled with TCP wrapper
support.
--
http://mail.python.org/mailman/listinfo/python-list
Do you mean the python glue code? I am having this problem when python is not
in the picture at all, just running mysql command-line client. Presumably my
client is 4.1.10, as it came in a built package along with the 4.1.10 server.
In fact, the following seems to indicate that it is the righ
Alec Wysoker wrote:
Hi Steve,
Thanks for the response. I don't think this is the problem. When I connect to
the remote machine, it says this:
Your MySQL connection id is 58 to server version: 4.1.0-alpha-standard
When I connect to the local server, I get this:
Your MySQL connection id is 6 to se
Alec Wysoker wrote:
Hi Andy,
Thanks for your message. It turned out that I had installed 64-bit
mySql on a 32-bit machine. I'm amazed it worked at all. Anyway, I
finally got mysql-python built, but I'm unable to connect to a machine
on a remote host. The problem doesn't seem
Hi Andy,
Thanks for your message. It turned out that I had installed 64-bit
mySql on a 32-bit machine. I'm amazed it worked at all. Anyway, I
finally got mysql-python built, but I'm unable to connect to a machine
on a remote host. The problem doesn't seem to be with the pytho
Did you build your own MySQL, or did you use a pre-built version? And
what version? It's not clear if you're using 4.0 or 4.1. If
mysql_config is returning the wrong flags, then that's a bug with
MySQL.
You should be able to work around this by doing this in setup.py before
the call to setup():
e
Alec Wysoker wrote:
I need to be able to access mySQL 4.0 and 4.1 databases from python. I
was hoping to find mysql-python 1.2.0 already built for Sparc, but no
such luck.
Try version 1.0.1.
--
Michael Hoffman
--
http://mail.python.org/mailman/listinfo/python-list
I need to be able to access mySQL 4.0 and 4.1 databases from python. I
was hoping to find mysql-python 1.2.0 already built for Sparc, but no
such luck. I've been struggling trying to get it build. First, I had
to hack setup.py because mysql_config --cflags was returning -m64,
which wasn
It definitely looks like an access control problem; recheck your grants.
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, 29 Jan 2005 06:41:37 +, Kartic wrote:
[snip]
> And here is one more site, good stuff here too:-
> http://www.kitebird.com/articles/pydbapi.html
>
Hi.
I followed the instructions there, tried out the test script they
recommend.
Can you tell me why this command, in the python interp
It's a pretty good tutorial, thought I would recommend you forget about
the fetchone() example. The example below demonstrates three additional
features that will make your life easier: MySQL option files, tuple
unpacking, and cursors as iterators (fourth feature: the default host
is localhost; thi
Dfenestr8 wrote:
Hi.
Been told by the admin of my (free!) server that he'd rather I should
learn to use mysql if I want to continue writing cgi scripts there.
Not even sure exactly what mysql is.
Is there a simple tutorial anywhere on the web about using python + mysql?
http://www.devshed.com/c/a
ython + mysql?
Did you try googling?
There are two items in the very first page that should be of use to you.
One is the Python-MySQL module, which you should have installed.
http://sourceforge.net/projects/mysql-python
There is an examples directory that has some concrete stuff to help you
Hi.
Been told by the admin of my (free!) server that he'd rather I should
learn to use mysql if I want to continue writing cgi scripts there.
Not even sure exactly what mysql is.
Is there a simple tutorial anywhere on the web about using python + mysql?
--
http://mail.python.org/mailman/listi
Thanks for the feedback.
I linked to Oreilly's onlamp.com article at:
http://lampforums.org/forumdisplay.php?f=36
What is LAMP?
LAMP is an acronym for Linux, Apache, MYSQL/Postgres, and
PHP/Perl/Python/Ruby.
These open-source efforts offer ever-increasing power and versatility.
In 2001, Dal
Terry Reedy wrote:
> Whereas this is my second or third exposure, with the first that made an
> impression coming earlier
> this year. A list of those books might help some people, and would establish
> that LAMP is an
> established concept.
the LAMP concept has been pushed by O'Reilly and o
"astro" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> The top of the page at http://lampforums.org has a few places where LAMP
> is spelled out as Linux, Apache, MYSQL, and PHP/Perl/Python.
Once I understood that that is what you are doing, it became obvious that
that is what
The top of the page at http://lampforums.org has a few places where LAMP
is spelled out as Linux, Apache, MYSQL, and PHP/Perl/Python.
I could make it more clear, I suppose--any suggestions as to how to
word it would be great!
The LAMP acronym has been around for awhile--I think there are even a
"astro" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hello all,
> We have set up new linux, apache, mysql, python, perl, and php forums
> at http://lampforums.org .
Perhaps you could say at the top of that page what LAMP means.
My guess: Linux-A
Hello all,
We have set up new linux, apache, mysql, python, perl, and php forums
at http://lampforums.org .
comp.lang.python is at: http://lampforums.org/forumdisplay.php?f=18
The interface allows your posts to appear immediately on the forums,
and also to private message other users.
Your
+1
--
http://mail.python.org/mailman/listinfo/python-list
Could anybody please provide me with a "compiled" version of the above
(MySQLdb 1.0.0 for Python on Win 2000 / XP)
for Python version 2.4, as I do not have any possibility of compiling??
Many thanks in advance
Henning
--
http://mail.python.org/mailman/listinfo/python-list
88 matches
Mail list logo