我无法在虚拟环境中安装python snappy的库。这是错误:
Command /usr/bin/python -c "import setuptools,
tokenize;__file__='/tmp/pip_build_sebastianbaskovich/python-snappy
/setup.py';exec(compile(getattr(tokenize, 'open',
open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record /tmp/pip-sW65K7-record/install-record.txt --single-
version-externally-managed --compile failed with error code 1 in
/tmp/pip_build_sebastianbaskovich/python-snappy
答案 0 :(得分:0)
为了安装python-snappy,首先需要在计算机上使用snappy库(snappy-c.h)才能正确编译。首先安装 Snappy library,然后尝试安装python-snappy,你应该好好去。