本机环境:
操作系统:Mac OS
Python版本:Python3.6
pip版本:pip3.6
当我尝试去安装 python-memcache的时候就会出现一些奇怪的问题
pip3 install python-memcached
Collecting python-memcached
Using cached python-memcached-1.58.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File “”, line 1, in
File “/private/var/folders/lj/lzh02v9s14vbcn90m2qc5x600000gn/T/pip-build-aekw3i_w/python-memcached/setup.py”, line 8, in
version=get_module_constant(‘memcache’, ‘version‘),
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/depends.py”, line 164, in get_module_constant
return extract_constant(code, symbol, default)
File “/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/depends.py”, line 195, in extract_constant
const = code.co_consts[ar