OK, after trying to setting up my virtual environment for django I was struggling working with mysql.
What I was getting is after running:
$ pip install MySQL-python
EnvironmentError: mysql_config not found
So basically what was needed was to reinstall mysql again but now for my local environment:
$ sudo apt-get build-dep python-mysqldb
$ pip install mysql-python
And the just run the migration:
$ python manage.py migrate
Operations to perform:
Apply all migrations: admin, contenttypes, auth, sessions
Running migrations:
Applying contenttypes.0001_initial... OK
Applying auth.0001_initial... OK
Applying admin.0001_initial... OK
Applying sessions.0001_initial... OK
Running correctly.
Advertisements