Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python error #78

Open
yaserm222222 opened this issue Jul 20, 2022 · 0 comments
Open

Python error #78

yaserm222222 opened this issue Jul 20, 2022 · 0 comments

Comments

@yaserm222222
Copy link

      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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant