Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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. Ensure you add CMake to your PATH:
- Press Windows Start Button and search: "Edit the system Environment variables" and press enter. A window will pop up
- Click Environment Variables. Another window will pop up
- Double Click PATH(the one in capital letters)
- 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
- Click Ok
- Double Click Path(the one in small letters)
- 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
- Click Ok
- Click Ok again
- Click Ok again
- 3. Uninstall the current version of Python. Make sure you uninstall both Python Launcher and Python
- 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.
- 5. Go to Command Prompt and type python and press enter. You should see a message telling you Python is not recognized.
- 6. Download Python3.6 here https://www.python.org/ftp/python/3.6.8/python-3.6.8-amd64.exe
- 7. When installing MAKE SURE YOU HAVE CHECKED THE TWO BOXES: ADD TO PATH and INSTALL FOR ALL USERS
- 8. Go to Command Prompt and type python and press enter. You should see no error message.
- 9. Go to https://github.com/davisking/dlib. Press the Download or Clone drop down button. Press download zip.
- 10. Extract the zip in your desktop.
- 11. Go to command prompt and change your path to Desktop
- 12. Change your working folder to dlib-master
- 13. Execute the following command "python setup.py install"
- 14. Dlib will take time to install.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement