Installing memcached for a django project

前端 未结 2 1636
长发绾君心
长发绾君心 2021-01-31 08:18

From the django docs:

After installing Memcached itself, you\'ll need to install a memcached binding. There are several python memcached bindings availabl

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-31 08:47

    Just do pip install python-memcached and you should be good.

    As for installing memcached itself, it depends on the platform you are on.

    • Windows - http://pureform.wordpress.com/2008/01/10/installing-memcache-on-windows-for-php/
    • OS X - brew install memcached
    • Debian/Ubuntu - sudo apt-get install memcached

    On OS X/Linux, just run memcached in the command line.

提交回复
热议问题