Face_Recognition_System
Face_Recognition_System copied to clipboard
Dependency version conflicts
As per the description librarys are installed Enroll face py works just find but the cpu version throws error in standard run, errors print_info=true and none
kindly share the exact dependencies or file version so i can test the same
Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [37 lines of output] -- Building for: Visual Studio 16 2019 CMake Error at CMakeLists.txt:15 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred!
Traceback (most recent call last):
File "<string>", line 2, in <module>
exec(compile('''
~~~~^^^^^^^^^^^^
# This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<32 lines>...
exec(compile(setup_py_code, filename, "exec"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
''' % ('C:\\Users\\SAM\\AppData\\Local\\Temp\\pip-install-w0n85dqz\\sentencepiece_8497856b28db4a0b9d53183e17c4adea\\setup.py',), "<pip-setuptools-caller>", "exec"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<pip-setuptools-caller>", line 35, in <module>
File "C:\Users\SAM\AppData\Local\Temp\pip-install-w0n85dqz\sentencepiece_8497856b28db4a0b9d53183e17c4adea\setup.py", line 128, in <module>
subprocess.check_call([
~~~~~~~~~~~~~~~~~~~~~^^
'cmake',
^^^^^^^^
...<6 lines>...
'-DCMAKE_INSTALL_PREFIX=build\\root',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
])
^^
File "C:\ProgramData\anaconda3\Lib\subprocess.py", line 419, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'sentencepiece', '-A', 'x64', '-B', 'build', '-DSPM_ENABLE_SHARED=OFF', '-DCMAKE_INSTALL_PREFIX=build\\root']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.
(base) C:\Users\SAM\Downloads\Face_Recognition_System>python face_recognition-gpu.py
Traceback (most recent call last):
File "C:\Users\SAM\Downloads\Face_Recognition_System\face_recognition-gpu.py", line 1, in