Replies: 1 comment 1 reply
-
|
@Whickd-07 Please try installing dlib with python v3.8.6 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Hello sir, i have seen your video on how to install dlib, 90% job was done but in the end, I am getting this error... what to do😥😭
`C:\Users\Abyan Mohammed>pip install dlib
Collecting dlib
Downloading dlib-19.24.2.tar.gz (11.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.8/11.8 MB 24.2 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: dlib
Building wheel for dlib (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for dlib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [67 lines of output]
running bdist_wheel
running build
running build_ext
:125: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
Building extension for Python 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)]
Invoking CMake setup: 'cmake C:\Users\Abyan Mohammed\AppData\Local\Temp\pip-install-rcg9fsft\dlib_1c3c684a26994101afc67160eb3b1f16\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\Abyan Mohammed\AppData\Local\Temp\pip-install-rcg9fsft\dlib_1c3c684a26994101afc67160eb3b1f16\build\lib.win-amd64-cpython-310 -DPYTHON_EXECUTABLE=C:\Users\Abyan Mohammed\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\Abyan Mohammed\AppData\Local\Temp\pip-install-rcg9fsft\dlib_1c3c684a26994101afc67160eb3b1f16\build\lib.win-amd64-cpython-310 -A x64'
-- Building for: Visual Studio 17 2022
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:14 (project):
No CMAKE_C_COMPILER could be found.
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for dlib
Failed to build dlib
ERROR: Could not build wheels for dlib, which is required to install pyproject.toml-based projects
`
Beta Was this translation helpful? Give feedback.
All reactions