7
votes
1answer
3k views

cc1: error: unrecognized command line option “-Wno-null-conversion” within installing python-mysql on mac 10.7.5

This error broke my python-mysql installation on Mac 10.7.5. Here are the steps The installed python is 2.7.1, mysql is 64 bit for 5.6.11. The being installed python-mysql is 1.2.4, also tried ...
2
votes
2answers
5k views

MySQLdb in Python: “Can't connect to MySQL server on 'localhost'”

I have installed MySQLdb for Python and I am able to import MySQLdb. Now I try to connect to the MySQL Community Server on my local machine, using this code: db=MySQLdb.connect( host="localhost", ...
1
vote
1answer
563 views

Integrating Alembic with SQLAlchemy

I'm looking at a way to integrate Alembic with SQLAlchemy. What I need is a way so that Alembic detects any changes I make in models.py automatically and updates it in the MySQL database when I run ...
1
vote
1answer
245 views

fatal error 'stdio.h' Python 2.7.3 on Mac OS X 10.7.5

I was told that this question is better suited here at Stack Overflow ( and not ServerFault ) So here it goes: I have this weird issue on my Mac OS X 10.7.5 ...
1
vote
1answer
152 views

python models.py syncdb does not work

Second day on my journey to install Python 2.7.2 & Django 1.5 and create my first application, and now I can not sync models.py and update my database. Tools: Windows Vista, Putty SSH Location: ...