After installing dlib in anaconda in a unique and newly created environment when I import it using python like
python import dlib it returns an error like shown
Traceback (most recent call last): File "", line 1, in File "F:\\Anaconda3\\envs\\py36dlib\\lib\\site-packages\\dlib_ init _.py", line 19, in from _dlib_pybind11 import * ImportError: DLL load failed while importing _dlib_pybind11: A dynamic link library (DLL) initialization routine failed.
import dlib Traceback (most recent call last): File "", line 1, in File "F:\\Anaconda3\\envs\\py36dlib\\lib\\site-packages\\dlib_ init _.py", line 19, in from _dlib_pybind11 import * ImportError: DLL load failed while importing _dlib_pybind11: A dynamic link library (DLL) initialization routine failed.
I have found solution for this it might be that your cpu doesnt support AVX so I install tensorflow from this custommade repository found on github link is here
I selected 1.12.0 for py 37 in that folder select py36 folder and cpu folder and download the file within sse2
cpu which doesn support download sse2 whl
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.