Posts Tagged ‘django’

command ‘x86_64-linux-gnu-gcc’ failed with exit status in Python Django project

Typical error when a library that you want to install needs to compile and use some system libraries. First make sure you have: python-dev gcc [code] apt get install python [/code] Other libraries that could be needed: [code] sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml…

Read More

Django Migrations with South

For a Django project using South you need to use the following commands in order to sync the DB: Start schema for app: Run manage.py schemamigration app_name  Run migration Run manage.py migrate app_name Reference: http://www.djangopro.com/2011/01/django-database-migration-tool-south-explained/

Read More