Search code examples
djangopinaxwebfaction

Pinax on Webfaction - manage.py syncdb not finding virtualenv


(pinax09)[user@web213 social]$ python manage.py syncdb

Error: Can't import Pinax. Make sure you are in a virtual environment that has Pinax installed or create one with pinax-boot.py.

I'm obviously in pinax09 virtualenv which has pinax installed hence I could create a social project with setup_project. However, once I run the syncdb it complains it can't import Pinax. What could be the problem?


Solution

  • Might be a problem with Python versions - I've had that on Webfaction before. Try just ./manage.py syncdb, without the python, which should run the correct version.