[英]What is Dlib Module Error in python-OpenCV?
In python, i have written the below code. 在python中,我编写了以下代码。
import dlib
import cv2
import numpy as np
ImportError: Module use of python35.dll conflicts with this version of
Python.
Please help with the mismatched dll file 请帮助与不匹配的dll文件
Ideally, you should install everything in a virtual environment. 理想情况下,应将所有内容安装在虚拟环境中。 Please follow the below steps and you should be able to get going.
请按照以下步骤操作,您应该可以开始使用。
Create Virtual Environment - conda create --name opencv-env python=3.7
创建虚拟环境
conda create --name opencv-env python=3.7
Activate Environment - acitivate opencv-env
激活环境-
acitivate opencv-env
Install required packages pip install numpy scipy matplotlib scikit-learn jupyter pip install opencv-contrib-python cmake pip install dlib
安装所需的软件包
pip install numpy scipy matplotlib scikit-learn jupyter pip install opencv-contrib-python cmake pip install dlib
For a more detailed instructions look at this tutorial 有关更详细的说明,请参阅本教程
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.