无法在 Windows 上安装 python-libmemcached [英] Not able to install python-libmemcached on windows

查看:52
本文介绍了无法在 Windows 上安装 python-libmemcached的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试在 windows 环境中安装 pylibmc 包,但为此它需要安装 python-libmemcached 包.所以我尝试安装相同但给出错误:

I have been trying to install pylibmc package in window's environment but for that it requires python-libmemcached package to be install. So i tried installing the same but giving error:

Collecting python-libmemcached
Downloading https://files.pythonhosted.org/packages/60/b6/30af3c760790e7ca7cd0210a2d6ed76a2ce6602dd53b1a8b7365f33d0eba/python-libmemcached-0.40dev.tar.gz

Building wheels for collected packages: python-libmemcached
Building wheel for python-libmemcached (setup.py) ... error
Complete output from command "d:\tfs\ml apps\recommendation engine 
main\source_code\environment\scripts\python.exe" -u -c "import setuptools, 
tokenize;__file__='C:
\\Users\\ABHISH~1\\AppData\\Local\\Temp\\pip-install-u3p5o7l2\\python- 
libmemcached\\setup.py';f=getattr(tokenize, 'open', open) 
(__file__);code=f.read().replace('\r\n
', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d 
C:\Users\ABHISH~1\AppData\Local\Temp\pip-wheel-_tcqfa2b --python-tag cp37:
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.7
copying cmemcached.py -> build\lib.win32-3.7
running build_ext
building 'cmemcached_imp' extension
creating build\temp.win32-3.7
creating build\temp.win32-3.7\Release
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c         
/nologo 
/Ox /W3 /GL /DNDEBUG /MD "-Id:\tfs\ml apps\recommendation engine 
main\source_code\envi
ronment\include" - 
IC:\Users\abhishekj\AppData\Local\Programs\Python\Python37-32\include - 
IC:\Users\abhishekj\AppData\Local\Programs\Python\Python37-32\include "-    
IC:\
Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program 
Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files 
(x86)\Windows K
its\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows 
Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows 
Kits\8.1\include\um" "-IC:\Program Files
(x86)\Windows Kits\8.1\include\winrt" /Tccmemcached_imp.c 
/Fobuild\temp.win32-3.7\Release\cmemcached_imp.obj
cmemcached_imp.c
c1: fatal error C1083: Cannot open source file: 'cmemcached_imp.c': No such 
file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 
14.0\\VC\\BIN\\cl.exe' failed with exit status 2

我已经在我的机器上安装了 memcached 并且可以执行 telnet 请让我帮助我完成这个

I have installed memcached on my machine and also able to do telnet please let help me through this

推荐答案

我不认为 pylibmc 依赖于 python-libmemcached.它取决于 libmemcached,即另一种野兽.

I don't think pylibmc depende on python-libmemcached. It depends on libmemcached which is a different beast.

这篇关于无法在 Windows 上安装 python-libmemcached的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆