Home > other >  Help python3.7 dlib installation failure
Help python3.7 dlib installation failure

Time:09-28

Turn to for help, I have installed VS2019


Cmake


The Boost


Install dlib19.16 and 19.14 are not success

C: \ python3.7 \ dlib 19.16 & gt; Python setup. Py install
Running the install
Running bdist_egg
Running egg_info
Creating dlib. An egg - info
Writing dlib. An egg - info \ PKG - info
Writing dependency_links to dlib. An egg - info \ dependency_links. TXT
Their top - level names to dlib. An egg - info \ top_level. TXT
Writing the manifest file 'dlib. An egg - info \ SOURCES. TXT'
Package the init file 'dlib \ set p y' not found (or not a regular file)
Reading the manifest file 'dlib. An egg - info \ SOURCES. TXT'
Reading the manifest the template 'manifest. In'
Writing the manifest file 'dlib. An egg - info \ SOURCES. TXT'
Installing the library code to the build \ bdist win32 \ egg
Running install_lib
Running build_py
Running build_ext
Building the extension for Python 3.7.4 (tags/v3.7.4: e09359112e, Jul 2019, 19:29:22) [MSC v. 1916 32 bit (Intel)]
Invoking CMake setup: 'CMake c: \ python3.7 \ dlib - 19.16 \ tools \ python - DCMAKE_LIBRARY_OUTPUT_DIRECTORY=c: \ \ python3.7 \ dlib 19.16 build \ lib win32-3.7 - DPYTHON_EXECUTABLE=c: \ python3.7 \ python exe - DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=c: \ \ python3.7 \ dlib 19.16 build \ lib win32-3.7'
16 - Building for: Visual Studio 2019
- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.17134.
- The C compiler identification is MSVC 19.22.27905.0
- The CXX compiler identification is MSVC 19.22.27905.0
- Check for working C compiler: E:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.22.27905/bin/Hostx64/x64/cl. Exe
- Check for working C compiler: E:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.22.27905/bin/Hostx64/x64/cl. Exe - works
- Detecting C compiler ABI info
- Detecting C compiler ABI info - done
- Detecting C compile the features
- Detecting C compile the features - done
- Check for working CXX compiler: E:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.22.27905/bin/Hostx64/x64/cl. Exe
- Check for working CXX compiler: E:/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.22.27905/bin/Hostx64/x64/cl. Exe - works
- Detecting CXX compiler ABI info
- Detecting CXX compiler ABI info - done
- Detecting CXX compile the features
- Detecting CXX compile the features - done
- Found PythonInterp: C:/python3.7/python. Exe (Found version "3.7.4")
CMake Error at C:/python3.7/dlib - 19.16/dlib/external/pybind11/tools/FindPythonLibsNew CMake: 122 (the message) :
Python config failure: Python is 32 - bit, feature the compiler is 64 - bit
The Call Stack (the most recent Call first) :
C:/python3.7/dlib - 19.16/dlib/external/pybind11/tools/pybind11Tools cmake: 16 (find_package)
C:/python3.7/dlib - 19.16/dlib/external/pybind11/CMakeLists. TXT: 33 (include)


- you incomplete, errors occurred!
See also "C:/python3.7/dlib - 19.16/build/temp. Win32-3.7/Release/CMakeFiles/CMakeOutput. Log".
Traceback (the most recent call last) :
The File "setup. Py", line 257, in & lt; module>
Topic: : Software Development,
The File "C: \ python3.7 \ lib \ site - packages \ setuptools \ set py", line 145, in the setup
* * attrs return distutils. Core. The setup ()
The File "C: \ python3.7 \ lib \ distutils \ core py", line 148, in the setup
Dist. Run_commands ()
The File "C: \ python3.7 \ lib \ distutils \ dist py", line 966, in run_commands
Self. Run_command (CMD)
The File "C: \ python3.7 \ lib \ distutils \ dist py", line 985, in run_command
Cmd_obj. The run ()
The File "C: \ python3.7 \ lib \ site - packages \ setuptools \ command \ install py", line 67, in the run
Self. Do_egg_install ()
The File "C: \ python3.7 \ lib \ site - packages \ setuptools \ command \ install py", line 109, in do_egg_install
Self. Run_command (' bdist_egg ')
The File "C: \ python3.7 \ lib \ distutils \ CMD py", line 313, in run_command
Self. Distribution. Run_command (command)
The File "C: \ python3.7 \ lib \ distutils \ dist py", line 985, in run_command
Cmd_obj. The run ()
The File "C: \ python3.7 \ lib \ site - packages \ setuptools \ command \ bdist_egg py", line 172, in the run
CMD=self. Call_command (' install_lib, warn_dir=0)
The File "C: \ python3.7 \ lib \ site - packages \ setuptools \ command \ bdist_egg py", line 158, in call_command
Self. Run_command (cmdname) occurs multiple times
The File "C: \ python3.7 \ lib \ distutils \ CMD py", line 313, in run_command
Self. Distribution. Run_command (command)
The File "C: \ python3.7 \ lib \ distutils \ dist py", line 985, in run_command
Cmd_obj. The run ()
The File "C: \ python3.7 \ lib \ site - packages \ setuptools \ command \ install_lib py", line 11, in the run
The self. The build ()
The File "C: \ python3.7 \ lib \ distutils \ command \ install_lib py", line 107, in the build
Self. Run_command (' build_ext ')
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related