Error failed building wheel for dlib

Visual studio 2015 is not installed I have installed all the requirements before building dlib in python: Cmake python 3.6 and other bindings. while installing dlib using pip: pip install dlib ...

Visual studio 2015 is not installed
I have installed all the requirements before building dlib in python:
Cmake

python 3.6 and other bindings.

while installing dlib using pip:

pip install dlib

Got an error:

Collecting dlib
  Using cached https://files.pythonhosted.org/packages/df/aa/6a9bb2a763107bb2606d6ee1aa65fcd3b51375a9ef6436e9c9280b0dd63c/dlib-19.15.0.tar.gz
Building wheels for collected packages: dlib
  Running setup.py bdist_wheel for dlib ... error
  Complete output from command "c:usersvikas tiwarianaconda3python.exe" -u -c "import setuptools, tokenize;__file__='C:\Users\VIKAST~1\AppData\Local\Temp\pip-install-4f4b8868\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:UsersVIKAST~1AppDataLocalTemppip-wheel-nnayeybw --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
  Building extension for Python 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 13:32:41) [MSC v.1900 64 bit (AMD64)]
  Invoking CMake setup: 'cmake C:UsersVIKAST~1AppDataLocalTemppip-install-4f4b8868dlibtoolspython -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:UsersVIKAST~1AppDataLocalTemppip-install-4f4b8868dlibbuildlib.win-amd64-3.6 -DPYTHON_EXECUTABLE=c:usersvikas tiwarianaconda3python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:UsersVIKAST~1AppDataLocalTemppip-install-4f4b8868dlibbuildlib.win-amd64-3.6 -A x64'
  -- Building for: Visual Studio 14 2015
  -- Selecting Windows SDK version  to target Windows 10.0.17134.
  CMake Error in CMakeLists.txt:
    Failed to run MSBuild command:

      C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe

    to get the value of VCTargetsPath:

      Microsoft (R) Build Engine version 14.0.25420.1
      Copyright (C) Microsoft Corporation. All rights reserved.

      Build started 8/7/2018 1:07:47 PM.
      Project "C:UsersVikas TiwariAppDataLocalTemppip-install-4f4b8868dlibbuildtemp.win-amd64-3.6ReleaseCMakeFiles3.12.0VCTargetsPath.vcxproj" on node 1 (default targets).
      C:UsersVikas TiwariAppDataLocalTemppip-install-4f4b8868dlibbuildtemp.win-amd64-3.6ReleaseCMakeFiles3.12.0VCTargetsPath.vcxproj(14,2): error MSB4019: The imported project "C:Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
      Done Building Project "C:UsersVikas TiwariAppDataLocalTemppip-install-4f4b8868dlibbuildtemp.win-amd64-3.6ReleaseCMakeFiles3.12.0VCTargetsPath.vcxproj" (default targets) -- FAILED.

      Build FAILED.

      "C:UsersVikas TiwariAppDataLocalTemppip-install-4f4b8868dlibbuildtemp.win-amd64-3.6ReleaseCMakeFiles3.12.0VCTargetsPath.vcxproj" (default target) (1) ->
        C:UsersVikas TiwariAppDataLocalTemppip-install-4f4b8868dlibbuildtemp.win-amd64-3.6ReleaseCMakeFiles3.12.0VCTargetsPath.vcxproj(14,2): error MSB4019: The imported project "C:Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

          0 Warning(s)
          1 Error(s)

      Time Elapsed 00:00:00.03


    Exit code: 1



  -- Configuring incomplete, errors occurred!
  See also "C:/Users/Vikas Tiwari/AppData/Local/Temp/pip-install-4f4b8868/dlib/build/temp.win-amd64-3.6/Release/CMakeFiles/CMakeOutput.log".
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:UsersVIKAST~1AppDataLocalTemppip-install-4f4b8868dlibsetup.py", line 257, in <module>
      'Topic :: Software Development',
    File "c:usersvikas tiwarianaconda3libsite-packagessetuptools__init__.py", line 129, in setup
      return distutils.core.setup(**attrs)
    File "c:usersvikas tiwarianaconda3libdistutilscore.py", line 148, in setup
      dist.run_commands()
    File "c:usersvikas tiwarianaconda3libdistutilsdist.py", line 955, in run_commands
      self.run_command(cmd)
    File "c:usersvikas tiwarianaconda3libdistutilsdist.py", line 974, in run_command
      cmd_obj.run()
    File "c:usersvikas tiwarianaconda3libsite-packageswheelbdist_wheel.py", line 202, in run
      self.run_command('build')
    File "c:usersvikas tiwarianaconda3libdistutilscmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:usersvikas tiwarianaconda3libdistutilsdist.py", line 974, in run_command
      cmd_obj.run()
    File "c:usersvikas tiwarianaconda3libdistutilscommandbuild.py", line 135, in run
      self.run_command(cmd_name)
    File "c:usersvikas tiwarianaconda3libdistutilscmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:usersvikas tiwarianaconda3libdistutilsdist.py", line 974, in run_command
      cmd_obj.run()
    File "C:UsersVIKAST~1AppDataLocalTemppip-install-4f4b8868dlibsetup.py", line 133, in run
      self.build_extension(ext)
    File "C:UsersVIKAST~1AppDataLocalTemppip-install-4f4b8868dlibsetup.py", line 170, in build_extension
      subprocess.check_call(cmake_setup, cwd=build_folder)
    File "c:usersvikas tiwarianaconda3libsubprocess.py", line 291, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', 'C:\Users\VIKAST~1\AppData\Local\Temp\pip-install-4f4b8868\dlib\tools\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\VIKAST~1\AppData\Local\Temp\pip-install-4f4b8868\dlib\build\lib.win-amd64-3.6', '-DPYTHON_EXECUTABLE=c:\users\vikas tiwari\anaconda3\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\VIKAST~1\AppData\Local\Temp\pip-install-4f4b8868\dlib\build\lib.win-amd64-3.6', '-A', 'x64']' returned non-zero exit status 1.

  ----------------------------------------
  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:usersvikas tiwarianaconda3python.exe" -u -c "import setuptools, tokenize;__file__='C:\Users\VIKAST~1\AppData\Local\Temp\pip-install-4f4b8868\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:UsersVIKAST~1AppDataLocalTemppip-record-aol24hccinstall-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 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 13:32:41) [MSC v.1900 64 bit (AMD64)]
    Invoking CMake setup: 'cmake C:UsersVIKAST~1AppDataLocalTemppip-install-4f4b8868dlibtoolspython -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:UsersVIKAST~1AppDataLocalTemppip-install-4f4b8868dlibbuildlib.win-amd64-3.6 -DPYTHON_EXECUTABLE=c:usersvikas tiwarianaconda3python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:UsersVIKAST~1AppDataLocalTemppip-install-4f4b8868dlibbuildlib.win-amd64-3.6 -A x64'
    -- Building for: Visual Studio 14 2015
    -- Selecting Windows SDK version  to target Windows 10.0.17134.
    CMake Error in CMakeLists.txt:
      Failed to run MSBuild command:

        C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe

      to get the value of VCTargetsPath:

        Microsoft (R) Build Engine version 14.0.25420.1
        Copyright (C) Microsoft Corporation. All rights reserved.

        Build started 8/7/2018 1:07:50 PM.
        Project "C:UsersVikas TiwariAppDataLocalTemppip-install-4f4b8868dlibbuildtemp.win-amd64-3.6ReleaseCMakeFiles3.12.0VCTargetsPath.vcxproj" on node 1 (default targets).
        C:UsersVikas TiwariAppDataLocalTemppip-install-4f4b8868dlibbuildtemp.win-amd64-3.6ReleaseCMakeFiles3.12.0VCTargetsPath.vcxproj(14,2): error MSB4019: The imported project "C:Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
        Done Building Project "C:UsersVikas TiwariAppDataLocalTemppip-install-4f4b8868dlibbuildtemp.win-amd64-3.6ReleaseCMakeFiles3.12.0VCTargetsPath.vcxproj" (default targets) -- FAILED.

        Build FAILED.

        "C:UsersVikas TiwariAppDataLocalTemppip-install-4f4b8868dlibbuildtemp.win-amd64-3.6ReleaseCMakeFiles3.12.0VCTargetsPath.vcxproj" (default target) (1) ->
          C:UsersVikas TiwariAppDataLocalTemppip-install-4f4b8868dlibbuildtemp.win-amd64-3.6ReleaseCMakeFiles3.12.0VCTargetsPath.vcxproj(14,2): error MSB4019: The imported project "C:Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

            0 Warning(s)
            1 Error(s)

        Time Elapsed 00:00:00.03


      Exit code: 1



    -- Configuring incomplete, errors occurred!
    See also "C:/Users/Vikas Tiwari/AppData/Local/Temp/pip-install-4f4b8868/dlib/build/temp.win-amd64-3.6/Release/CMakeFiles/CMakeOutput.log".
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:UsersVIKAST~1AppDataLocalTemppip-install-4f4b8868dlibsetup.py", line 257, in <module>
        'Topic :: Software Development',
      File "c:usersvikas tiwarianaconda3libsite-packagessetuptools__init__.py", line 129, in setup
        return distutils.core.setup(**attrs)
      File "c:usersvikas tiwarianaconda3libdistutilscore.py", line 148, in setup
        dist.run_commands()
      File "c:usersvikas tiwarianaconda3libdistutilsdist.py", line 955, in run_commands
        self.run_command(cmd)
      File "c:usersvikas tiwarianaconda3libdistutilsdist.py", line 974, in run_command
        cmd_obj.run()
      File "c:usersvikas tiwarianaconda3libsite-packagessetuptoolscommandinstall.py", line 61, in run
        return orig.install.run(self)
      File "c:usersvikas tiwarianaconda3libdistutilscommandinstall.py", line 545, in run
        self.run_command('build')
      File "c:usersvikas tiwarianaconda3libdistutilscmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:usersvikas tiwarianaconda3libdistutilsdist.py", line 974, in run_command
        cmd_obj.run()
      File "c:usersvikas tiwarianaconda3libdistutilscommandbuild.py", line 135, in run
        self.run_command(cmd_name)
      File "c:usersvikas tiwarianaconda3libdistutilscmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:usersvikas tiwarianaconda3libdistutilsdist.py", line 974, in run_command
        cmd_obj.run()
      File "C:UsersVIKAST~1AppDataLocalTemppip-install-4f4b8868dlibsetup.py", line 133, in run
        self.build_extension(ext)
      File "C:UsersVIKAST~1AppDataLocalTemppip-install-4f4b8868dlibsetup.py", line 170, in build_extension
        subprocess.check_call(cmake_setup, cwd=build_folder)
      File "c:usersvikas tiwarianaconda3libsubprocess.py", line 291, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['cmake', 'C:\Users\VIKAST~1\AppData\Local\Temp\pip-install-4f4b8868\dlib\tools\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\VIKAST~1\AppData\Local\Temp\pip-install-4f4b8868\dlib\build\lib.win-amd64-3.6', '-DPYTHON_EXECUTABLE=c:\users\vikas tiwari\anaconda3\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\VIKAST~1\AppData\Local\Temp\pip-install-4f4b8868\dlib\build\lib.win-amd64-3.6', '-A', 'x64']' returned non-zero exit status 1.

    ----------------------------------------
Command ""c:usersvikas tiwarianaconda3python.exe" -u -c "import setuptools, tokenize;__file__='C:\Users\VIKAST~1\AppData\Local\Temp\pip-install-4f4b8868\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:UsersVIKAST~1AppDataLocalTemppip-record-aol24hccinstall-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:UsersVIKAST~1AppDataLocalTemppip-install-4f4b8868dlib

I really don’t have any idea what’s the real issue here. Do i have to install Visual Studio to compile c++ files of dlib ?
Don’t have VS 2015 installed right now!!

Хотел установить библиотеки: cmake, dlib, face-recognition, и у меня они при установке выдают ошибку:

(venv) C:UsersigotgPycharmProjectspythonProject>pip install dlib
Collecting dlib
  Using cached dlib-19.24.0.tar.gz (3.2 MB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: dlib
  Building wheel for dlib (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:UsersigotgPycharmProjectspythonProjectvenvScriptspython.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\igotg\AppData\Local\Temp\pip-install-_f13hztz\dlib_95024e1ac1cd4e
668178db4bed7fccf0\setup.py'"'"'; __file__='"'"'C:\Users\igotg\AppData\Local\Temp\pip-install-_f13hztz\dlib_95024e1ac1cd4e668178db4bed7fccf0\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exi
sts(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:UsersigotgAppDataLocalTemppip-wheel-1c482bbx'
       cwd: C:UsersigotgAppDataLocalTemppip-install-_f13hztzdlib_95024e1ac1cd4e668178db4bed7fccf0
  Complete output (62 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
  C:UsersigotgAppDataLocalTemppip-install-_f13hztzdlib_95024e1ac1cd4e668178db4bed7fccf0setup.py:129: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    if LooseVersion(cmake_version) < '3.1.0':
  Building extension for Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)]
  Invoking CMake setup: 'cmake C:UsersigotgAppDataLocalTemppip-install-_f13hztzdlib_95024e1ac1cd4e668178db4bed7fccf0toolspython -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:UsersigotgAppDataLocalTemppip-install-_f13hztzdlib_95
024e1ac1cd4e668178db4bed7fccf0buildlib.win-amd64-3.8 -DPYTHON_EXECUTABLE=C:UsersigotgPycharmProjectspythonProjectvenvScriptspython.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:UsersigotgAppDataLocalTemppip-install-_f13hztzdlib_95024e1ac1cd4e668178db4bed7fccf0buildlib.win-amd64-3.8 -A x64'
  -- Building for: NMake Makefiles
  CMake Error at CMakeLists.txt:5 (message):



    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


    You must use Visual Studio to build a python extension on windows.  If you
    are getting this error it means you have not installed Visual C++.  Note
    that there are many flavors of Visual Studio, like Visual Studio for C#
    development.  You need to install Visual Studio for C++.


    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!




  -- Configuring incomplete, errors occurred!
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:UsersigotgAppDataLocalTemppip-install-_f13hztzdlib_95024e1ac1cd4e668178db4bed7fccf0setup.py", line 222, in <module>
      setup(
    File "C:UsersigotgPycharmProjectspythonProjectvenvlibsite-packagessetuptools__init__.py", line 155, in setup
      return distutils.core.setup(**attrs)
    File "C:UsersigotgPycharmProjectspythonProjectvenvlibsite-packagessetuptools_distutilscore.py", line 148, in setup
      return run_commands(dist)
    File "C:UsersigotgPycharmProjectspythonProjectvenvlibsite-packagessetuptools_distutilscore.py", line 163, in run_commands
      dist.run_commands()
    File "C:UsersigotgPycharmProjectspythonProjectvenvlibsite-packagessetuptools_distutilsdist.py", line 967, in run_commands
      self.run_command(cmd)
    File "C:UsersigotgPycharmProjectspythonProjectvenvlibsite-packagessetuptools_distutilsdist.py", line 986, in run_command
      cmd_obj.run()
    File "C:UsersigotgPycharmProjectspythonProjectvenvlibsite-packageswheelbdist_wheel.py", line 299, in run
      self.run_command('build')
    File "C:UsersigotgPycharmProjectspythonProjectvenvlibsite-packagessetuptools_distutilscmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "C:UsersigotgPycharmProjectspythonProjectvenvlibsite-packagessetuptools_distutilsdist.py", line 986, in run_command
      cmd_obj.run()
    File "C:UsersigotgPycharmProjectspythonProjectvenvlibsite-packagessetuptools_distutilscommandbuild.py", line 135, in run
      self.run_command(cmd_name)
    File "C:UsersigotgPycharmProjectspythonProjectvenvlibsite-packagessetuptools_distutilscmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "C:UsersigotgPycharmProjectspythonProjectvenvlibsite-packagessetuptools_distutilsdist.py", line 986, in run_command
      cmd_obj.run()
    File "C:UsersigotgAppDataLocalTemppip-install-_f13hztzdlib_95024e1ac1cd4e668178db4bed7fccf0setup.py", line 134, in run
      self.build_extension(ext)
    File "C:UsersigotgAppDataLocalTemppip-install-_f13hztzdlib_95024e1ac1cd4e668178db4bed7fccf0setup.py", line 171, in build_extension
      subprocess.check_call(cmake_setup, cwd=build_folder)
    File "C:UsersigotgAppDataLocalProgramsPythonPython38libsubprocess.py", line 364, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', 'C:\Users\igotg\AppData\Local\Temp\pip-install-_f13hztz\dlib_95024e1ac1cd4e668178db4bed7fccf0\tools\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\igotg\AppData\L
ocal\Temp\pip-install-_f13hztz\dlib_95024e1ac1cd4e668178db4bed7fccf0\build\lib.win-amd64-3.8', '-DPYTHON_EXECUTABLE=C:\Users\igotg\PycharmProjects\pythonProject\venv\Scripts\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\igotg\AppData\Local\Temp\pip-install-_f13hztz\dlib_95024e1ac1cd4e668178db4bed7fccf0\build\lib.win-amd64-3.8', '-A', 'x64']' returned non-zero exit status 1.
  ----------------------------------------
  ERROR: Failed building wheel for dlib

В чем может быть проблема? Уже пытался переустанавливать версии питона(сейчас 3.8.0)
+ меня установлен VS2022 с C++ пакетами

I tried a lot to install pip install dlib but it always shows an error and I reinstalled cmake.

pip install dlib
Collecting dlib
  Using cached https://files.pythonhosted.org/packages/1e/62/aacb236d21fbd08148b1d517d58a9d80ea31bdcd386d26f21f8b23b1eb28/dlib-19.18.0.tar.gz
Building wheels for collected packages: dlib
  Building wheel for dlib (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'c:program filespython37python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:UsershpAppDataLocalTemppip-install-yynf7muedlibsetup.py'"'"'; __file__='"'"'C:UsershpAppDataLocalTemppip-install-yynf7muedlibsetup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:UsershpAppDataLocalTemppip-wheel-0eyy_3vd' --python-tag cp37
       cwd: C:UsershpAppDataLocalTemppip-install-yynf7muedlib
  Complete output (55 lines):
  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 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)]
  Invoking CMake setup: 'cmake C:UsershpAppDataLocalTemppip-install-yynf7muedlibtoolspython -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:UsershpAppDataLocalTemppip-install-yynf7muedlibbuildlib.win-amd64-3.7 -DPYTHON_EXECUTABLE=c:program filespython37python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:UsershpAppDataLocalTemppip-install-yynf7muedlibbuildlib.win-amd64-3.7 -A x64'
  -- Building for: NMake Makefiles
  CMake Error at CMakeLists.txt:3 (project):
    Generator

      NMake Makefiles

    does not support platform specification, but platform

      x64

    was specified.


  CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
  CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
  -- Configuring incomplete, errors occurred!
  See also "C:/Users/hp/AppData/Local/Temp/pip-install-yynf7mue/dlib/build/temp.win-amd64-3.7/Release/CMakeFiles/CMakeOutput.log".
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:UsershpAppDataLocalTemppip-install-yynf7muedlibsetup.py", line 261, in <module>
      'Topic :: Software Development',
    File "c:program filespython37libsite-packagessetuptools__init__.py", line 145, in setup
      return distutils.core.setup(**attrs)
    File "c:program filespython37libdistutilscore.py", line 148, in setup
      dist.run_commands()
    File "c:program filespython37libdistutilsdist.py", line 966, in run_commands
      self.run_command(cmd)
    File "c:program filespython37libdistutilsdist.py", line 985, in run_command
      cmd_obj.run()
    File "c:program filespython37libsite-packageswheelbdist_wheel.py", line 192, in run
      self.run_command('build')
    File "c:program filespython37libdistutilscmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:program filespython37libdistutilsdist.py", line 985, in run_command
      cmd_obj.run()
    File "c:program filespython37libdistutilscommandbuild.py", line 135, in run
      self.run_command(cmd_name)
    File "c:program filespython37libdistutilscmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:program filespython37libdistutilsdist.py", line 985, in run_command
      cmd_obj.run()
    File "C:UsershpAppDataLocalTemppip-install-yynf7muedlibsetup.py", line 135, in run
      self.build_extension(ext)
    File "C:UsershpAppDataLocalTemppip-install-yynf7muedlibsetup.py", line 172, in build_extension
      subprocess.check_call(cmake_setup, cwd=build_folder)
    File "c:program filespython37libsubprocess.py", line 347, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', 'C:UsershpAppDataLocalTemppip-install-yynf7muedlibtoolspython', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:UsershpAppDataLocalTemppip-install-yynf7muedlibbuildlib.win-amd64-3.7', '-DPYTHON_EXECUTABLE=c:program filespython37python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:UsershpAppDataLocalTemppip-install-yynf7muedlibbuildlib.win-amd64-3.7', '-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:program filespython37python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:UsershpAppDataLocalTemppip-install-yynf7muedlibsetup.py'"'"'; __file__='"'"'C:UsershpAppDataLocalTemppip-install-yynf7muedlibsetup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:UsershpAppDataLocalTemppip-record-qzmuuf53install-record.txt' --single-version-externally-managed --compile
         cwd: C:UsershpAppDataLocalTemppip-install-yynf7muedlib
    Complete output (57 lines):
    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 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)]
    Invoking CMake setup: 'cmake C:UsershpAppDataLocalTemppip-install-yynf7muedlibtoolspython -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:UsershpAppDataLocalTemppip-install-yynf7muedlibbuildlib.win-amd64-3.7 -DPYTHON_EXECUTABLE=c:program filespython37python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:UsershpAppDataLocalTemppip-install-yynf7muedlibbuildlib.win-amd64-3.7 -A x64'
    -- Building for: NMake Makefiles
    CMake Error at CMakeLists.txt:3 (project):
      Generator

        NMake Makefiles

      does not support platform specification, but platform

        x64

      was specified.


    CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
    CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
    -- Configuring incomplete, errors occurred!
    See also "C:/Users/hp/AppData/Local/Temp/pip-install-yynf7mue/dlib/build/temp.win-amd64-3.7/Release/CMakeFiles/CMakeOutput.log".
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:UsershpAppDataLocalTemppip-install-yynf7muedlibsetup.py", line 261, in <module>
        'Topic :: Software Development',
      File "c:program filespython37libsite-packagessetuptools__init__.py", line 145, in setup
        return distutils.core.setup(**attrs)
      File "c:program filespython37libdistutilscore.py", line 148, in setup
        dist.run_commands()
      File "c:program filespython37libdistutilsdist.py", line 966, in run_commands
        self.run_command(cmd)
      File "c:program filespython37libdistutilsdist.py", line 985, in run_command
        cmd_obj.run()
      File "c:program filespython37libsite-packagessetuptoolscommandinstall.py", line 61, in run
        return orig.install.run(self)
      File "c:program filespython37libdistutilscommandinstall.py", line 545, in run
        self.run_command('build')
      File "c:program filespython37libdistutilscmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:program filespython37libdistutilsdist.py", line 985, in run_command
        cmd_obj.run()
      File "c:program filespython37libdistutilscommandbuild.py", line 135, in run
        self.run_command(cmd_name)
      File "c:program filespython37libdistutilscmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:program filespython37libdistutilsdist.py", line 985, in run_command
        cmd_obj.run()
      File "C:UsershpAppDataLocalTemppip-install-yynf7muedlibsetup.py", line 135, in run
        self.build_extension(ext)
      File "C:UsershpAppDataLocalTemppip-install-yynf7muedlibsetup.py", line 172, in build_extension
        subprocess.check_call(cmake_setup, cwd=build_folder)
      File "c:program filespython37libsubprocess.py", line 347, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['cmake', 'C:UsershpAppDataLocalTemppip-install-yynf7muedlibtoolspython', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:UsershpAppDataLocalTemppip-install-yynf7muedlibbuildlib.win-amd64-3.7', '-DPYTHON_EXECUTABLE=c:program filespython37python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:UsershpAppDataLocalTemppip-install-yynf7muedlibbuildlib.win-amd64-3.7', '-A', 'x64']' returned non-zero exit status 1.
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:program filespython37python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:UsershpAppDataLocalTemppip-install-yynf7muedlibsetup.py'"'"'; __file__='"'"'C:UsershpAppDataLocalTemppip-install-yynf7muedlibsetup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:UsershpAppDataLocalTemppip-record-qzmuuf53install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage

Python3 pip install dlib error:

Before installing dlib, it took a long time. When reinstalling, some necessary conditions were forgotten. This time, I recorded it and memo.

The error message is as follows:

Collecting dlib
  Downloading https://files.pythonhosted.org/packages/05/57/e8a8caa3c89a27f80bc78da39c423e2553f482a3705adc619176a3a24b36/dlib-19.17.0.tar.gz (3.4MB)
     |████████████████████████████████| 3.4MB 14kB/s
Building wheels for collected packages: dlib
  Building wheel for dlib (setup.py) ... error
  ERROR: Complete output from command 'f:python36python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\Users\fu\AppData\Local\Temp\pip-install-t50q34ym\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:UsersfuAppDataLocalTemppip-wheel-g2i4oztb' --python-tag cp36:
  ERROR: 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:UsersfuAppDataLocalTemppip-install-t50q34ymdlibsetup.py", line 120, in get_cmake_version
      out = subprocess.check_output(['cmake', '--version'])
    File "f:python36libsubprocess.py", line 356, in check_output
      **kwargs).stdout
    File "f:python36libsubprocess.py", line 423, in run
      with Popen(*popenargs, **kwargs) as process:
    File "f:python36libsubprocess.py", line 729, in __init__
      restore_signals, start_new_session)
    File "f:python36libsubprocess.py", line 1017, 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:UsersfuAppDataLocalTemppip-install-t50q34ymdlibsetup.py", line 261, in <module>
      'Topic :: Software Development',
    File "f:python36libsite-packagessetuptools__init__.py", line 143, in setup
      return distutils.core.setup(**attrs)
    File "f:python36libdistutilscore.py", line 148, in setup
      dist.run_commands()
    File "f:python36libdistutilsdist.py", line 955, in run_commands
      self.run_command(cmd)
    File "f:python36libdistutilsdist.py", line 974, in run_command
      cmd_obj.run()
    File "f:python36libsite-packageswheelbdist_wheel.py", line 192, in run
      self.run_command('build')
    File "f:python36libdistutilscmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "f:python36libdistutilsdist.py", line 974, in run_command
      cmd_obj.run()
    File "f:python36libdistutilscommandbuild.py", line 135, in run
      self.run_command(cmd_name)
    File "f:python36libdistutilscmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "f:python36libdistutilsdist.py", line 974, in run_command
      cmd_obj.run()
    File "C:UsersfuAppDataLocalTemppip-install-t50q34ymdlibsetup.py", line 129, in run
      cmake_version = self.get_cmake_version()
    File "C:UsersfuAppDataLocalTemppip-install-t50q34ymdlibsetup.py", line 125, in get_cmake_version
      "n*******************************************************************n")
  RuntimeError:
  *******************************************************************
   CMake must be installed to build the following extensions: dlib
  *******************************************************************

  ----------------------------------------
  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: Complete output from command 'f:python36python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\Users\fu\AppData\Local\Temp\pip-install-t50q34ym\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:UsersfuAppDataLocalTemppip-record-4kwg7hfvinstall-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:UsersfuAppDataLocalTemppip-install-t50q34ymdlibsetup.py", line 120, in get_cmake_version
        out = subprocess.check_output(['cmake', '--version'])
      File "f:python36libsubprocess.py", line 356, in check_output
        **kwargs).stdout
      File "f:python36libsubprocess.py", line 423, in run
        with Popen(*popenargs, **kwargs) as process:
      File "f:python36libsubprocess.py", line 729, in __init__
        restore_signals, start_new_session)
      File "f:python36libsubprocess.py", line 1017, 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:UsersfuAppDataLocalTemppip-install-t50q34ymdlibsetup.py", line 261, in <module>
        'Topic :: Software Development',
      File "f:python36libsite-packagessetuptools__init__.py", line 143, in setup
        return distutils.core.setup(**attrs)
      File "f:python36libdistutilscore.py", line 148, in setup
        dist.run_commands()
      File "f:python36libdistutilsdist.py", line 955, in run_commands
        self.run_command(cmd)
      File "f:python36libdistutilsdist.py", line 974, in run_command
        cmd_obj.run()
      File "f:python36libsite-packagessetuptoolscommandinstall.py", line 61, in run
        return orig.install.run(self)
      File "f:python36libdistutilscommandinstall.py", line 545, in run
        self.run_command('build')
      File "f:python36libdistutilscmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "f:python36libdistutilsdist.py", line 974, in run_command
        cmd_obj.run()
      File "f:python36libdistutilscommandbuild.py", line 135, in run
        self.run_command(cmd_name)
      File "f:python36libdistutilscmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "f:python36libdistutilsdist.py", line 974, in run_command
        cmd_obj.run()
      File "C:UsersfuAppDataLocalTemppip-install-t50q34ymdlibsetup.py", line 129, in run
        cmake_version = self.get_cmake_version()
      File "C:UsersfuAppDataLocalTemppip-install-t50q34ymdlibsetup.py", line 125, in get_cmake_version
        "n*******************************************************************n")
    RuntimeError:
    *******************************************************************
     CMake must be installed to build the following extensions: dlib
    *******************************************************************

    ----------------------------------------
ERROR: Command "'f:python36python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\Users\fu\AppData\Local\Temp\pip-install-t50q34ym\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:UsersfuAppDataLocalTemppip-record-4kwg7hfvinstall-record.txt' --single-version-externally-managed --compile" failed with error code 1 in C:UsersfuAppDataLocalTemppip-install-t50q34ymdlib
WARNING: You are using pip version 19.1, however version 19.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

You need to install cmake and boost before installing dlib. Then you can install dlib correctly.

pip install boost
pip install cmake
pip install dib

Test the installation results:

C:Usersfu>python
Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import dlib
>>>

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

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Error 8 недостаточно памяти для обработки команды stalker
  • Error 8 кофемашина jura как исправить ошибку
  • Error 8 there is not enough memory available
  • Error failed building wheel for cryptography
  • Error 79 hp 200 276

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии