WebFaction
Community site: login faq
0
1

Hi,

I used easy_install to install South like this:

[xpanta@webXX myproject]$ easy_install
-U South Searching for South ... Best match: South 0.7.3 Processing
South-0.7.3-py2.4.egg South 0.7.3 is
already the active version in
easy-install.pth Using
/home/xpanta/lib/python2.4/South-0.7.3-py2.4.egg
Processing dependencies for South

I also added it as a last entry in my INSTALLED_APPS.

But when I give python2.7 manage.py syncdb I get a No module named south error message.

What did I do wrong?

asked 29 Nov '11, 08:02

xpanta
623344
accept rate: 0%

I also tried this:

cp ~/lib/python2.4/easy-install.pth ~/webapps/my_project/lib/python2.7/

but still the same error.

(29 Nov '11, 08:36) xpanta

The default version of Python on WebFaction is 2.4, using easy_install without a version will install for this version. To install for a specific version, add the version number to the end. For example:

easy_install-2.7 south

Here is more on using easy_install on WebFaction.

permanent link

answered 29 Nov '11, 08:46

timg ♦♦
1.3k4
accept rate: 30%

I also had to create /home/xpanta/lib/python2.7/ directory. Thanks! :-)

(29 Nov '11, 13:54) xpanta

I have a deployment script I use for setting up projects on WebFaction. I'm linking to it because it's probably the easiest way to show what I do. If I set up a new Django project on Python 2.7, I alias python to point at the 2.7 executable. Next set up the lib/python2.7 folder like you did. Then install pip, which is a much better package manager than easy_install and it will be tied to 2.7 and anything you install with it will go under the proper folder.

permanent link

answered 30 Nov '11, 13:47

tclancy
861815
accept rate: 6%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×910
×9

question asked: 29 Nov '11, 08:02

question was seen: 7,032 times

last updated: 30 Nov '11, 13:47

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM