Closed vignesh164 closed 4 years ago
I try to install pylibmc package in my windows 10.
but i got a problem. please help me to resolve this issue.
> Collecting pylibmc Using cached pylibmc-1.6.1.tar.gz (64 kB) Building wheels for collected packages: pylibmc Building wheel for pylibmc (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'D:\synergy folks\vennu-django-copy\src\backend\venv\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Naanal\\AppData\\Local\\Te mp\\pip-install-_6waiwt0\\pylibmc\\setup.py'"'"'; __file__='"'"'C:\\Users\\Naanal\\AppData\\Local\\Temp\\pip-install-_6waiwt0\\pylibmc\\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\Naanal\AppData\Local\Temp\pi p-wheel-wjks5g5z' cwd: C:\Users\Naanal\AppData\Local\Temp\pip-install-_6waiwt0\pylibmc\ Complete output (24 lines): running bdist_wheel running build running build_py creating build creating build\lib.win32-3.6 creating build\lib.win32-3.6\pylibmc copying src\pylibmc\autoconf.py -> build\lib.win32-3.6\pylibmc copying src\pylibmc\client.py -> build\lib.win32-3.6\pylibmc copying src\pylibmc\consts.py -> build\lib.win32-3.6\pylibmc copying src\pylibmc\pools.py -> build\lib.win32-3.6\pylibmc copying src\pylibmc\test.py -> build\lib.win32-3.6\pylibmc copying src\pylibmc\__init__.py -> build\lib.win32-3.6\pylibmc copying src\pylibmc\__main__.py -> build\lib.win32-3.6\pylibmc running build_ext building '_pylibmc' extension creating build\temp.win32-3.6 creating build\temp.win32-3.6\Release creating build\temp.win32-3.6\Release\src C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.26.28801\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DUSE_ZLIB "-ID:\synergy folks\v ennu-django-copy\src\backend\venv\include" -Ic:\users\naanal\appdata\local\programs\python\python36-32\include -Ic:\users\naanal\appdata\local\programs\python\python36-32\include "-I C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.26.28801\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program F iles (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.1836 2.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /Tcsrc/_pylibmcmodule.c /Fobuild\temp.win32-3.6\Release\src/_pylibmcmodule.obj -fno-strict-aliasin g -std=c99 cl : Command line warning D9002 : ignoring unknown option '-fno-strict-aliasing' cl : Command line warning D9002 : ignoring unknown option '-std=c99' _pylibmcmodule.c C:\Users\Naanal\AppData\Local\Temp\pip-install-_6waiwt0\pylibmc\src\_pylibmcmodule.h(42): fatal error C1083: Cannot open include file: 'libmemcached/memcached.h': No such file or d irectory error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.26.28801\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2 ---------------------------------------- ERROR: Failed building wheel for pylibmc Running setup.py clean for pylibmc Failed to build pylibmc Installing collected packages: pylibmc Running setup.py install for pylibmc ... error ERROR: Command errored out with exit status 1: command: 'D:\synergy folks\vennu-django-copy\src\backend\venv\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Naanal\\AppData\\Local\\ Temp\\pip-install-_6waiwt0\\pylibmc\\setup.py'"'"'; __file__='"'"'C:\\Users\\Naanal\\AppData\\Local\\Temp\\pip-install-_6waiwt0\\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 'C:\Users\Naanal\AppData\Local\Tem p\pip-record-m5nhh00z\install-record.txt' --single-version-externally-managed --compile --install-headers 'D:\synergy folks\vennu-django-copy\src\backend\venv\include\site\python3.6\ pylibmc' cwd: C:\Users\Naanal\AppData\Local\Temp\pip-install-_6waiwt0\pylibmc\ Complete output (24 lines): running install running build running build_py creating build creating build\lib.win32-3.6 creating build\lib.win32-3.6\pylibmc copying src\pylibmc\autoconf.py -> build\lib.win32-3.6\pylibmc copying src\pylibmc\client.py -> build\lib.win32-3.6\pylibmc copying src\pylibmc\consts.py -> build\lib.win32-3.6\pylibmc copying src\pylibmc\pools.py -> build\lib.win32-3.6\pylibmc copying src\pylibmc\test.py -> build\lib.win32-3.6\pylibmc copying src\pylibmc\__init__.py -> build\lib.win32-3.6\pylibmc copying src\pylibmc\__main__.py -> build\lib.win32-3.6\pylibmc running build_ext building '_pylibmc' extension creating build\temp.win32-3.6 creating build\temp.win32-3.6\Release creating build\temp.win32-3.6\Release\src C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.26.28801\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DUSE_ZLIB "-ID:\synergy folks \vennu-django-copy\src\backend\venv\include" -Ic:\users\naanal\appdata\local\programs\python\python36-32\include -Ic:\users\naanal\appdata\local\programs\python\python36-32\include " -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.26.28801\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18 362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /Tcsrc/_pylibmcmodule.c /Fobuild\temp.win32-3.6\Release\src/_pylibmcmodule.obj -fno-strict-alias ing -std=c99 cl : Command line warning D9002 : ignoring unknown option '-fno-strict-aliasing' cl : Command line warning D9002 : ignoring unknown option '-std=c99' _pylibmcmodule.c C:\Users\Naanal\AppData\Local\Temp\pip-install-_6waiwt0\pylibmc\src\_pylibmcmodule.h(42): fatal error C1083: Cannot open include file: 'libmemcached/memcached.h': No such file or directory error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.26.28801\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2 ---------------------------------------- ERROR: Command errored out with exit status 1: 'D:\synergy folks\vennu-django-copy\src\backend\venv\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C: \\Users\\Naanal\\AppData\\Local\\Temp\\pip-install-_6waiwt0\\pylibmc\\setup.py'"'"'; __file__='"'"'C:\\Users\\Naanal\\AppData\\Local\\Temp\\pip-install-_6waiwt0\\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 ' C:\Users\Naanal\AppData\Local\Temp\pip-record-m5nhh00z\install-record.txt' --single-version-externally-managed --compile --install-headers 'D:\synergy folks\vennu-django-copy\src\bac kend\venv\include\site\python3.6\pylibmc' Check the logs for full command output. WARNING: You are using pip version 20.0.2; however, version 20.1.1 is available. You should consider upgrading via the 'D:\synergy folks\vennu-django-copy\src\backend\venv\Scripts\python.exe -m pip install --upgrade pip' command.
Hi, this error means that you have not installed libmemcached. Please follow the installation instructions.
Also, building on Windows is going to be very difficult.
I try to install pylibmc package in my windows 10.
but i got a problem. please help me to resolve this issue.