4

我正在尝试在我的 Windows 10 机器上使用“pip install pylibmc”安装 pylibmc,但出现以下错误。我需要知道是否有任何方法可以在 Windows 10 上安装 libmemcached,因为我需要安装需要 libmemcached 的 pylibmc。

创建 build\temp.win-amd64-3.7\Release\src C:\Program Files (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 Kits\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\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\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 "import setuptools, tokenize;file='C:\Users\YASHPA~1\AppData\Local\Temp\pip-install-ag730kcd\pylibmc\setup.py' ;f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(代码,文件,'exec'))" install --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\

4

0 回答 0