开发者

Error running Python apps in Ubuntu

开发者 https://www.devze.com 2023-02-14 11:34 出处:网络
This is the first time I\'ve tried Python.I followed this guide, and want make t开发者_运维知识库his app running in Ubtuntu 10 server.

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

精彩评论

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

关注公众号