Face recognition modülü indirmiyor

Griezmann

Kilopat
Katılım
10 Eylül 2016
Mesajlar
113
Daha fazla  
Cinsiyet
Erkek
Error bu şekilde:

Subprocess. Calledprocesserror: Command '['cmake', 'C:\\Users\\ender\\AppData\\Local\\Temp\\pycharm-packaging\\dlib\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\ender\\AppData\\Local\\Temp\\pycharm-packaging\\dlib\\build\\lib.win32-3.6', '-DPYTHON_EXECUTABLE=C:\\Users\\ender\\PycharmProjects\\Py2018\\venv\\Scripts\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\ender\\AppData\\Local\\Temp\\pycharm-packaging\\dlib\\build\\lib.win32-3.6']' returned non-Zero exit status 1.

Command output:
Collecting face-recognition.
Using cached https://files.pythonhosted.org/pack...0/face_recognition-1.3.0-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): Pillow in c:\users\ender\pycharmprojects\py2018\venv\lib\site-packages (from face-recognition)
Requirement already satisfied (use --upgrade to upgrade): Click>=6.0'in c:\users\ender\pycharmprojects\py2018\venv\lib\site-packages (from face-recognition)
Collecting face-recognition-models>=0.3.0 (from face-recognition)
Using cached https://files.pythonhosted.org/pack...f20224cf/face_recognition_models-0.3.0.tar.gz
Requirement already satisfied (use --upgrade to upgrade): Numpy in c:\users\ender\pycharmprojects\py2018\venv\lib\site-packages (from face-recognition)
Collecting dlib>=19.7 (from face-recognition)
Using cached https://files.pythonhosted.org/pack...4eec8f611e8512ee429ded2be/dlib-19.20.0.tar.gz
Installing collected packages: Face-recognition-models, dlib, face-recognition.
Running setup.py install for face-recognition-models: Started.
Running setup.py install for face-recognition-models: Finished with status 'done'
Running setup.py install for dlib: Started.
Running setup.py install for dlib: Finished with status 'error'
Complete output from command C:\Users\ender\PycharmProjects\Py2018\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\ender\\AppData\\Local\\Temp\\pycharm-packaging\\dlib\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\ender\AppData\Local\Temp\pip-7tevnk5l-record\install-record.txt --Single-version-externally-managed --compile --install-headers C:\Users\ender\PycharmProjects\Py2018\venv\include\site\python3.6\dlib:
Running install.
Running Build.
Running BUILD_PY.
Package init file 'dlib\__init__.py' not found (or not a regular file)
Warning: BUILD_PY: Byte-compiling is disabled, skipping.

Running BUILD_EXT.
Building extension for Python 3.6.4 (v3.6.4: D48eceb, dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)]
Invoking cmake setup: 'Cmake C:\Users\ender\AppData\Local\Temp\pycharm-packaging\dlib\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\ender\AppData\Local\Temp\pycharm-packaging\dlib\build\lib.win32-3.6 -DPYTHON_EXECUTABLE=C:\Users\ender\PycharmProjects\Py2018\venv\Scripts\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\ender\AppData\Local\Temp\pycharm-packaging\dlib\build\lib.win32-3.6'
-- Building for: Nmake makefiles.
-- The C compiler identification is unknown.
-- The CXX compiler identification is unknown.
Cmake error at CMakeLists.txt:3 (project):
The CMAKE_C_COMPILER:

CL.

Is not a Full path and was not found in the path.

To use the nmake generator with Visual C++, cmake must be run from a Shell.
That can use the compiler CL from the command line. This environment is.
Unable to invoke the CL compiler. To fix this problem, run cmake from the.
Visual Studio command prompt (vcvarsall.bat).

Tell cmake where to find the compiler by setting either the environment.
Variable "cc" or the cmake cache entry CMAKE_C_COMPILER to the Full path to.
The compiler, or to the compiler name if it is in the path.

Cmake error at CMakeLists.txt:3 (project):
The CMAKE_CXX_COMPILER:

CL.

Is not a Full path and was not found in the path.

To use the nmake generator with Visual C++, cmake must be run from a Shell.
That can use the compiler CL from the command line. This environment is.
Unable to invoke the CL compiler. To fix this problem, run cmake from the.
Visual Studio command prompt (vcvarsall.bat).

Tell cmake where to find the compiler by setting either the environment.
Variable "cxx" or the cmake cache entry CMAKE_CXX_COMPILER to the Full path.
To the compiler, or to the compiler name if it is in the path.

-- Configuring incomplete, errors occurred!
See also "C:/Users/ender/AppData/Local/Temp/pycharm-packaging/dlib/build/temp.win32-3.6/Release/CMakeFiles/CMakeOutput.log".
See also "C:/Users/ender/AppData/Local/Temp/pycharm-packaging/dlib/build/temp.win32-3.6/Release/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\ender\AppData\Local\Temp\pycharm-packaging\dlib\setup.py", line 261, in <module>
'Topic: Software development',
File "C:\Users\ender\PycharmProjects\Py2018\venv\lib\site-packages\setuptools-39.1.0-py3.6.egg\setuptools\__init__.py", line 129, in setup.
File "C:\Users\ender\AppData\Local\Programs\Python\Python36-32\lib\distutils\core.py", line 148, in setup.
dist.run_commands()
File "C:\Users\ender\AppData\Local\Programs\Python\Python36-32\lib\distutils\dist.py", line 955, in RUN_COMMANDS.
Self. RUN_COMMAND(CMD)
File "C:\Users\ender\AppData\Local\Programs\Python\Python36-32\lib\distutils\dist.py", line 974, in RUN_COMMAND.
cmd_obj.run()
File "C:\Users\ender\PycharmProjects\Py2018\venv\lib\site-packages\setuptools-39.1.0-py3.6.egg\setuptools\command\install.py", line 61, in run.
File "C:\Users\ender\AppData\Local\Programs\Python\Python36-32\lib\distutils\command\install.py", line 545, in run.
Self. RUN_COMMAND('BUILD')
File "C:\Users\ender\AppData\Local\Programs\Python\Python36-32\lib\distutils\cmd.py", line 313, in RUN_COMMAND.
Self. Distribution. RUN_COMMAND(COMMAND)
File "C:\Users\ender\AppData\Local\Programs\Python\Python36-32\lib\distutils\dist.py", line 974, in RUN_COMMAND.
cmd_obj.run()
File "C:\Users\ender\AppData\Local\Programs\Python\Python36-32\lib\distutils\command\build.py", line 135, in run.
Self. RUN_COMMAND(CMD_NAME)
File "C:\Users\ender\AppData\Local\Programs\Python\Python36-32\lib\distutils\cmd.py", line 313, in RUN_COMMAND.
Self. Distribution. RUN_COMMAND(COMMAND)
File "C:\Users\ender\AppData\Local\Programs\Python\Python36-32\lib\distutils\dist.py", line 974, in RUN_COMMAND.
cmd_obj.run()
File "C:\Users\ender\AppData\Local\Temp\pycharm-packaging\dlib\setup.py", line 135, in run.
Self. BUILD_EXTENSION(EXT)
File "C:\Users\ender\AppData\Local\Temp\pycharm-packaging\dlib\setup.py", line 172, in BUILD_EXTENSION.
Subprocess. CHECK_CALL(CMAKE_SETUP, CWD=BUILD_FOLDER)
File "C:\Users\ender\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 291, in CHECK_CALL.
Raise calledprocesserror(retcode, CMD)
Subprocess. Calledprocesserror: Command '['cmake', 'C:\\Users\\ender\\AppData\\Local\\Temp\\pycharm-packaging\\dlib\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\ender\\AppData\\Local\\Temp\\pycharm-packaging\\dlib\\build\\lib.win32-3.6', '-DPYTHON_EXECUTABLE=C:\\Users\\ender\\PycharmProjects\\Py2018\\venv\\Scripts\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\ender\\AppData\\Local\\Temp\\pycharm-packaging\\dlib\\build\\lib.win32-3.6']' returned non-Zero exit status 1.

----------------------------------------

Cache entry deserialization failed, entry ignored.
Command "C:\Users\ender\PycharmProjects\Py2018\venv\Scripts\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\ender\\AppData\\Local\\Temp\\pycharm-packaging\\dlib\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\ender\AppData\Local\Temp\pip-7tevnk5l-record\install-record.txt --Single-version-externally-managed --compile --install-headers C:\Users\ender\PycharmProjects\Py2018\venv\include\site\python3.6\dlib" failed with error code 1'in C:\Users\ender\AppData\Local\Temp\pycharm-packaging\dlib\
You are using pip version 8.1.1, however version 20.2B1 is available.
You should consider upgrading VIA the 'Python -m pip install --upgrade pip' command.

Arkadaşlar Python 3.6 ve PyCharm 2018 kullanıyorum. FACE_RECOGNITION modülünü indirmiyor. Yabancı forumlarda cmake+dlib indirildekten sonra sıkıntının çözüleceği yazıyor. Bu sefer de cmake indi fakat dlib inmiyor. 1 haftadır çözüm bulamadım yardımınıza ihtiyacım var. Şimdiden teşekkürler.
 
Son düzenleyen: Moderatör:
Son düzenleme:
Uyarı! Bu konu 6 yıl önce açıldı.
Muhtemelen daha fazla tartışma gerekli değildir ki bu durumda yeni bir konu başlatmayı öneririz. Eğer yine de cevabınızın gerekli olduğunu düşünüyorsanız buna rağmen cevap verebilirsiniz.

Technopat Haberler

Yeni konular

Geri
Yukarı