please help me to rectify the problem!! #68
Unanswered
BishalRDas
asked this question in
Q&A
Replies: 1 comment
-
|
search in chrome dlib master and install it (most probably in git hub only) After installing it, check for whl file where there will be a lot of them for example: -dlib-19.24.99-cp312-cp312-win_amd64.whl. So check the version of your Python, where mine now is 3.12, so I will select the thing that has the cp312 whl file and copy the name. After in the folder where the file is, click on the location of the file on the top and backspace it all and write 'cmd and press enter. It will open command prompt where you can type "pip install dlib-19.24.99-cp312-cp312-win_amd64.whl" (what you have copied and pasted after pip install) |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Collecting dlib
Downloading dlib-19.24.4.tar.gz (3.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 5.9 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
╰─> [14 lines of output]
:210: SyntaxWarning: invalid escape sequence '('
:211: SyntaxWarning: invalid escape sequence '('
:212: SyntaxWarning: invalid escape sequence '('
running bdist_wheel
running build
running build_ext
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\dbaku\anaconda3\envs\oneshort\Scripts\cmake.exe_main.py", line 4, in
ModuleNotFoundError: No module named 'cmake'
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: ERROR: Failed to build installable wheels for some pyproject.toml based projects (dlib)
Beta Was this translation helpful? Give feedback.
All reactions