Tagged Questions
0
votes
2answers
17 views
Installing MySQL-python with easy-install failed
I'm struggling with installing MySQL-python on my Centos VPS. I have "main" Python 2.6 (one that came automatically with CentOS) and another one I installed after (2.7). So I used this command:
...
0
votes
1answer
223 views
Python (1040, 'Too many connections')
im newbie in Python.
I have Item table with 3 attributes ( name, price, image)
I want to get html from link and save to table. So i do that
from books.models import Book, Author, Publisher, Item
...
0
votes
1answer
26 views
No errors installing MYSQLdb, but I can't import
I'm running Linux Mint 13 and Python 2.7.3 and I'm trying to install mysqldb, but can't import it. I run:
sudo apt-get install build-essential python-dev libmysqlclient-dev
Reading package lists... ...
0
votes
1answer
65 views
Installing mysqldb with a new version of python on linux
I have mysqldb installed and it works for python2.4. But I've recently installed python2.6 and when I run it I can't import mysqldb. I get the following:
import MySQLdb
ImportError: No module named ...
0
votes
1answer
33 views
Python: MySQLdb working great on Linux, not Windows
I have a problem with an application I am writing.
Using a file dialog a user picks a file whose values are added to a database, or at least, that's the idea.
Using the mysqldb module I have made all ...
97
votes
18answers
67k views
mysql_config not found when installing mysqldb python interface
I am trying to get a Python script to run on the linux server I'm connected to via ssh. The script uses mysqldb. I have all the other components I need, but when I try to install mySQLdb via ...
0
votes
1answer
640 views
debian: mysql-workbench installation error [cannot find -lpython2.7.a]
I'm trying to install mysql-workbench-gpl-5.2.45 from the source code on Linux debian 2.6.32-5-amd64. The problem appears at the "make" step with error message:
/usr/bin/ld: cannot find -lpython2.7.a
...
1
vote
1answer
1k views
locate libmysqlclient_r.so.16 issue
Like to start off by advising that i am a novice and my webdesigner is out of the country. I have the issue below and looking for some advice. I have already re-installed mysqldb and upgraded the ...
1
vote
2answers
650 views
Python module issue
I have a shared hosting environment on Bluehost. I am running a custom installation of python(+ django) with a few installed modules. All has been working, until yesterday a change was made on the ...
9
votes
2answers
6k views
/usr/bin/ld: cannot find -lpython2.7
I'm trying to install MySQLdb with Python 2.7. The error I'm getting looks like this:
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC ...
2
votes
2answers
872 views
Failed to install MySQLdb on Linux
I have Python 2.6 installed on Linux Cent OS. Also MySQL Server is configured. When i try to install MySQLdb library by issuing python setup.py install i am getting huge error. Please help me out to ...
0
votes
1answer
206 views
MySQL-Python Installation Error: Possible Architecture Incompatibility?
I am attempting to set up my Django virtualenv production environment on a Linux shared host server. Installing python packages using pip goes fine until I try to install Mysql-Python, which crashes. ...