运行python代码使用memcache过程中出现bug
代码:
cache = memcache.Client(['127.0.0.1:11211'], debug=True)
报错:
Cannot find reference 'Client' in '__init__.py'
解决:
删除原有python包memcache,安装python-memcached。
删除指令:pip uninstall memcache
运行python代码使用memcache过程中出现bug
代码:
cache = memcache.Client(['127.0.0.1:11211'], debug=True)
报错:
Cannot find reference 'Client' in '__init__.py'
解决:
删除原有python包memcache,安装python-memcached。
删除指令:pip uninstall memcache