Skip to content

Python error #78

@yasermahmoudian

Description

@yasermahmoudian
      self.build_extension(ext)
    File "C:\Users\yaser\AppData\Local\Temp\pip-install-7gl0d2xc\dlib_123910d25b0b4c9388bb7764e1ceb6fc\setup.py", line 171, in build_extension
      subprocess.check_call(cmake_setup, cwd=build_folder)
    File "C:\Users\yaser\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 373, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\yaser\\AppData\\Local\\Temp\\pip-install-7gl0d2xc\\dlib_123910d25b0b4c9388bb7764e1ceb6fc\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\yaser\\AppData\\Local\\Temp\\pip-install-7gl0d2xc\\dlib_123910d25b0b4c9388bb7764e1ceb6fc\\build\\lib.win-amd64-3.9', '-DPYTHON_EXECUTABLE=C:\\Users\\yaser\\AppData\\Local\\Programs\\Python\\Python39\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\yaser\\AppData\\Local\\Temp\\pip-install-7gl0d2xc\\dlib_123910d25b0b4c9388bb7764e1ceb6fc\\build\\lib.win-amd64-3.9', '-A', 'x64']' 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: legacy-install-failure

× Encountered error while trying to install package.
╰─> dlib

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions