WebFaction
Community site: login faq

Trying to install geopy, found this entry on the old forums: http://forum.webfaction.com/viewtopic.php?id=996 Their solution:

For Python 2.4: easy_install-2.4 -d $HOME/lib/python2.4/ -s $HOME/bin/ geopy

For Python 2.5: easy_install-2.5 -d $HOME/lib/python2.5/ -s $HOME/bin/ geopy

My django install is on python 2.7. When I run the commands above, changing for 2.7, I get this error:

ImportError: No module named django.utils

Any ideas?

asked 11 Jul '11, 20:50

mtaylor
3126
accept rate: 0%


Hi,

The problem here is that your Django apps have django installed here:

$HOME/webapps/appname/lib/python2.7/django

So django doesn't exist in the path you are trying to install it. Once you fix that by changing the path or installing Django in $HOME/lib/python2.7 it should work no problem.

permanent link

answered 11 Jul '11, 21:27

klynton
1.6k1210
accept rate: 41%

Durrr, solution: http://docs.webfaction.com/software/python.html#installing-packages-with-easy-install

permanent link

answered 12 Jul '11, 08:30

mtaylor
3126
accept rate: 0%

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:

×909
×337

question asked: 11 Jul '11, 20:50

question was seen: 11,514 times

last updated: 12 Jul '11, 08:30

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