Advertisement
ctrlvfailed

dlib installation.

Feb 27th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. 1. Download CMake from here https://github.com/Kitware/CMake/releases/download/v3.17.0-rc1/cmake-3.17.0-rc1-win64-x64.msi and install it.
  2. 2. Ensure you add CMake to your PATH:
  3. Press Windows Start Button and search: "Edit the system Environment variables" and press enter. A window will pop up
  4. Click Environment Variables. Another window will pop up
  5. Double Click PATH(the one in capital letters)
  6. Click New and add "C:\Program Files\CMake\bin" but make sure that the bin folder is in C:\Program Files\CMake\bin in your laptop first
  7. Click Ok
  8. Double Click Path(the one in small letters)
  9. Click New and add "C:\Program Files\CMake\bin" but make sure that the bin folder is in C:\Program Files\CMake\bin in your laptop first
  10. Click Ok
  11. Click Ok again
  12. Click Ok again
  13. 3. Uninstall the current version of Python. Make sure you uninstall both Python Launcher and Python
  14. 4. Follow the same instructions you used to add CMake to PATH and PATH to remove Python from Path and PATH. In both PATHS python may have two variables. One ending in \Python3something and another ending in \Python3something\Scripts. Remove both of them. Press Ok until you exit.
  15. 5. Go to Command Prompt and type python and press enter. You should see a message telling you Python is not recognized.
  16. 6. Download Python3.6 here https://www.python.org/ftp/python/3.6.8/python-3.6.8-amd64.exe
  17. 7. When installing MAKE SURE YOU HAVE CHECKED THE TWO BOXES: ADD TO PATH and INSTALL FOR ALL USERS
  18. 8. Go to Command Prompt and type python and press enter. You should see no error message.
  19. 9. Go to https://github.com/davisking/dlib. Press the Download or Clone drop down button. Press download zip.
  20. 10. Extract the zip in your desktop.
  21. 11. Go to command prompt and change your path to Desktop
  22. 12. Change your working folder to dlib-master
  23. 13. Execute the following command "python setup.py install"
  24. 14. Dlib will take time to install.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement