我试图在Windows 10计算机上使用“ pip install pylibmc”安装pylibmc,但出现以下错误。我需要知道是否有任何方法可以在Windows 10上安装libmemcached,因为我需要安装需要libmemcached的pylibmc。
创建build \ temp.win-amd64-3.7 \ Release \ src C:\ Program文件 (x86)\ Microsoft Visual Studio \ 2017 \ BuildTools \ VC \ Tools \ MSVC \ 14.16.27023 \ bin \ HostX86 \ x64 \ cl.exe / c / nologo / Ox / W3 / GL / DNDEBUG / MD -DUSE_ZLIB -Ic:\ anaconda \ include -ic:\ anaconda \ include“ -IC:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ BuildTools \ VC \ Tools \ MSVC \ 14.16.27023 \ include” “ -IC:\ Program Files(x86)\ Windows Kits \ 10 \ include \ 10.0.17763.0 \ ucrt” “ -IC:\ Program Files(x86)\ Windows Kits \ 10 \ include \ 10.0.17763.0 \ shared” “ -IC:\ Program Files(x86)\ Windows Kits \ 10 \ include \ 10.0.17763.0 \ um” “ -IC:\ Program Files(x86)\ Windows Kits \ 10 \ include \ 10.0.17763.0 \ winrt” “ -IC:\ Program Files(x86)\ Windows 套件\ 10 \ include \ 10.0.17763.0 \ cppwinrt“ /Tcsrc/_pylibmcmodule.c /Fobuild\temp.win-amd64-3.7\Release\src/_pylibmcmodule.obj -fno-strict-aliasing -std = c99 cl:命令行警告D9002:忽略未知选项'-fno-strict-aliasing'cl:命令行 警告D9002:忽略未知选项'-std = c99'_pylibmcmodule.c c:\ users \ yashpal singh \ appdata \ local \ temp \ pip-install-ag730kcd \ pylibmc \ src_pylibmcmodule.h(42): 严重错误C1083:无法打开包含文件: 'libmemcached / memcached.h':无此类文件或目录错误:命令 'C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ BuildTools \ VC \ Tools \ MSVC \ 14.16.27023 \ bin \ HostX86 \ x64 \ cl.exe' 失败,退出状态为2
命令“ c:\ anaconda \ python.exe -u -c”导入设置工具, tokenize;文件='C:\ Users \ YASHPA〜1 \ AppData \ Local \ Temp \ pip-install-ag730kcd \ pylibmc \ setup.py'; f = getattr(tokenize, 'open',open)(文件); code = f.read()。replace('\ r \ n', '\ n'); f.close(); exec(compile(code,file,'exec')))“安装--record C:\ Users \ YASHPA〜1 \ AppData \ Local \ Temp \ pip-record-u9a31aiv \ install-record.txt --single-version-externally-managed --compile“失败,错误代码为1 C:\ Users \ YASHPA〜1 \ AppData \ Local \ Temp \ pip-install-ag730kcd \ pylibmc \