(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?
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.
精彩评论