开发者

Pinax on Webfaction - manage.py syncdb not finding virtualenv

开发者 https://www.devze.com 2023-03-26 00:36 出处:网络
(pinax09)[user@web213 social]$ python manage.py syncdb Error: Can\'t import Pinax. Make sure you are in a virtual开发者_开发知识库 environment that has

(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.

0

精彩评论

暂无评论...
验证码 换一张
取 消