简体   繁体   中英

Cant pip install dlib

I have Cmake installed but when I try: pip install dlib I get the following error:

CMake Error at C:/Users/Aristo/AppData/Local/Temp/pip-install 4xetg9ok/dlib/dlib/external/pybind11/tools/FindPythonLibsNew.cmake:124 (message):
      Python config failure: Python is 32-bit, chosen compiler is 64-bit

You have to do three things

  1. Add cmake to your path (Ex: c\program Files\cmake\bin)
  2. pip install cmake
  3. pip install dlib

and done

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM