开发者

Error running Python apps in Ubuntu

This is the first time I've tried Python. I followed this guide, and want make t开发者_运维知识库his app running in Ubtuntu 10 server.

I used easy_install virtualenv and followed the rest of the setup steps. But, I got errors in step 8:

(mirosubs-env)root@makserver:/usr/local/src/mirosubs# python manage.py syncdb
Error: No module named sorl.thumbnail
(mirosubs-env)root@makserver:/usr/local/src/mirosubs# ./dev-runserver.sh
Error: No module named south

Any suggestions?


Seems like either you forgot to install some additional Python modules or your documentation doesn't mention them. You need to do:

sudo easy_install South
sudo easy_install sorl-thumbnail

Of course, you may encounter further problems, but that should solve your immediate issue.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜