If you cannot use pip to install the dlib library in Python 3.10 version, it may be due to one of the following reasons:
- Your version of Python does not support the dlib library. Please make sure your Python version is compatible with the version of the dlib library.
- Your version of pip does not support the dlib library. Please make sure your pip version is compatible with the version of dlib library.
- Your operating system does not support the dlib library. Please make sure your operating system is compatible with the version of the dlib library
The above is just a general situation, and there are many ways to say that you have not downloaded cmake or pip, and you need to use vs or conda to download. In fact, they are all wrong. The reason is that there is no online library of dlib 3.10 at all, so you can only
dlib-19.22.99-cp310-cp310-win_amd64.whl Download this, and then local pip install:
pip install dlib-19.22.99-cp310-cp310-win_amd64.whl
As shown below:
Then your import dlib will not be underlined.
But now this whl has to be charged everywhere, it is really against the sky, so I had to reluctantly buy it, and then put this on github, just download it yourself, if it helps, don’t ask for anything else, give a small star , thank you brothers and sisters
Or you can go to my homepage, the first one in the resources, and just unzip it. As for why you need to unzip it, because someone has already sent this file before, but I don’t need points for this one.