Python pip install face_recognition hatası

Krbiik

Femtopat
Katılım
9 Ekim 2022
Mesajlar
42
Daha fazla  
Cinsiyet
Erkek
Kurarken bu hatayı veriyor

Kod:
Error: Cmake must be installed to Build dlib.

----------------------------------------
Error: Failed Building wheel for dlib.
Running setup.py clean for dlib.
Failed to Build dlib.
Installing collected packages: Dlib, face-recognition
Running setup.py install for dlib... Error.
Error: Command errored out with exit status 1:
Command: 'c:\users\ata\appdata\local\programs\python\python36\python.exe' -u -c 'import IO, OS, SYS, setuptools, tokenize; SYS. Argv[0] = '"'"'C:\\Users\\ata\\AppData\\Local\\Temp\\pip-install-oq_p3irj\\dlib_b30e41bc7f094f529f917ae173410910\\setup.py'"'"'; __file__='"'"'C:\\Users\\ata\\AppData\\Local\\Temp\\pip-install-oq_p3irj\\dlib_b30e41bc7f094f529f917ae173410910\\setup.py'"'"';F = getattr(tokenize, '"'"'open'"'"', open)(__file__) if OS. Path. Exists(__file__) else IO. Stringıo('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ata\AppData\Local\Temp\pip-record-a7hb9zk0\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\ata\appdata\local\programs\python\python36\Include\dlib'
Cwd: C:\Users\ata\AppData\Local\Temp\pip-install-oq_p3irj\dlib_b30e41bc7f094f529f917ae173410910\
Complete output (10 lines):
Running install.
c:\users\ata\appdata\local\programs\python\python36\lib\site-packages\setuptools\command\install.py:37: setuptoolsdeprecationwarning: setup.py install is deprecated. Use Build and pip and other standards-based Tools.
Setuptools. Setuptoolsdeprecationwarning,
Running Build.
Running build_py.
Package init file 'tools\python\dlib\__init__.py' not found (or not a regular file)
Running build_ext.

Error: Cmake must be installed to Build dlib.

----------------------------------------
Error: Command errored out with exit status 1: 'c:\users\ata\appdata\local\programs\python\python36\python.exe' -u -c 'import IO, OS, SYS, setuptools, tokenize; SYS. Argv[0] = '"'"'C:\\Users\\ata\\AppData\\Local\\Temp\\pip-install-oq_p3irj\\dlib_b30e41bc7f094f529f917ae173410910\\setup.py'"'"'; __file__='"'"'C:\\Users\\ata\\AppData\\Local\\Temp\\pip-install-oq_p3irj\\dlib_b30e41bc7f094f529f917ae173410910\\setup.py'"'"';F = getattr(tokenize, '"'"'open'"'"', open)(__file__) if OS. Path. Exists(__file__) else IO. Stringıo('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ata\AppData\Local\Temp\pip-record-a7hb9zk0\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\ata\appdata\local\programs\python\python36\Include\dlib' check the logs for Full command output.

C:\WINDOWS\system32>
 
pip install cmake yazıp denedin mi?
Eğer olmaz ise Visual Studio yükleyip Bağımsız Bileşenler sekmesinden CMake için Visual C++ araçlarını seçip yükleyin. Sonrasında tekrar deneyin.
 

Olmadı maalesef mute vardı ondan yazamadım


Size nereden ulaşabilirim Discord gibi bir hesabınız var mı?
 
Bu siteyi kullanmak için çerezler gereklidir. Siteyi kullanmaya devam etmek için çerezleri kabul etmelisiniz. Daha Fazlasını Öğren.…