大佬教程收集整理的这篇文章主要介绍了Conda&dlib: ImportError: DLL load failed while importing _dlib_pybind11: 动态链接库 (DLL) 初始化例程失败,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我看到类似(实际上相同)的问题 here 和 here。但没有任何建议对我有用......所以我工作:
我所做的一切 - 创建 env 并安装 dlib:
(dlib) C:\Users\Vasil>conda install dlib
CollecTing package Metadata (current_repodata.Json): done
Solving environment: done
## Package Plan ##
environment LOCATIOn: D:\Games\conda\envs\dlib
added / updated specs:
- dlib
The following NEW packages will be INSTALLED:
dlib conda-forge/win-64::dlib-19.21.1-py38h082dfc2_0
intel-openmp conda-forge/win-64::intel-openmp-2020.3-h57928b3_311
jpeg conda-forge/win-64::jpeg-9d-h8ffe710_0
libblas conda-forge/win-64::libblas-3.9.0-8_mkl
libcblas conda-forge/win-64::libcblas-3.9.0-8_mkl
liblapack conda-forge/win-64::liblapack-3.9.0-8_mkl
libpng conda-forge/win-64::libpng-1.6.37-h1d00b33_2
mkl conda-forge/win-64::mkl-2020.4-hb70f87d_311
numpy conda-forge/win-64::numpy-1.20.1-py38h0cc643e_0
zlib conda-forge/win-64::zlib-1.2.11-h62dcd97_1010
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
ExecuTing transaction: done
(dlib) C:\Users\Vasil>python
Python 3.8.8 | packaged by conda-forge | (default,Feb 20 2021,15:50:08) [MSC v.1916 64 bit (AMD64)] on win32
Type "Help","copyright","credits" or "license" for more information.
>>> import dlib
TraceBACk (most recent call last):
file "<stdin>",line 1,in <module>
file "D:\Games\conda\envs\dlib\lib\site-packages\dlib\__init__.py",line 19,in <module>
from _dlib_pybind11 import *
importError: DLL load Failed while imporTing _dlib_pybind11: A dynamic link library (DLL) initialization routIne Failed.
因此所有遇到此问题的人都已成功安装并且从未运行 dlib。请帮助解决这个问题。
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)
以上是大佬教程为你收集整理的Conda&dlib: ImportError: DLL load failed while importing _dlib_pybind11: 动态链接库 (DLL) 初始化例程失败全部内容,希望文章能够帮你解决Conda&dlib: ImportError: DLL load failed while importing _dlib_pybind11: 动态链接库 (DLL) 初始化例程失败所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。