WebFaction
Community site: login faq

Hi,

I couldn't find a way to install django-grappelli on webfaction. I've asked on Freenode#django but someone else tried and succeeded. (his paste: http://dpaste.org/2mk8s/ )

And this is mine: http://dpaste.org/9gppo/ I put the content of ~/.pip/pip.log as well

Basically, it seems that it does not download setup.py??

We output our version numbers as well. His pip has a lower version number than mine, but it uses a more recent python than mine. (I think there's python 2.7 on the server, but it only uses 2.4 for pip? :/)

Well, this seems quite obscure... :/

This question is marked "community wiki".

asked 01 Jun '12, 16:09

sgiffard
334
accept rate: 0%


You need to install pip for your specific version of python. Then you will be able to install django-grappelli for python 2.7.

mkdir ~/lib/python2.7
easy_install-2.7 pip
pip-2.7 install django-grappelli
permanent link

answered 01 Jun '12, 16:28

timg ♦♦
1.3k4
accept rate: 30%

Thanks! That worked!

I tried to install Django-socketio while I was at it.

But at the end of the install, it tried to reach /usr/... instead of installing it in my own space. Because of that, the install failed.

Message: error: could not create '/usr/local/include/python2.7/greenlet': Permission denied Full trace: http://dpaste.org/bveVM/

Any idea to make it install in my own space instead of at the root?

permanent link

answered 02 Jun '12, 15:38

sgiffard
334
accept rate: 0%

Tested with easy_install and installed without a problem

easy_install-2.7 django-socketio
(02 Jun '12, 15:52) timg ♦♦

Thanks! Worked as well ^^. Is there a rule of thumbs of when to use pip and when to use easy_install?

(02 Jun '12, 16:01) sgiffard

No there is no general rule, it is whichever method you prefer. I have found the easy_install fails less often, but pip has better upgrade and uninstall methods. So I would say try pip and it fails then fall back on easy_install.

(02 Jun '12, 16:04) timg ♦♦

Ok, thanks for your insight!

(02 Jun '12, 16:10) sgiffard
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
×54
×1

question asked: 01 Jun '12, 16:09

question was seen: 4,997 times

last updated: 02 Jun '12, 16:10

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