python报错解决 fatal error: libmemcached/memcached.h: 没有那个文件或目录
环境:Ubuntu20.4
In file included from src/_pylibmcmodule.c:34:
src/_pylibmcmodule.h:42:10: fatal error: libmemcached/memcached.h: 没有那个文件或目录
42 | #include <libmemcached/memcached.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
意思是
找不到 'libmemcached/memcached.h'
文件
解决办法
linux/windows
apt-get install libmemcached-dev
分别是哔哩哔哩序号35,小米运动序号2,米友社序号13,这个是同一个账号下运行的任务