I followed the step how to install dlib python
on Windows and it works on CMD
but in Python's IDE
it said ImportError: No module named 'dlib'
There are 3 important steps to make it work.
Install Cmake Cmake download Link and add Path environment variable to its bin eg: C:/ProgramFiles/cmake/bin
Download Visual Studio Built Tools which will be around 4.56 GB Visual Studio Built Tools Link
Then use cmd to install dlib using
pip install dlib
This will do the job....