python 安装python-memcached and pylibmc两个模块

python-memcached and pylibmc两个模块.

需要在Django中使用Memcached时:

node2:/root#pip install python-memcached 
Requirement already satisfied: python-memcached in /usr/local/python27/lib/python2.7/site-packages
Requirement already satisfied: six>=1.4.0 in /usr/local/python27/lib/python2.7/site-packages (from python-memcached)

node2:/usr/local/python27/lib/python2.7/site-packages#ls
django                      kafka_python-1.3.5.dist-info  MySQL_python-1.2.5-py2.7.egg-info          OleFileIO_PL.pyc                 pytz-2017.2.dist-info        six-1.11.0.dist-info
Django-1.11.dist-info       memcache.py                   MySQL_python-1.2.5-py2.7-linux-x86_64.egg  PIL                              README                       six.py
easy-install.pth            memcache.pyc                  _mysql.so                                  Pillow-4.1.0.dist-info           redis                        six.pyc
image                       MySQLdb                       olef

你可能感兴趣的:(Django1.8文档)