Python3: Cannot import dlib (But installed using conda)

余生颓废 提交于 2020-02-05 03:30:13

问题


I used conda install -c conda-forge dlib to successfully install dlib but when using import dlib I got ModuleNotFoundError

I don't want to go all the way to manually build dilb using pip install dlib as I saw a lot of people not having problem installing dlib from conda-forge.

I'm using python 3.6.2 though.


回答1:


Solved for now. It turns out that I didn't properly building and setting up Dlib library. I followed this tutorial and making sure that I am using Visual Studio 2015 update 3 (was using update 2 previously). Now It works using conda install -c conda-forge dlib=19.7



来源:https://stackoverflow.com/questions/48729329/python3-cannot-import-dlib-but-installed-using-conda

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!