Closed pythonmobile closed 4 years ago
On ubuntu, with latest version of pypy 3.6.9, I get the following pip install error. Any help on how to fix this?
./pip3 install pylibmc Collecting pylibmc Downloading pylibmc-1.6.1.tar.gz (64 kB) |████████████████████████████████| 64 kB 694 kB/s Installing collected packages: pylibmc Running setup.py install for pylibmc ... error ERROR: Command errored out with exit status 1: command: /home/uname/proj/github/temp/pypy3.6-v7.3.0-linux64/bin/pypy3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-trl7je3l/pylibmc/setup.py'"'"'; __file__='"'"'/tmp/pip-install-trl7je3l/pylibmc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-mis40kaf/install-record.txt --single-version-externally-managed --compile --install-headers /home/uname/proj/github/temp/pypy3.6-v7.3.0-linux64/include cwd: /tmp/pip-install-trl7je3l/pylibmc/ Complete output (24 lines): running install running build running build_py creating build creating build/lib.linux-x86_64-3.6 creating build/lib.linux-x86_64-3.6/pylibmc copying src/pylibmc/__init__.py -> build/lib.linux-x86_64-3.6/pylibmc copying src/pylibmc/autoconf.py -> build/lib.linux-x86_64-3.6/pylibmc copying src/pylibmc/test.py -> build/lib.linux-x86_64-3.6/pylibmc copying src/pylibmc/pools.py -> build/lib.linux-x86_64-3.6/pylibmc copying src/pylibmc/consts.py -> build/lib.linux-x86_64-3.6/pylibmc copying src/pylibmc/__main__.py -> build/lib.linux-x86_64-3.6/pylibmc copying src/pylibmc/client.py -> build/lib.linux-x86_64-3.6/pylibmc running build_ext building '_pylibmc' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/src gcc -pthread -DNDEBUG -O2 -fPIC -DUSE_ZLIB -I/home/uname/proj/github/temp/pypy3.6-v7.3.0-linux64/include -c src/_pylibmcmodule.c -o build/temp.linux-x86_64-3.6/src/_pylibmcmodule.o -fno-strict-aliasing -std=c99 In file included from src/_pylibmcmodule.c:34:0: src/_pylibmcmodule.h:42:10: fatal error: libmemcached/memcached.h: No such file or directory #include <libmemcached/memcached.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /home/uname/proj/github/temp/pypy3.6-v7.3.0-linux64/bin/pypy3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-trl7je3l/pylibmc/setup.py'"'"'; __file__='"'"'/tmp/pip-install-trl7je3l/pylibmc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-mis40kaf/install-record.txt --single-version-externally-managed --compile --install-headers /home/uname/proj/github/temp/pypy3.6-v7.3.0-linux64/include Check the logs for full command output.
Hi, please read the installation instructions at http://sendapatch.se/projects/pylibmc/install.html
On ubuntu, with latest version of pypy 3.6.9, I get the following pip install error. Any help on how to fix this?