I have already installed CMake by pip install cmake
and tried to install face_recognition
but it still gives me a RuntimeError. I’m using ‘Python 3.7.3, x32’
I also tried to install the dlib
by pip install dlib
since it is one of the reasons why I can’t install face_recognition
.
C:Usersuser>python -m pip install cmake
Requirement already satisfied: cmake in c:usersuserappdataroamingpythonpython37site-packages (3.14.4)
C:Usersuser>python -m pip install dlib
Collecting dlib
Using cached https://files.pythonhosted.org/packages/05/57/e8a8caa3c89a27f80bc78da39c423e2553f482a3705adc619176a3a24b36/dlib-19.17.0.tar.gz
Installing collected packages: dlib
Running setup.py install for dlib ... error
ERROR: Complete output from command 'C:PythonPython37python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\Users\user\AppData\Local\Temp\pip-install-24vk6act\dlib\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:UsersuserAppDataLocalTemppip-record-yf2kdjpxinstall-record.txt' --single-version-externally-managed --compile:
ERROR: running install
running build
running build_py
package init file 'dlib__init__.py' not found (or not a regular file)
running build_ext
Traceback (most recent call last):
File "C:UsersuserAppDataLocalTemppip-install-24vk6actdlibsetup.py", line 120, in get_cmake_version
out = subprocess.check_output(['cmake', '--version'])
File "C:PythonPython37libsubprocess.py", line 395, in check_output
**kwargs).stdout
File "C:PythonPython37libsubprocess.py", line 472, in run
with Popen(*popenargs, **kwargs) as process:
File "C:PythonPython37libsubprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "C:PythonPython37libsubprocess.py", line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:UsersuserAppDataLocalTemppip-install-24vk6actdlibsetup.py", line 261, in <module>
'Topic :: Software Development',
File "C:UsersuserAppDataRoamingPythonPython37site-packagessetuptools__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "C:PythonPython37libdistutilscore.py", line 148, in setup
dist.run_commands()
File "C:PythonPython37libdistutilsdist.py", line 966, in run_commands
self.run_command(cmd)
File "C:PythonPython37libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "C:UsersuserAppDataRoamingPythonPython37site-packagessetuptoolscommandinstall.py", line 61, in run
return orig.install.run(self)
File "C:PythonPython37libdistutilscommandinstall.py", line 545, in run
self.run_command('build')
File "C:PythonPython37libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:PythonPython37libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "C:PythonPython37libdistutilscommandbuild.py", line 135, in run
self.run_command(cmd_name)
File "C:PythonPython37libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:PythonPython37libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "C:UsersuserAppDataLocalTemppip-install-24vk6actdlibsetup.py", line 129, in run
cmake_version = self.get_cmake_version()
File "C:UsersuserAppDataLocalTemppip-install-24vk6actdlibsetup.py", line 125, in get_cmake_version
"n*******************************************************************n")
RuntimeError:
*******************************************************************
CMake must be installed to build the following extensions: dlib
*******************************************************************
----------------------------------------
ERROR: Command "'C:PythonPython37python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\Users\user\AppData\Local\Temp\pip-install-24vk6act\dlib\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:UsersuserAppDataLocalTemppip-record-yf2kdjpxinstall-record.txt' --single-version-externally-managed --compile" failed with error code 1 in C:UsersuserAppDataLocalTemppip-install-24vk6actdlib
Hello, I am on Windows with a fresh Installation of CMake and also have Issues with dlib library. I´m working in a virtualenv fresh Python Environment (2.7). Could not rid of my Error. Here is my Output:
`Requirement already satisfied: beautifulsoup4 in c:usersbesitzerenvssocial_mapperlibsite-packages (from -r requirements.txt (line 1)) (4.6.1)
Requirement already satisfied: selenium in c:usersbesitzerenvssocial_mapperlibsite-packages (from -r requirements.txt (line 2)) (3.14.0)
Requirement already satisfied: pyvirtualdisplay in c:usersbesitzerenvssocial_mapperlibsite-packages (from -r requirements.txt (line 3)) (0.2.1)
Requirement already satisfied: tabulate in c:usersbesitzerenvssocial_mapperlibsite-packages (from -r requirements.txt (line 4)) (0.8.2)
Requirement already satisfied: requests in c:usersbesitzerenvssocial_mapperlibsite-packages (from -r requirements.txt (line 5)) (2.19.1)
Collecting face_recognition (from -r requirements.txt (line 6))
Downloading https://files.pythonhosted.org/packages/28/10/f153bbbc218fc169768aa1c02f2e9178e9241e4af8da56289bdca2c0c217/face_recognition-1.2.2-py2.py3-none-any.whl
Collecting django (from -r requirements.txt (line 7))
Downloading https://files.pythonhosted.org/packages/f8/1c/31112c778b7a56ce18e3fff5e8915719fbe1cd3476c1eef557dddacfac8b/Django-1.11.15-py2.py3-none-any.whl (6.9MB)
Collecting numpy (from -r requirements.txt (line 8))
Downloading https://files.pythonhosted.org/packages/d0/23/de3c3f8fdee3245dd61bedc8c8de0ea5ead8adc245321be38993179ef437/numpy-1.15.0-cp27-none-win32.whl (9.9MB)
Collecting scipy (from -r requirements.txt (line 9))
Downloading https://files.pythonhosted.org/packages/1f/fa/a65088a42ed6699027c01fc0fa9fb35eb435fb6c66307c0ce541db333f35/scipy-1.1.0-cp27-none-win32.whl (26.7MB)
Collecting matplotlib (from -r requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/6e/cf/0153fe3767addefdd8bc81e7f41143477a8528ddec64544ef35d06f9a38a/matplotlib-2.2.3-cp27-cp27m-win32.whl (8.3MB)
Collecting scikit-image (from -r requirements.txt (line 11))
Downloading https://files.pythonhosted.org/packages/cd/19/981c31e36814e5ddcbc0b414367f7e4f04ba850eaabe5249589a26eb4900/scikit_image-0.14.0-cp27-none-win32.whl (24.0MB)
Collecting scikit-learn (from -r requirements.txt (line 12))
Downloading https://files.pythonhosted.org/packages/15/79/f88871051db5d30e2ae88129802ffa4c3186e7a6ad090b4d2c0c2381cbfd/scikit_learn-0.19.2-cp27-cp27m-win32.whl (4.1MB)
Collecting ipython (from -r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/b0/88/d996ab8be22cea1eaa18baee3678a11265e18cf09974728d683c51102148/ipython-5.8.0-py2-none-any.whl (760kB)
Collecting dlib (from -r requirements.txt (line 14))
Downloading https://files.pythonhosted.org/packages/df/aa/6a9bb2a763107bb2606d6ee1aa65fcd3b51375a9ef6436e9c9280b0dd63c/dlib-19.15.0.tar.gz (3.3MB)
Collecting facebook-sdk (from -r requirements.txt (line 15))
Downloading https://files.pythonhosted.org/packages/34/ac/830c1f2821847bf191687ac57d3c8416623c7c496332cb281c949c05a308/facebook_sdk-3.0.0-py2-none-any.whl
Requirement already satisfied: urllib3 in c:usersbesitzerenvssocial_mapperlibsite-packages (from selenium->-r requirements.txt (line 2)) (1.23)
Requirement already satisfied: EasyProcess in c:usersbesitzerenvssocial_mapperlibsite-packages (from pyvirtualdisplay->-r requirements.txt (line 3)) (0.2.3)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:usersbesitzerenvssocial_mapperlibsite-packages (from requests->-r requirements.txt (line 5)) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:usersbesitzerenvssocial_mapperlibsite-packages (from requests->-r requirements.txt (line 5)) (2018.4.16)
Requirement already satisfied: idna<2.8,>=2.5 in c:usersbesitzerenvssocial_mapperlibsite-packages (from requests->-r requirements.txt (line 5)) (2.7)
Requirement already satisfied: Pillow in c:usersbesitzerenvssocial_mapperlibsite-packages (from face_recognition->-r requirements.txt (line 6)) (5.2.0)
Collecting face-recognition-models>=0.3.0 (from face_recognition->-r requirements.txt (line 6))
Downloading https://files.pythonhosted.org/packages/cf/3b/4fd8c534f6c0d1b80ce0973d01331525538045084c73c153ee6df20224cf/face_recognition_models-0.3.0.tar.gz (100.1MB)
Collecting Click>=6.0 (from face_recognition->-r requirements.txt (line 6))
Downloading https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl (71kB)
Collecting pytz (from django->-r requirements.txt (line 7))
Downloading https://files.pythonhosted.org/packages/30/4e/27c34b62430286c6d59177a0842ed90dc789ce5d1ed740887653b898779a/pytz-2018.5-py2.py3-none-any.whl (510kB)
Collecting kiwisolver>=1.0.1 (from matplotlib->-r requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/6d/c5/ca9bbf1249119900e53996ed1530f073a7ada3946495231eb92a6f1f737c/kiwisolver-1.0.1-cp27-none-win32.whl (44kB)
Collecting cycler>=0.10 (from matplotlib->-r requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl
Collecting six>=1.10 (from matplotlib->-r requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting backports.functools-lru-cache (from matplotlib->-r requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/03/8e/2424c0e65c4a066e28f539364deee49b6451f8fcd4f718fefa50cc3dcf48/backports.functools_lru_cache-1.5-py2.py3-none-any.whl
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 (from matplotlib->-r requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/6a/8a/718fd7d3458f9fab8e67186b00abdd345b639976bc7fb3ae722e1b026a50/pyparsing-2.2.0-py2.py3-none-any.whl (56kB)
Collecting python-dateutil>=2.1 (from matplotlib->-r requirements.txt (line 10))
Downloading https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl (211kB)
Collecting PyWavelets>=0.4.0 (from scikit-image->-r requirements.txt (line 11))
Downloading https://files.pythonhosted.org/packages/1b/3d/c3f2eac79e22641a7452ec5c9120a53f2a2997a4a011247194e6182c30ca/PyWavelets-0.5.2-cp27-none-win32.whl (4.1MB)
Collecting networkx>=1.8 (from scikit-image->-r requirements.txt (line 11))
Downloading https://files.pythonhosted.org/packages/11/42/f951cc6838a4dff6ce57211c4d7f8444809ccbe2134179950301e5c4c83c/networkx-2.1.zip (1.6MB)
Collecting cloudpickle>=0.2.1 (from scikit-image->-r requirements.txt (line 11))
Downloading https://files.pythonhosted.org/packages/e7/bf/60ae7ec1e8c6742d2abbb6819c39a48ee796793bcdb7e1d5e41a3e379ddd/cloudpickle-0.5.3-py2.py3-none-any.whl
Collecting dask[array]>=0.9.0 (from scikit-image->-r requirements.txt (line 11))
Downloading https://files.pythonhosted.org/packages/91/52/427541141707ac533a6dcafa3bff7ff8b57ded3c9ea84d6ec014d15fbbff/dask-0.18.2-py2.py3-none-any.whl (645kB)
Collecting traitlets>=4.2 (from ipython->-r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/93/d6/abcb22de61d78e2fc3959c964628a5771e47e7cc60d53e9342e21ed6cc9a/traitlets-4.3.2-py2.py3-none-any.whl (74kB)
Collecting simplegeneric>0.8 (from ipython->-r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/3d/57/4d9c9e3ae9a255cd4e1106bb57e24056d3d0709fc01b2e3e345898e49d5b/simplegeneric-0.8.1.zip
Collecting backports.shutil-get-terminal-size; python_version == «2.7» (from ipython->-r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/7d/cd/1750d6c35fe86d35f8562091737907f234b78fdffab42b29c72b1dd861f4/backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
Collecting pickleshare (from ipython->-r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/9f/17/daa142fc9be6b76f26f24eeeb9a138940671490b91cb5587393f297c8317/pickleshare-0.7.4-py2.py3-none-any.whl
Collecting pygments (from ipython->-r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/02/ee/b6e02dc6529e82b75bb06823ff7d005b141037cb1416b10c6f00fc419dca/Pygments-2.2.0-py2.py3-none-any.whl (841kB)
Collecting win-unicode-console>=0.5; sys_platform == «win32» and python_version < «3.6» (from ipython->-r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/89/8d/7aad74930380c8972ab282304a2ff45f3d4927108bb6693cabcc9fc6a099/win_unicode_console-0.5.zip
Collecting pathlib2; python_version == «2.7» or python_version == «3.3» (from ipython->-r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/66/a7/9f8d84f31728d78beade9b1271ccbfb290c41c1e4dc13dbd4997ad594dcd/pathlib2-2.3.2-py2.py3-none-any.whl
Requirement already satisfied: setuptools>=18.5 in c:usersbesitzerenvssocial_mapperlibsite-packages (from ipython->-r requirements.txt (line 13)) (40.0.0)
Collecting colorama; sys_platform == «win32» (from ipython->-r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/db/c8/7dcf9dbcb22429512708fe3a547f8b6101c0d02137acbd892505aee57adf/colorama-0.3.9-py2.py3-none-any.whl
Collecting decorator (from ipython->-r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/bc/bb/a24838832ba35baf52f32ab1a49b906b5f82fb7c76b2f6a7e35e140bac30/decorator-4.3.0-py2.py3-none-any.whl
Collecting prompt-toolkit<2.0.0,>=1.0.4 (from ipython->-r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/d1/b0/1a6c262da35c779dd79550137aa7c298a424987240a28792ec5ccf48f848/prompt_toolkit-1.0.15-py2-none-any.whl (247kB)
Collecting toolz>=0.7.3; extra == «array» (from dask[array]>=0.9.0->scikit-image->-r requirements.txt (line 11))
Downloading https://files.pythonhosted.org/packages/14/d0/a73c15bbeda3d2e7b381a36afb0d9cd770a9f4adc5d1532691013ba881db/toolz-0.9.0.tar.gz (45kB)
Collecting ipython-genutils (from traitlets>=4.2->ipython->-r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl
Collecting enum34; python_version == «2.7» (from traitlets>=4.2->ipython->-r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting scandir; python_version < «3.5» (from pathlib2; python_version == «2.7» or python_version == «3.3»->ipython->-r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/9e/a5/56b4dec02b16bb720cac9872fccd63b61a815b70633ef15bfe3ea5ce4488/scandir-1.9.0-cp27-cp27m-win32.whl
Collecting wcwidth (from prompt-toolkit<2.0.0,>=1.0.4->ipython->-r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
Installing collected packages: dlib, face-recognition-models, Click, numpy, face-recognition, pytz, django, scipy, kiwisolver, six, cycler, backports.functools-lru-cache, pyparsing, python-dateutil, matplotlib, PyWavelets, decorator, networkx, cloudpickle, toolz, dask, scikit-image, scikit-learn, ipython-genutils, enum34, traitlets, simplegeneric, backports.shutil-get-terminal-size, scandir, pathlib2, pickleshare, pygments, win-unicode-console, colorama, wcwidth, prompt-toolkit, ipython, facebook-sdk
Running setup.py install for dlib: started
Running setup.py install for dlib: finished with status ‘error’
Complete output from command C:UsersBesitzerEnvsSocial_MapperScriptspython.exe -u -c «import setuptools, tokenize;file=’c:usersbesitzerappdatalocaltemppip-install-ezovfgdlibsetup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘rn’, ‘n’);f.close();exec(compile(code, file, ‘exec’))» install —record c:usersbesitzerappdatalocaltemppip-record-ijqey1install-record.txt —single-version-externally-managed —compile —install-headers C:UsersBesitzerEnvsSocial_Mapperincludesitepython2.7dlib:
running install
running build
running build_py
package init file ‘dlib_init_.py’ not found (or not a regular file)
running build_ext
Building extension for Python 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)]
Invoking CMake setup: ‘cmake c:usersbesitzerappdatalocaltemppip-install-ezovfgdlibtoolspython -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=c:usersbesitzerappdatalocaltemppip-install-ezovfgdlibbuildlib.win32-2.7 -DPYTHON_EXECUTABLE=C:UsersBesitzerEnvsSocial_MapperScriptspython.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=c:usersbesitzerappdatalocaltemppip-install-ezovfgdlibbuildlib.win32-2.7’
— Building for: Visual Studio 10 2010
— The C compiler identification is MSVC 16.0.30319.1
— The CXX compiler identification is MSVC 16.0.30319.1
— Check for working C compiler: E:/Microsoft Visual Studio 10.0/VC/bin/cl.exe
— Check for working C compiler: E:/Microsoft Visual Studio 10.0/VC/bin/cl.exe — broken
CMake Error at C:/Users/Besitzer/Envs/Social_Mapper/Lib/site-packages/cmake/data/share/cmake-3.12/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
"E:/Microsoft Visual Studio 10.0/VC/bin/cl.exe"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/Users/Besitzer/AppData/Local/Temp/pip-install-ezovfg/dlib/build/temp.win32-2.7/Release/CMakeFiles/CMakeTmp
Run Build Command:"C:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe" "cmTC_8721b.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=10.0"
Microsoft (R)-Buildmodul, Version 4.7.2558.0
[Microsoft .NET Framework, Version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
Der Buildvorgang wurde am So.12.08.2018 09:20:39 gestartet.
Projekt "C:UsersBesitzerAppDataLocalTemppip-install-ezovfgdlibbuildtemp.win32-2.7ReleaseCMakeFilesCMakeTmpcmTC_8721b.vcxproj" auf Knoten "1" (Standardziele).
PrepareForBuild:
Das Verzeichnis "cmTC_8721b.dirDebug" wird erstellt.
Das Verzeichnis "C:UsersBesitzerAppDataLocalTemppip-install-ezovfgdlibbuildtemp.win32-2.7ReleaseCMakeFilesCMakeTmpDebug" wird erstellt.
InitializeBuildStatus:
"cmTC_8721b.dirDebugcmTC_8721b.unsuccessfulbuild" wird erstellt, da "AlwaysCreate" angegeben wurde.
ClCompile:
E:Microsoft Visual Studio 10.0VCbinCL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTC_8721b.dirDebug\" /Fd"cmTC_8721b.dirDebugvc100.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c
Microsoft (R) 32-Bit C/C++-Optimierungscompiler Version 16.00.30319.01 für 80x86
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTC_8721b.dirDebug\" /Fd"cmTC_8721b.dirDebugvc100.pdb" /Gd /TC /analyze- /errorReport:queue testCCompiler.c
testCCompiler.c
ManifestResourceCompile:
C:Program Files (x86)Microsoft SDKsWindowsv7.0Abinrc.exe /nologo /fo"cmTC_8721b.dirDebugcmTC_8721b.exe.embed.manifest.res" cmTC_8721b.dirDebugcmTC_8721b_manifest.rc
Link:
E:Microsoft Visual Studio 10.0VCbinlink.exe /ERRORREPORT:QUEUE /OUT:"C:UsersBesitzerAppDataLocalTemppip-install-ezovfgdlibbuildtemp.win32-2.7ReleaseCMakeFilesCMakeTmpDebugcmTC_8721b.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /ManifestFile:"cmTC_8721b.dirDebugcmTC_8721b.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/Users/Besitzer/AppData/Local/Temp/pip-install-ezovfg/dlib/build/temp.win32-2.7/Release/CMakeFiles/CMakeTmp/Debug/cmTC_8721b.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/Besitzer/AppData/Local/Temp/pip-install-ezovfg/dlib/build/temp.win32-2.7/Release/CMakeFiles/CMakeTmp/Debug/cmTC_8721b.lib" /MACHINE:X86 cmTC_8721b.dirDebugcmTC_8721b.exe.embed.manifest.res
cmTC_8721b.dirDebugtestCCompiler.obj /machine:X86
LINK : fatal error LNK1123: Fehler bei der Konvertierung in COFF: Datei ist ung├é┬│ltig oder besch├â┬Ádigt. [C:UsersBesitzerAppDataLocalTemppip-install-ezovfgdlibbuildtemp.win32-2.7ReleaseCMakeFilesCMakeTmpcmTC_8721b.vcxproj]
Die Erstellung des Projekts "C:UsersBesitzerAppDataLocalTemppip-install-ezovfgdlibbuildtemp.win32-2.7ReleaseCMakeFilesCMakeTmpcmTC_8721b.vcxproj" ist abgeschlossen (Standardziele) -- FEHLER.
Fehler beim Buildvorgang.
"C:UsersBesitzerAppDataLocalTemppip-install-ezovfgdlibbuildtemp.win32-2.7ReleaseCMakeFilesCMakeTmpcmTC_8721b.vcxproj" (Standardziel) (1) ->
(Link Ziel) ->
LINK : fatal error LNK1123: Fehler bei der Konvertierung in COFF: Datei ist ung├é┬│ltig oder besch├â┬Ádigt. [C:UsersBesitzerAppDataLocalTemppip-install-ezovfgdlibbuildtemp.win32-2.7ReleaseCMakeFilesCMakeTmpcmTC_8721b.vcxproj]
0 Warnung(en)
1 Fehler
Verstrichene Zeit 00:00:00.23
CMake will not be able to correctly generate this project.
-- Configuring incomplete, errors occurred!
See also "C:/Users/Besitzer/AppData/Local/Temp/pip-install-ezovfg/dlib/build/temp.win32-2.7/Release/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Besitzer/AppData/Local/Temp/pip-install-ezovfg/dlib/build/temp.win32-2.7/Release/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:usersbesitzerappdatalocaltemppip-install-ezovfgdlibsetup.py", line 257, in <module>
'Topic :: Software Development',
File "C:UsersBesitzerEnvsSocial_Mapperlibsite-packagessetuptools__init__.py", line 131, in setup
return distutils.core.setup(**attrs)
File "e:python27Libdistutilscore.py", line 151, in setup
dist.run_commands()
File "e:python27Libdistutilsdist.py", line 953, in run_commands
self.run_command(cmd)
File "e:python27Libdistutilsdist.py", line 972, in run_command
cmd_obj.run()
File "C:UsersBesitzerEnvsSocial_Mapperlibsite-packagessetuptoolscommandinstall.py", line 61, in run
return orig.install.run(self)
File "e:python27Libdistutilscommandinstall.py", line 563, in run
self.run_command('build')
File "e:python27Libdistutilscmd.py", line 326, in run_command
self.distribution.run_command(command)
File "e:python27Libdistutilsdist.py", line 972, in run_command
cmd_obj.run()
File "e:python27Libdistutilscommandbuild.py", line 127, in run
self.run_command(cmd_name)
File "e:python27Libdistutilscmd.py", line 326, in run_command
self.distribution.run_command(command)
File "e:python27Libdistutilsdist.py", line 972, in run_command
cmd_obj.run()
File "c:usersbesitzerappdatalocaltemppip-install-ezovfgdlibsetup.py", line 133, in run
self.build_extension(ext)
File "c:usersbesitzerappdatalocaltemppip-install-ezovfgdlibsetup.py", line 170, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File "e:python27Libsubprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'c:\users\besitzer\appdata\local\temp\pip-install-ezovfg\dlib\tools\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=c:\users\besitzer\appdata\local\temp\pip-install-ezovfg\dlib\build\lib.win32-2.7', '-DPYTHON_EXECUTABLE=C:\Users\Besitzer\Envs\Social_Mapper\Scripts\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=c:\users\besitzer\appdata\local\temp\pip-install-ezovfg\dlib\build\lib.win32-2.7']' returned non-zero exit status 1
----------------------------------------
`
I googled a little bit and find something about cmake modules:
`C:UsersBesitzer>cmake —help-module FindPython2
FindPython2
Find Python 2 interpreter, compiler and development environment (include
directories and libraries).
Three components are supported:
Interpreter
: search for Python 2 interpreterCompiler
: search for Python 2 compiler. Only offered by IronPython.Development
: search for development artifacts (include directories and
libraries)` etc.
Содержание
- dlib fails to install on Windows 10 #2371
- Comments
- Expected Behavior
- — Configuring incomplete, errors occurred! Traceback (most recent call last): File «», line 1, in File «C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bsetup.py», line 261, in ‘Topic :: Software Development’, File «C:UsersJean Claudeanaconda3envspy36libsite-packagessetuptools_init_.py», line 153, in setup return distutils.core.setup(**attrs) File «C:UsersJean Claudeanaconda3envspy36libdistutilscore.py», line 148, in setup dist.run_commands() File «C:UsersJean Claudeanaconda3envspy36libdistutilsdist.py», line 955, in run_commands self.run_command(cmd) File «C:UsersJean Claudeanaconda3envspy36libdistutilsdist.py», line 974, in run_command cmd_obj.run() File «C:UsersJean Claudeanaconda3envspy36libsite-packageswheelbdist_wheel.py», line 299, in run self.run_command(‘build’) File «C:UsersJean Claudeanaconda3envspy36libdistutilscmd.py», line 313, in run_command self.distribution.run_command(command) File «C:UsersJean Claudeanaconda3envspy36libdistutilsdist.py», line 974, in run_command cmd_obj.run() File «C:UsersJean Claudeanaconda3envspy36libdistutilscommandbuild.py», line 135, in run self.run_command(cmd_name) File «C:UsersJean Claudeanaconda3envspy36libdistutilscmd.py», line 313, in run_command self.distribution.run_command(command) File «C:UsersJean Claudeanaconda3envspy36libdistutilsdist.py», line 974, in run_command cmd_obj.run() File «C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bsetup.py», line 134, in run self.build_extension(ext) File «C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bsetup.py», line 171, in build_extension subprocess.check_call(cmake_setup, cwd=build_folder) File «C:UsersJean Claudeanaconda3envspy36libsubprocess.py», line 311, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command ‘[‘cmake’, ‘C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242btoolspython’, ‘-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bbuildlib.win-amd64-3.6’, ‘-DPYTHON_EXECUTABLE=C:UsersJean Claudeanaconda3envspy36python.exe’, ‘-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bbuildlib.win-amd64-3.6’, ‘-A’, ‘x64′]’ returned non-zero exit status 1.
- cmake missing from setup #2307
- Comments
- Expected Behavior
- Current Behavior
- Steps to Reproduce
- Workaround
- Suggested fix
- Почему не получается установить библиотеку dlib?
- python2.7 pip install dlib error #1337
- Comments
dlib fails to install on Windows 10 #2371
Expected Behavior
Expected dlib to be instalable on Windows 10 running Python 3.6 (as a conda virtual env) with command: pip install dlib . Have installed cmake and numpy as prerequisites. This failed with:
(py36) PS C:UsersJean Claude> pip install dlib
Collecting dlib
Using cached dlib-19.22.0.tar.gz (7.4 MB)
Building wheels for collected packages: dlib
Building wheel for dlib (setup.py) . error
ERROR: Command errored out with exit status 1:
command: ‘C:UsersJean Claudeanaconda3envspy36python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bsetup.py’»‘»‘; file=’»‘»‘C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bsetup.py’»‘»‘;f=getattr(tokenize, ‘»‘»‘open’»‘»‘, open)(file);code=f.read().replace(‘»‘»‘rn’»‘»‘, ‘»‘»‘n’»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec’»‘»‘))’ bdist_wheel -d ‘C:UsersJEANCL 1AppDataLocalTemppip-wheel-03d14jpb’
cwd: C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242b
Complete output (58 lines):
running bdist_wheel
running build
running build_py
package init file ‘toolspythondlib_init_.py’ not found (or not a regular file)
running build_ext
Building extension for Python 3.6.13 |Anaconda, Inc.| (default, Mar 16 2021, 11:37:27) [MSC v.1916 64 bit (AMD64)]
Invoking CMake setup: ‘cmake C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242btoolspython -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bbuildlib.win-amd64-3.6 -DPYTHON_EXECUTABLE=C:UsersJean Claudeanaconda3envspy36python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:UsersJEANCL
1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bbuildlib.win-amd64-3.6 -A x64′
— Building for: NMake Makefiles
CMake Error at CMakeLists.txt:5 (message):
— Configuring incomplete, errors occurred!
Traceback (most recent call last):
File «», line 1, in
File «C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bsetup.py», line 261, in
‘Topic :: Software Development’,
File «C:UsersJean Claudeanaconda3envspy36libsite-packagessetuptools_init_.py», line 153, in setup
return distutils.core.setup(**attrs)
File «C:UsersJean Claudeanaconda3envspy36libdistutilscore.py», line 148, in setup
dist.run_commands()
File «C:UsersJean Claudeanaconda3envspy36libdistutilsdist.py», line 955, in run_commands
self.run_command(cmd)
File «C:UsersJean Claudeanaconda3envspy36libdistutilsdist.py», line 974, in run_command
cmd_obj.run()
File «C:UsersJean Claudeanaconda3envspy36libsite-packageswheelbdist_wheel.py», line 299, in run
self.run_command(‘build’)
File «C:UsersJean Claudeanaconda3envspy36libdistutilscmd.py», line 313, in run_command
self.distribution.run_command(command)
File «C:UsersJean Claudeanaconda3envspy36libdistutilsdist.py», line 974, in run_command
cmd_obj.run()
File «C:UsersJean Claudeanaconda3envspy36libdistutilscommandbuild.py», line 135, in run
self.run_command(cmd_name)
File «C:UsersJean Claudeanaconda3envspy36libdistutilscmd.py», line 313, in run_command
self.distribution.run_command(command)
File «C:UsersJean Claudeanaconda3envspy36libdistutilsdist.py», line 974, in run_command
cmd_obj.run()
File «C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bsetup.py», line 134, in run
self.build_extension(ext)
File «C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bsetup.py», line 171, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File «C:UsersJean Claudeanaconda3envspy36libsubprocess.py», line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘cmake’, ‘C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242btoolspython’, ‘-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bbuildlib.win-amd64-3.6’, ‘-DPYTHON_EXECUTABLE=C:UsersJean Claudeanaconda3envspy36python.exe’, ‘-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bbuildlib.win-amd64-3.6’, ‘-A’, ‘x64′]’ returned non-zero exit status 1.
ERROR: Failed building wheel for dlib
Running setup.py clean for dlib
Failed to build dlib
Installing collected packages: dlib
Running setup.py install for dlib . error
ERROR: Command errored out with exit status 1:
command: ‘C:UsersJean Claudeanaconda3envspy36python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bsetup.py’»‘»‘; file=’»‘»‘C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bsetup.py’»‘»‘;f=getattr(tokenize, ‘»‘»‘open’»‘»‘, open)(file);code=f.read().replace(‘»‘»‘rn’»‘»‘, ‘»‘»‘n’»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec’»‘»‘))’ install —record ‘C:UsersJEANCL 1AppDataLocalTemppip-record-odoruwutinstall-record.txt’ —single-version-externally-managed —compile —install-headers ‘C:UsersJean Claudeanaconda3envspy36Includedlib’
cwd: C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242b
Complete output (60 lines):
running install
running build
running build_py
package init file ‘toolspythondlib_init_.py’ not found (or not a regular file)
running build_ext
Building extension for Python 3.6.13 |Anaconda, Inc.| (default, Mar 16 2021, 11:37:27) [MSC v.1916 64 bit (AMD64)]
Invoking CMake setup: ‘cmake C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242btoolspython -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bbuildlib.win-amd64-3.6 -DPYTHON_EXECUTABLE=C:UsersJean Claudeanaconda3envspy36python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:UsersJEANCL
1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bbuildlib.win-amd64-3.6 -A x64′
— Building for: NMake Makefiles
CMake Error at CMakeLists.txt:5 (message):
1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bsetup.py», line 261, in ‘Topic :: Software Development’, File «C:UsersJean Claudeanaconda3envspy36libsite-packagessetuptools__init__.py», line 153, in setup return distutils.core.setup(**attrs) File «C:UsersJean Claudeanaconda3envspy36libdistutilscore.py», line 148, in setup dist.run_commands() File «C:UsersJean Claudeanaconda3envspy36libdistutilsdist.py», line 955, in run_commands self.run_command(cmd) File «C:UsersJean Claudeanaconda3envspy36libdistutilsdist.py», line 974, in run_command cmd_obj.run() File «C:UsersJean Claudeanaconda3envspy36libsite-packagessetuptoolscommandinstall.py», line 61, in run return orig.install.run(self) File «C:UsersJean Claudeanaconda3envspy36libdistutilscommandinstall.py», line 545, in run self.run_command(‘build’) File «C:UsersJean Claudeanaconda3envspy36libdistutilscmd.py», line 313, in run_command self.distribution.run_command(command) File «C:UsersJean Claudeanaconda3envspy36libdistutilsdist.py», line 974, in run_command cmd_obj.run() File «C:UsersJean Claudeanaconda3envspy36libdistutilscommandbuild.py», line 135, in run self.run_command(cmd_name) File «C:UsersJean Claudeanaconda3envspy36libdistutilscmd.py», line 313, in run_command self.distribution.run_command(command) File «C:UsersJean Claudeanaconda3envspy36libdistutilsdist.py», line 974, in run_command cmd_obj.run() File «C:UsersJEANCL
1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bsetup.py», line 134, in run self.build_extension(ext) File «C:UsersJEANCL
1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bsetup.py», line 171, in build_extension subprocess.check_call(cmake_setup, cwd=build_folder) File «C:UsersJean Claudeanaconda3envspy36libsubprocess.py», line 311, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command ‘[‘cmake’, ‘C:\Users\JEANCL
1\AppData\Local\Temp\pip-install-bdv23ese\dlib_6034d75b85f2455eaa1e85e06b14242b\build\lib.win-amd64-3.6′, ‘-DPYTHON_EXECUTABLE=C:\Users\Jean Claude\anaconda3\envs\py36\python.exe’, ‘-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\JEANCL
1\AppData\Local\Temp\pip-install-bdv23ese\dlib_6034d75b85f2455eaa1e85e06b14242b\build\lib.win-amd64-3.6′, ‘-A’, ‘x64′]’ returned non-zero exit status 1. —————————————-«>
ERROR: Command errored out with exit status 1: ‘C:UsersJean Claudeanaconda3envspy36python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bsetup.py’»‘»‘; file=’»‘»‘C:UsersJEANCL 1AppDataLocalTemppip-install-bdv23esedlib_6034d75b85f2455eaa1e85e06b14242bsetup.py’»‘»‘;f=getattr(tokenize, ‘»‘»‘open’»‘»‘, open)(file);code=f.read().replace(‘»‘»‘rn’»‘»‘, ‘»‘»‘n’»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec’»‘»‘))’ install —record ‘C:UsersJEANCL
1AppDataLocalTemppip-record-odoruwutinstall-record.txt’ —single-version-externally-managed —compile —install-headers ‘C:UsersJean Claudeanaconda3envspy36Includedlib’ Check the logs for full command output.
The text was updated successfully, but these errors were encountered:
Источник
cmake missing from setup #2307
Expected Behavior
pip install dlib
Current Behavior
RuntimeError:
*******************************************************************
CMake must be installed to build the following extensions: _dlib_pybind11
Steps to Reproduce
pip install dlib
Catalina 10.15.6
Workaround
pip install cmake
(before pip install dlib)
Suggested fix
Simply include cmake in setup
The text was updated successfully, but these errors were encountered:
dlib’s setup.py used to depend on cmake but two years ago it was removed because the version of cmake installed on some systems was aggressively broken. The result was that people would try to install dlib and pip would «install cmake», resulting in a broken cmake being installed, and IIRC hiding a good working cmake user already had. Resulting in things not working.
Maybe it’s better now. IDK. We can try turning it on again and seeing if the pip copy of cmake has its act together now. I just added the dependency to setup.py. You can try it and see if it works for you. Hopefully no one posts an issue where pip broke their cmake installs.
Ah yes, I hope I’m not the bad guy here. Finger’s crossed.
I may have been bitten by this issue in my build environment (or rather, the reverse, the issue that caused cmake to be removed in the first place).
I’m building a project depending on dlib , which I compile from source, by cloning this repo.
Prior to compiling dlib , I install cmake from ubuntu repos, which get me cmake v3.1.5. This succeeds in compiling dlib , and setuptools processes depdencencies without issue:
However, since this commit from a couple days ago, setuptools attempts to install cmake v3.18.4 when processing dependencies which doesn’t go so well:
If that can help, this error happened to me while compiling dlib on a docker instance running in AWS codebuild, using an image based off Ubuntu 16.04 and using python 3.5.
Источник
Почему не получается установить библиотеку dlib?
Хотел установить библиотеки: cmake, dlib, face-recognition, и у меня они при установке выдают ошибку:
В чем может быть проблема? Уже пытался переустанавливать версии питона(сейчас 3.8.0)
+ меня установлен VS2022 с C++ пакетами
- Вопрос задан 27 окт. 2022
- 164 просмотра
Простой 15 комментариев
You need to install Visual Studio for C++.
Я просмотрел важную штуку: Python 3.8, а glib максимум 3.6 поддерживает.
dlib максимум 3.6 Python поддерживает.
Думаю, правильно будет создать виртуальное окружение (например virtualenv), pycharm это делает особенно удобно; и в нем поставить нужную версию python и остальные нужные библиотеки ставить там же. И там же писать код.
Также со слов Евгений Шатунов надо убедиться, что
должна стоять нагрузка на разработку C++ приложений с использованием cmake.
dlib вроде вполне себе работает и под свежими версиями python. У меня вполне успешно устанавливается и все задачи выполняет:
Источник
python2.7 pip install dlib error #1337
Collecting dlib
Using cached https://files.pythonhosted.org/packages/79/26/8ef2835606b4b37f704862b2db55edb89675daca0b82718244fca718cddd/dlib-19.13.0.tar.gz
Building wheels for collected packages: dlib
Running setup.py bdist_wheel for dlib: started
Running setup.py bdist_wheel for dlib: finished with status ‘error’
Complete output from command /usr/bin/python -u -c «import setuptools, tokenize;file=’/tmp/pip-install-lIh_fo/dlib/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘rn’, ‘n’);f.close();exec(compile(code, file, ‘exec’))» bdist_wheel -d /tmp/pip-wheel-qnWYfi —python-tag cp27:
running bdist_wheel
running build
running build_py
package init file ‘dlib/init.py’ not found (or not a regular file)
running build_ext
Building extension for Python 2.7.12 (default, Dec 4 2017, 14:50:18)
Invoking CMake setup: ‘cmake /tmp/pip-install-lIh_fo/dlib/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-lIh_fo/dlib/build/lib.linux-aarch64-2.7 -DPYTHON_EXECUTABLE=/usr/bin/python -DCMAKE_BUILD_TYPE=Release’
— The C compiler identification is GNU 5.4.0
— The CXX compiler identification is GNU 5.4.0
— Check for working C compiler: /usr/bin/cc
— Check for working C compiler: /usr/bin/cc — works
— Detecting C compiler ABI info
— Detecting C compiler ABI info — done
— Detecting C compile features
— Detecting C compile features — done
— Check for working CXX compiler: /usr/bin/c++
— Check for working CXX compiler: /usr/bin/c++ — works
— Detecting CXX compiler ABI info
— Detecting CXX compiler ABI info — done
— Detecting CXX compile features
— Detecting CXX compile features — done
— Found PythonInterp: /usr/bin/python (found version «2.7.12»)
— Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython2.7.so
— Performing Test HAS_CPP14_FLAG
— Performing Test HAS_CPP14_FLAG — Success
— pybind11 v2.2.2
CMake Error at CMakeLists.txt:17 (if):
if given arguments:
CMake Error: Internal CMake error, TryCompile configure of cmake failed
— Configuring incomplete, errors occurred!
See also «/tmp/pip-install-lIh_fo/dlib/build/temp.linux-aarch64-2.7/CMakeFiles/CMakeOutput.log».
Traceback (most recent call last):
File «», line 1, in
File «/tmp/pip-install-lIh_fo/dlib/setup.py», line 256, in
‘Topic :: Software Development’,
File «/usr/lib/python2.7/distutils/core.py», line 151, in setup
dist.run_commands()
File «/usr/lib/python2.7/distutils/dist.py», line 953, in run_commands
self.run_command(cmd)
File «/usr/lib/python2.7/distutils/dist.py», line 972, in run_command
cmd_obj.run()
File «/usr/lib/python2.7/dist-packages/wheel/bdist_wheel.py», line 179, in run
self.run_command(‘build’)
File «/usr/lib/python2.7/distutils/cmd.py», line 326, in run_command
self.distribution.run_command(command)
File «/usr/lib/python2.7/distutils/dist.py», line 972, in run_command
cmd_obj.run()
File «/usr/lib/python2.7/distutils/command/build.py», line 128, in run
self.run_command(cmd_name)
File «/usr/lib/python2.7/distutils/cmd.py», line 326, in run_command
self.distribution.run_command(command)
File «/usr/lib/python2.7/distutils/dist.py», line 972, in run_command
cmd_obj.run()
File «/tmp/pip-install-lIh_fo/dlib/setup.py», line 133, in run
self.build_extension(ext)
File «/tmp/pip-install-lIh_fo/dlib/setup.py», line 169, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File «/usr/lib/python2.7/subprocess.py», line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘cmake’, ‘/tmp/pip-install-lIh_fo/dlib/tools/python’, ‘-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-lIh_fo/dlib/build/lib.linux-aarch64-2.7’, ‘-DPYTHON_EXECUTABLE=/usr/bin/python’, ‘-DCMAKE_BUILD_TYPE=Release’]’ returned non-zero exit status 1
Running setup.py clean for dlib
Failed to build dlib
Installing collected packages: dlib
Running setup.py install for dlib: started
Running setup.py install for dlib: finished with status ‘error’
Complete output from command /usr/bin/python -u -c «import setuptools, tokenize;file=’/tmp/pip-install-lIh_fo/dlib/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘rn’, ‘n’);f.close();exec(compile(code, file, ‘exec’))» install —record /tmp/pip-record-sHrt4s/install-record.txt —single-version-externally-managed —compile:
running install
running build
running build_py
package init file ‘dlib/init.py’ not found (or not a regular file)
running build_ext
Building extension for Python 2.7.12 (default, Dec 4 2017, 14:50:18)
Invoking CMake setup: ‘cmake /tmp/pip-install-lIh_fo/dlib/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-lIh_fo/dlib/build/lib.linux-aarch64-2.7 -DPYTHON_EXECUTABLE=/usr/bin/python -DCMAKE_BUILD_TYPE=Release’
— The C compiler identification is GNU 5.4.0
— The CXX compiler identification is GNU 5.4.0
— Check for working C compiler: /usr/bin/cc
— Check for working C compiler: /usr/bin/cc — works
— Detecting C compiler ABI info
— Detecting C compiler ABI info — done
— Detecting C compile features
— Detecting C compile features — done
— Check for working CXX compiler: /usr/bin/c++
— Check for working CXX compiler: /usr/bin/c++ — works
— Detecting CXX compiler ABI info
— Detecting CXX compiler ABI info — done
— Detecting CXX compile features
— Detecting CXX compile features — done
— Found PythonInterp: /usr/bin/python (found version «2.7.12»)
— Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython2.7.so
— Performing Test HAS_CPP14_FLAG
— Performing Test HAS_CPP14_FLAG — Success
— pybind11 v2.2.2
CMake Error at CMakeLists.txt:17 (if):
if given arguments:
- Version:19.13
- Where did you get dlib: pip install dlib
- Platform: ubuntu16.04 64-bit
- Compiler: linaro 5.4 gcc
The text was updated successfully, but these errors were encountered:
Источник
I am trying to install dlib on Pycharm (which is similar to Anaconda) in order to use it for my Python and OpenCV face detection project.
I have installed cMake and upgraded Python but there is still an error:
Command
pip install dlib
Error
FileNotFoundError: [WinError 2] The system cannot find the file specified
Command output
Collecting dlib
Using cached https://files.pythonhosted.org/packages/05/57/e8a8caa3c89a27f80bc78da39c423e2553f482a3705adc619176a3a24b36/dlib-19.17.0.tar.gz
Installing collected packages: dlib
Running setup.py install for dlib: started
Running setup.py install for dlib: finished with status 'error'
Complete output from command C:UsersmehrsPycharmProjectsproject2venvScriptspython.exe -u -c "import setuptools, tokenize;__file__='C:\Users\mehrs\AppData\Local\Temp\pycharm-packaging\dlib\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:UsersmehrsAppDataLocalTemppip-record-_nvwlk_iinstall-record.txt --single-version-externally-managed --compile --install-headers C:UsersmehrsPycharmProjectsproject2venvincludesitepython3.7dlib:
running install
running build
running build_py
package init file 'dlib__init__.py' not found (or not a regular file)
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
Traceback (most recent call last):
File "C:UsersmehrsAppDataLocalTemppycharm-packagingdlibsetup.py", line 120, in get_cmake_version
out = subprocess.check_output(['cmake', '--version'])
File "C:UsersmehrsAppDataLocalProgramsPythonPython37-32libsubprocess.py", line 395, in check_output
**kwargs).stdout
File "C:UsersmehrsAppDataLocalProgramsPythonPython37-32libsubprocess.py", line 472, in run
with Popen(*popenargs, **kwargs) as process:
File "C:UsersmehrsAppDataLocalProgramsPythonPython37-32libsubprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "C:UsersmehrsAppDataLocalProgramsPythonPython37-32libsubprocess.py", line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:UsersmehrsAppDataLocalTemppycharm-packagingdlibsetup.py", line 261, in <module>
'Topic :: Software Development',
File "C:UsersmehrsPycharmProjectsproject2venvlibsite-packagessetuptools-39.1.0-py3.7.eggsetuptools__init__.py", line 129, in setup
File "C:UsersmehrsAppDataLocalProgramsPythonPython37-32libdistutilscore.py", line 148, in setup
dist.run_commands()
File "C:UsersmehrsAppDataLocalProgramsPythonPython37-32libdistutilsdist.py", line 966, in run_commands
self.run_command(cmd)
File "C:UsersmehrsAppDataLocalProgramsPythonPython37-32libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "C:UsersmehrsPycharmProjectsproject2venvlibsite-packagessetuptools-39.1.0-py3.7.eggsetuptoolscommandinstall.py", line 61, in run
File "C:UsersmehrsAppDataLocalProgramsPythonPython37-32libdistutilscommandinstall.py", line 545, in run
self.run_command('build')
File "C:UsersmehrsAppDataLocalProgramsPythonPython37-32libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:UsersmehrsAppDataLocalProgramsPythonPython37-32libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "C:UsersmehrsAppDataLocalProgramsPythonPython37-32libdistutilscommandbuild.py", line 135, in run
self.run_command(cmd_name)
File "C:UsersmehrsAppDataLocalProgramsPythonPython37-32libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:UsersmehrsAppDataLocalProgramsPythonPython37-32libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "C:UsersmehrsAppDataLocalTemppycharm-packagingdlibsetup.py", line 129, in run
cmake_version = self.get_cmake_version()
File "C:UsersmehrsAppDataLocalTemppycharm-packagingdlibsetup.py", line 125, in get_cmake_version
"n*******************************************************************n")
RuntimeError:
*******************************************************************
CMake must be installed to build the following extensions: dlib
*******************************************************************
----------------------------------------
Command "C:UsersmehrsPycharmProjectsproject2venvScriptspython.exe -u -c "import setuptools, tokenize;__file__='C:\Users\mehrs\AppData\Local\Temp\pycharm-packaging\dlib\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:UsersmehrsAppDataLocalTemppip-record-_nvwlk_iinstall-record.txt --single-version-externally-managed --compile --install-headers C:UsersmehrsPycharmProjectsproject2venvincludesitepython3.7dlib" failed with error code 1 in C:UsersmehrsAppDataLocalTemppycharm-packagingdlib
You are using pip version 10.0.1, however version 19.0.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
- Remove From My Forums
-
Question
-
While pushing the code through local git, installation is failing with reason CMake must be installed to build the following extensions: dlib.
How to enable dlib in webapp when using code for deployment? Should i use any docker images for this purpose?
All replies
-
Hi,
Thanks for raising the issue.
Which docker image are you using? If dlib or any other library is missing, you might be able to install it using a Startup script.
-
I couldn’t create a docker image as my system contains windows 10 home which it seems is not supported.
My requirement file contains below libraries for python3.6
Django==2.2.3
django-appconf==1.0.3
djangorestframework==3.9.4
Pillow==6.1.0
pytz==2019.2
six==1.12.0
sqlparse==0.3.0
scikit-learn==0.21.3
scipy==1.3.0
numpy==1.16.4
opencv-python==4.1.0.25
dlib
whitenoise==4.1 -
Could you please send an email to AzCommunity[at]Microsoft[dot]com referencing
this thread, we would like to work closer with you on this matter
Hello,
I m trying for a couple of days to install anaconda and then OpenCV and dlib in a Win10 machine. I can not use pip install because it gives me an error so I use conda install -c conda-forge dlib instead.
But then it says «The following packages will be REMOVED: anaconda: 5.2.0-py36_3». The result is that after the installation is complete I cannot open Anaconda-naviagator or Spyder. Even if I reinstall them the problem persists.
Is there another way to install it safely? Am I missing something or doing something terribly wrong?
(base) C:Userspascp>pip install dlib
Collecting dlib
Using cached https://files.pythonhosted.org/packages/97/08/0d2b53b3845d562d01108e482ae45596a0d13bf58c63172df954ff0b53ef/dlib-19.14.0.tar.gz
Building wheels for collected packages: dlib
Running setup.py bdist_wheel for dlib ... error
Complete output from command C:UserspascpAnaconda3python.exe -u -c "import setuptools, tokenize;__file__='C:\Users\pascp\AppData\Local\Temp\pip-install-1bp2q4v_\dlib\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:UserspascpAppDataLocalTemppip-wheel-x9bsli4y --python-tag cp36:
running bdist_wheel
running build
running build_py
package init file 'dlib__init__.py' not found (or not a regular file)
running build_ext
Traceback (most recent call last):
File "C:UserspascpAppDataLocalTemppip-install-1bp2q4v_dlibsetup.py", line 118, in get_cmake_version
out = subprocess.check_output(['cmake', '--version'])
File "C:UserspascpAnaconda3libsubprocess.py", line 336, in check_output
**kwargs).stdout
File "C:UserspascpAnaconda3libsubprocess.py", line 403, in run
with Popen(*popenargs, **kwargs) as process:
File "C:UserspascpAnaconda3libsubprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "C:UserspascpAnaconda3libsubprocess.py", line 997, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:UserspascpAppDataLocalTemppip-install-1bp2q4v_dlibsetup.py", line 257, in <module>
'Topic :: Software Development',
File "C:UserspascpAnaconda3libsite-packagessetuptools__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "C:UserspascpAnaconda3libdistutilscore.py", line 148, in setup
dist.run_commands()
File "C:UserspascpAnaconda3libdistutilsdist.py", line 955, in run_commands
self.run_command(cmd)
File "C:UserspascpAnaconda3libdistutilsdist.py", line 974, in run_command
cmd_obj.run()
File "C:UserspascpAnaconda3libsite-packageswheelbdist_wheel.py", line 202, in run
self.run_command('build')
File "C:UserspascpAnaconda3libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:UserspascpAnaconda3libdistutilsdist.py", line 974, in run_command
cmd_obj.run()
File "C:UserspascpAnaconda3libdistutilscommandbuild.py", line 135, in run
self.run_command(cmd_name)
File "C:UserspascpAnaconda3libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:UserspascpAnaconda3libdistutilsdist.py", line 974, in run_command
cmd_obj.run()
File "C:UserspascpAppDataLocalTemppip-install-1bp2q4v_dlibsetup.py", line 127, in run
cmake_version = self.get_cmake_version()
File "C:UserspascpAppDataLocalTemppip-install-1bp2q4v_dlibsetup.py", line 123, in get_cmake_version
"n*******************************************************************n")
RuntimeError:
*******************************************************************
CMake must be installed to build the following extensions: dlib
*******************************************************************
----------------------------------------
Failed building wheel for dlib
Running setup.py clean for dlib
Failed to build dlib
Installing collected packages: dlib
Running setup.py install for dlib ... error
Complete output from command C:UserspascpAnaconda3python.exe -u -c "import setuptools, tokenize;__file__='C:\Users\pascp\AppData\Local\Temp\pip-install-1bp2q4v_\dlib\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:UserspascpAppDataLocalTemppip-record-am4ss3t9install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
package init file 'dlib__init__.py' not found (or not a regular file)
running build_ext
Traceback (most recent call last):
File "C:UserspascpAppDataLocalTemppip-install-1bp2q4v_dlibsetup.py", line 118, in get_cmake_version
out = subprocess.check_output(['cmake', '--version'])
File "C:UserspascpAnaconda3libsubprocess.py", line 336, in check_output
**kwargs).stdout
File "C:UserspascpAnaconda3libsubprocess.py", line 403, in run
with Popen(*popenargs, **kwargs) as process:
File "C:UserspascpAnaconda3libsubprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "C:UserspascpAnaconda3libsubprocess.py", line 997, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:UserspascpAppDataLocalTemppip-install-1bp2q4v_dlibsetup.py", line 257, in <module>
'Topic :: Software Development',
File "C:UserspascpAnaconda3libsite-packagessetuptools__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "C:UserspascpAnaconda3libdistutilscore.py", line 148, in setup
dist.run_commands()
File "C:UserspascpAnaconda3libdistutilsdist.py", line 955, in run_commands
self.run_command(cmd)
File "C:UserspascpAnaconda3libdistutilsdist.py", line 974, in run_command
cmd_obj.run()
File "C:UserspascpAnaconda3libsite-packagessetuptoolscommandinstall.py", line 61, in run
return orig.install.run(self)
File "C:UserspascpAnaconda3libdistutilscommandinstall.py", line 545, in run
self.run_command('build')
File "C:UserspascpAnaconda3libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:UserspascpAnaconda3libdistutilsdist.py", line 974, in run_command
cmd_obj.run()
File "C:UserspascpAnaconda3libdistutilscommandbuild.py", line 135, in run
self.run_command(cmd_name)
File "C:UserspascpAnaconda3libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:UserspascpAnaconda3libdistutilsdist.py", line 974, in run_command
cmd_obj.run()
File "C:UserspascpAppDataLocalTemppip-install-1bp2q4v_dlibsetup.py", line 127, in run
cmake_version = self.get_cmake_version()
File "C:UserspascpAppDataLocalTemppip-install-1bp2q4v_dlibsetup.py", line 123, in get_cmake_version
"n*******************************************************************n")
RuntimeError:
*******************************************************************
CMake must be installed to build the following extensions: dlib
*******************************************************************
----------------------------------------
Command "C:UserspascpAnaconda3python.exe -u -c "import setuptools, tokenize;__file__='C:\Users\pascp\AppData\Local\Temp\pip-install-1bp2q4v_\dlib\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:UserspascpAppDataLocalTemppip-record-am4ss3t9install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:UserspascpAppDataLocalTemppip-install-1bp2q4v_dlib
(base) C:Userspascp> conda install -c conda-forge dlib
Solving environment: done
## Package Plan ##
environment location: C:UserspascpAnaconda3
added / updated specs:
- dlib
The following packages will be downloaded:
package | build
---------------------------|-----------------
curl-7.60.0 | vc14_0 367 KB conda-forge
matplotlib-2.2.2 | py36_1 6.5 MB conda-forge
qt-5.6.2 | vc14_1 55.6 MB conda-forge
ca-certificates-2018.4.16 | 0 176 KB conda-forge
snappy-1.1.7 | vc14_1 80 KB conda-forge
zlib-1.2.11 | vc14_0 119 KB conda-forge
krb5-1.14.6 | vc14_0 767 KB conda-forge
openssl-1.0.2o | vc14_0 5.4 MB conda-forge
icu-58.2 | vc14_0 21.8 MB conda-forge
certifi-2018.4.16 | py36_0 143 KB conda-forge
lzo-2.10 | vc14_0 154 KB conda-forge
libssh2-1.8.0 | vc14_2 184 KB conda-forge
libxslt-1.1.32 | vc14_0 456 KB conda-forge
libpng-1.6.34 | vc14_0 547 KB conda-forge
sqlite-3.22.0 | vc14_0 907 KB conda-forge
zeromq-4.2.5 | vc14_2 9.6 MB conda-forge
conda-4.5.6 | py36_0 653 KB conda-forge
yaml-0.1.7 | vc14_0 103 KB conda-forge
pyqt-5.6.0 | py36_2 4.5 MB
libxml2-2.9.5 | vc14_1 3.2 MB conda-forge
freetype-2.8.1 | vc14_0 469 KB conda-forge
dlib-19.9 | np111py36_0 2.4 MB conda-forge
libtiff-4.0.9 | vc14_0 616 KB conda-forge
lxml-4.2.3 | py36heafd4d3_0 1.2 MB conda-forge
libiconv-1.14 | vc14_4 670 KB conda-forge
jpeg-9b | vc14_2 314 KB conda-forge
libsodium-1.0.16 | vc14_0 582 KB conda-forge
bzip2-1.0.6 | vc14_1 144 KB conda-forge
hdf5-1.10.2 | vc14_0 18.9 MB conda-forge
numpy-1.11.3 | py36hd5b3723_6 11 KB
tk-8.6.7 | vc14_0 3.5 MB conda-forge
------------------------------------------------------------
Total: 139.8 MB
The following NEW packages will be INSTALLED:
dlib: 19.9-np111py36_0 conda-forge
krb5: 1.14.6-vc14_0 conda-forge [vc14]
The following packages will be REMOVED:
anaconda: 5.2.0-py36_3
The following packages will be UPDATED:
ca-certificates: 2018.03.07-0 anaconda --> 2018.4.16-0 conda-forge
certifi: 2018.4.16-py36_0 anaconda --> 2018.4.16-py36_0 conda-forge
conda: 4.5.5-py36_0 anaconda --> 4.5.6-py36_0 conda-forge
curl: 7.60.0-h7602738_0 --> 7.60.0-vc14_0 conda-forge [vc14]
freetype: 2.8-h51f8f2c_1 --> 2.8.1-vc14_0 conda-forge [vc14]
jpeg: 9b-hb83a4c4_2 --> 9b-vc14_2 conda-forge [vc14]
libpng: 1.6.34-h79bbb47_0 --> 1.6.34-vc14_0 conda-forge [vc14]
libsodium: 1.0.16-h9d3ae62_0 --> 1.0.16-vc14_0 conda-forge [vc14]
libxslt: 1.1.32-hf6f1972_0 --> 1.1.32-vc14_0 conda-forge [vc14]
lxml: 4.2.1-py36heafd4d3_0 --> 4.2.3-py36heafd4d3_0 conda-forge
matplotlib: 2.2.2-py36h153e9ff_1 --> 2.2.2-py36_1 conda-forge
openssl: 1.0.2o-h8ea7d77_0 anaconda --> 1.0.2o-vc14_0 conda-forge [vc14]
zeromq: 4.2.5-hc6251cf_0 --> 4.2.5-vc14_2 conda-forge [vc14]
The following packages will be DOWNGRADED:
bzip2: 1.0.6-hfa6e2cd_5 --> 1.0.6-vc14_1 conda-forge [vc14]
hdf5: 1.10.2-hac2f561_1 --> 1.10.2-vc14_0 conda-forge [vc14]
icu: 58.2-ha66f8fd_1 --> 58.2-vc14_0 conda-forge [vc14]
libiconv: 1.15-h1df5818_7 --> 1.14-vc14_4 conda-forge [vc14]
libssh2: 1.8.0-hd619d38_4 --> 1.8.0-vc14_2 conda-forge [vc14]
libtiff: 4.0.9-hb8ad9f9_1 --> 4.0.9-vc14_0 conda-forge [vc14]
libxml2: 2.9.8-hadb2253_1 --> 2.9.5-vc14_1 conda-forge [vc14]
lzo: 2.10-h6df0209_2 --> 2.10-vc14_0 conda-forge [vc14]
numpy: 1.14.3-py36h9fa60d3_1 --> 1.11.3-py36hd5b3723_6
pyqt: 5.9.2-py36h1aa27d4_0 --> 5.6.0-py36_2
qt: 5.9.5-vc14he4a7d60_0 --> 5.6.2-vc14_1 conda-forge [vc14]
snappy: 1.1.7-h777316e_3 --> 1.1.7-vc14_1 conda-forge [vc14]
sqlite: 3.23.1-h35aae40_0 --> 3.22.0-vc14_0 conda-forge [vc14]
tk: 8.6.7-hcb92d03_3 --> 8.6.7-vc14_0 conda-forge [vc14]
yaml: 0.1.7-hc54c509_2 --> 0.1.7-vc14_0 conda-forge [vc14]
zlib: 1.2.11-h8395fce_2 --> 1.2.11-vc14_0 conda-forge [vc14]
Proceed ([y]/n)? y
Downloading and Extracting Packages
curl-7.60.0 | 367 KB | ############################################################################## | 100%
matplotlib-2.2.2 | 6.5 MB | ############################################################################## | 100%
qt-5.6.2 | 55.6 MB | ############################################################################## | 100%
ca-certificates-2018 | 176 KB | ######################################################################################################################################################################### | 100%
snappy-1.1.7 | 80 KB | ######################################################################################################################################################################### | 100%
zlib-1.2.11 | 119 KB | ######################################################################################################################################################################### | 100%
krb5-1.14.6 | 767 KB | ######################################################################################################################################################################### | 100%
openssl-1.0.2o | 5.4 MB | ######################################################################################################################################################################### | 100%
icu-58.2 | 21.8 MB | ######################################################################################################################################################################### | 100%
certifi-2018.4.16 | 143 KB | ######################################################################################################################################################################### | 100%
lzo-2.10 | 154 KB | ######################################################################################################################################################################### | 100%
libssh2-1.8.0 | 184 KB | ######################################################################################################################################################################### | 100%
libxslt-1.1.32 | 456 KB | ######################################################################################################################################################################### | 100%
libpng-1.6.34 | 547 KB | ######################################################################################################################################################################### | 100%
sqlite-3.22.0 | 907 KB | ######################################################################################################################################################################### | 100%
zeromq-4.2.5 | 9.6 MB | ######################################################################################################################################################################### | 100%
conda-4.5.6 | 653 KB | ######################################################################################################################################################################### | 100%
yaml-0.1.7 | 103 KB | ######################################################################################################################################################################### | 100%
pyqt-5.6.0 | 4.5 MB | ######################################################################################################################################################################### | 100%
libxml2-2.9.5 | 3.2 MB | ######################################################################################################################################################################### | 100%
freetype-2.8.1 | 469 KB | ######################################################################################################################################################################### | 100%
dlib-19.9 | 2.4 MB | ######################################################################################################################################################################### | 100%
libtiff-4.0.9 | 616 KB | ######################################################################################################################################################################### | 100%
lxml-4.2.3 | 1.2 MB | ######################################################################################################################################################################### | 100%
libiconv-1.14 | 670 KB | ######################################################################################################################################################################### | 100%
jpeg-9b | 314 KB | ######################################################################################################################################################################### | 100%
libsodium-1.0.16 | 582 KB | ######################################################################################################################################################################### | 100%
bzip2-1.0.6 | 144 KB | ######################################################################################################################################################################### | 100%
hdf5-1.10.2 | 18.9 MB | ######################################################################################################################################################################### | 100%
numpy-1.11.3 | 11 KB | ######################################################################################################################################################################### | 100%
tk-8.6.7 | 3.5 MB | ######################################################################################################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(base) C:Userspascp> conda install -c anaconda anaconda
Solving environment: done
## Package Plan ##
environment location: C:UserspascpAnaconda3
added / updated specs:
- anaconda
The following packages will be downloaded:
package | build
---------------------------|-----------------
certifi-2018.4.16 | py36_0 143 KB anaconda
anaconda-custom | py36h363777c_0 9 KB anaconda
------------------------------------------------------------
Total: 152 KB
The following NEW packages will be INSTALLED:
anaconda: custom-py36h363777c_0 anaconda
The following packages will be UPDATED:
certifi: 2018.4.16-py36_0 conda-forge --> 2018.4.16-py36_0 anaconda
openssl: 1.0.2o-vc14_0 conda-forge [vc14] --> 1.0.2o-h8ea7d77_0 anaconda
The following packages will be DOWNGRADED:
ca-certificates: 2018.4.16-0 conda-forge --> 2018.03.07-0 anaconda
conda: 4.5.6-py36_0 conda-forge --> 4.5.5-py36_0 anaconda
Proceed ([y]/n)? y
Downloading and Extracting Packages
certifi-2018.4.16 | 143 KB | ######################################################################################################################################################################### | 100%
anaconda-custom | 9 KB | ######################################################################################################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(base) C:Userspascp> conda install -c anaconda spyder
Solving environment: done
## Package Plan ##
environment location: C:UserspascpAnaconda3
added / updated specs:
- spyder
The following packages will be downloaded:
package | build
---------------------------|-----------------
spyder-3.2.8 | py36_0 2.7 MB anaconda
The following packages will be UPDATED:
spyder: 3.2.8-py36_0 --> 3.2.8-py36_0 anaconda
Proceed ([y]/n)? y
Downloading and Extracting Packages
spyder-3.2.8 | 2.7 MB | ######################################################################################################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: DEBUG menuinst_win32:__init__(196): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'C:UserspascpAnaconda3', env_name: 'None', mode: 'user', used_mode: 'user'
DEBUG menuinst_win32:create(320): Shortcut cmd is C:UserspascpAnaconda3pythonw.exe, args are ['C:\Users\pascp\Anaconda3\cwp.py', 'C:\Users\pascp\Anaconda3', 'C:\Users\pascp\Anaconda3\pythonw.exe', 'C:\Users\pascp\Anaconda3\Scripts\spyder-script.py']
DEBUG menuinst_win32:create(320): Shortcut cmd is C:UserspascpAnaconda3python.exe, args are ['C:\Users\pascp\Anaconda3\cwp.py', 'C:\Users\pascp\Anaconda3', 'C:\Users\pascp\Anaconda3\python.exe', 'C:\Users\pascp\Anaconda3\Scripts\spyder-script.py', '--reset']
/ DEBUG menuinst_win32:__init__(196): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'C:UserspascpAnaconda3', env_name: 'None', mode: 'user', used_mode: 'user'
DEBUG menuinst_win32:create(320): Shortcut cmd is C:UserspascpAnaconda3pythonw.exe, args are ['C:\Users\pascp\Anaconda3\cwp.py', 'C:\Users\pascp\Anaconda3', 'C:\Users\pascp\Anaconda3\pythonw.exe', 'C:\Users\pascp\Anaconda3\Scripts\spyder-script.py']
DEBUG menuinst_win32:create(320): Shortcut cmd is C:UserspascpAnaconda3python.exe, args are ['C:\Users\pascp\Anaconda3\cwp.py', 'C:\Users\pascp\Anaconda3', 'C:\Users\pascp\Anaconda3\python.exe', 'C:\Users\pascp\Anaconda3\Scripts\spyder-script.py', '--reset']
done
(base) C:Userspascp> conda install -c anaconda anaconda-navigator
Solving environment: done
## Package Plan ##
environment location: C:UserspascpAnaconda3
added / updated specs:
- anaconda-navigator
The following packages will be downloaded:
package | build
---------------------------|-----------------
anaconda-navigator-1.8.7 | py36_0 4.7 MB anaconda
The following packages will be UPDATED:
anaconda-navigator: 1.8.7-py36_0 --> 1.8.7-py36_0 anaconda
Proceed ([y]/n)? y
Downloading and Extracting Packages
anaconda-navigator-1 | 4.7 MB | ######################################################################################################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: | DEBUG menuinst_win32:__init__(196): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'C:UserspascpAnaconda3', env_name: 'None', mode: 'user', used_mode: 'user'
DEBUG menuinst_win32:create(320): Shortcut cmd is C:UserspascpAnaconda3pythonw.exe, args are ['C:\Users\pascp\Anaconda3\cwp.py', 'C:\Users\pascp\Anaconda3', 'C:\Users\pascp\Anaconda3\pythonw.exe', 'C:\Users\pascp\Anaconda3\Scripts\anaconda-navigator-script.py']
DEBUG menuinst_win32:__init__(196): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'C:UserspascpAnaconda3', env_name: 'None', mode: 'user', used_mode: 'user'
DEBUG menuinst_win32:create(320): Shortcut cmd is C:UserspascpAnaconda3pythonw.exe, args are ['C:\Users\pascp\Anaconda3\cwp.py', 'C:\Users\pascp\Anaconda3', 'C:\Users\pascp\Anaconda3\pythonw.exe', 'C:\Users\pascp\Anaconda3\Scripts\anaconda-navigator-script.py']
done