WebFaction
Community site: login faq

I want to install memcached with a Django application. I have set up memcached and configured Django to use memcached as per the Webfaction instructions.

However, when I restart Apache, I get a 500 error and the logs show:

InvalidCacheBackendError: Memcached cache backend requires either the 'memcache' or 'cmemcache' library

I then tried:

$ easy_install-2.6 memcached

as recommended on the Webfaction forums, but got:

Searching for memcached
Reading http://pypi.python.org/simple/memcached/
Couldn't find index page for 'memcached' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for memcached
error: Could not find suitable distribution for Requirement.parse('memcached')

Could you advise?

asked 19 Sep '11, 13:16

AnnaPS
10711220
accept rate: 100%


Ah, figured it out, it's python-memcached:

 $ easy_install-2.6 python-memcached

All works okay now.

permanent link

answered 19 Sep '11, 13:20

AnnaPS
10711220
accept rate: 100%

edited 19 Sep '11, 13:20

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
×34
×28

question asked: 19 Sep '11, 13:16

question was seen: 6,600 times

last updated: 19 Sep '11, 13:20

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