Install dlib for Python (Windows)

I stumbled upon it soberly, so I will explain it with a lot of images. There may be unnecessary processes, but I will introduce the method that is sure to be done after trying various things. I would like to edit it gradually to reduce waste.

0. Premise

The environment is as follows. ・ Windows 10 Home 64 bit

1. Install Python

You can download it from the following. https://www.python.org/downloads/windows/

This time, install "Python 3.8.1 64bit" スクリーンショット (6)_LI.jpg

On the installation screen, check "Add Python 3.8 to PATH". (You can save the trouble of passing the pass) スクリーンショット (5)_LI.jpg

After the installation is complete, enter the following command at the command prompt.

python -V

If the version is displayed as shown below, the installation is completed successfully.

Python 3.8.1

If it says no response or is not installed, we recommend restarting the command prompt! If that doesn't work, restart your PC before trying!

2. Install CMake

Download the Visual Studio 2019 Community executable file from the following and start the installation https://visualstudio.microsoft.com/ja/downloads/

On this screen that will appear later, select "Desktop development with C ++". Select if "C ++ CMake Tool for Winsows" is not checked. スクリーンショット (23)_LI.jpg

After the installation is complete, start Visual Studio 2019. Select "Continue without code". スクリーンショット (25)_LI.jpg

Start the command prompt from "Tools> Command line> Developer command prompt" スクリーンショット (26).png

Enter the following at the command prompt that started.

cmake -version

If the version is displayed as shown below, the installation is completed successfully.

cmake version 3.15.19101501-MSVC_2

If it says no response or is not installed, we recommend restarting your PC!

3. Install dlib

Enter the following at the command prompt that was started earlier.

pip install dlib

Once the installation is complete, you should be able to use dlib safely! If that doesn't work, we recommend restarting the command prompt or PC!

Recommended Posts

Install dlib for Python (Windows)
Install Python (for Windows)
Windows10: Install python dlib library
Install python on windows
How to install Python [Windows]
Install watchdog on Windows + Python 3.3
Install Python and Flask (Windows 10)
Python 3.6 installation procedure [for Windows]
[Python] [Chainer] [Windows] Install Chainer on Windows
Python install in 2 lines @Windows
install python
Install Cheminformatics Tool RDKit for Python
Install python2.7 on windows 32bit environment
Install xgboost (python version) on Windows
Install Python on Windows + pip + virtualenv
Install Pytorch on Blender 2.90 python on Windows
Windows10: Install MeCab library in python
Install Python development environment on Windows 10
Install confluent-kafka for Python on Ubuntu
[Python Windows] pip install with Python version
2016-10-30 else for Python3> for:
Notes for using OpenCV on Windows10 Python 3.8.3.
Python on Windows
Solution for pip install error [Python] [Mac]
[50 counts] Key transmission using Python for Windows
[Kivy] How to install Kivy on Windows [Python]
"Python AI programming" starting from 0 for windows
python windows environment
Python installation (Windows)
Install Python locally
Install Python package management tool pip (Windows)
How to install Windows Subsystem For Linux
CentOS8 --Install --Python3
Install and run Python3.5 + NumPy + SciPy on Windows 10
Install Python3, numpy, pandas, matplotlib, etc. on Windows
(Windows) Causes and workarounds for UnicodeEncodeError on Python 3
Install OpenCV 4.0 and Python 3.7 on Windows 10 with Anaconda
Build procedure for TensorFlow 2.4.0 (Windows10, CUDA11.1.1, cuDNN 8.0.5, Python 3.8.6)
How to install Python for pharmaceutical company researchers
Install Python 3.5.1 + numpy + scipy + α in Windows environment
Image Processing with Python Environment Setup for Windows
[Python] How to install OpenCV on Anaconda [Windows]
Installing TensorFlow on Windows Easy for Python beginners
Install Python and libraries for Python on MacOS Catalina
Install ZIP version Python and pip on Windows 10
About Python for loops
Install python on WSL
Python basics ② for statement
How to install Python
Install Python on Pidora.
Install Scrapy on python3
python windows environment construction
Python installation method Windows
Install Python on Mac
How to install python
Install Python 3 on Mac
Install python from source
Install Python3.4 on CentOS 6.6
Install Python Jupyter lab
Install python external library
python textbook for beginners