提问人:Abinash S 提问时间:11/16/2023 最后编辑:toyota SupraAbinash S 更新时间:11/16/2023 访问量:24
我导入了deepface,但它显示相同的错误
I imported deepface but it shows same error
问:
我将我的 colab python 版本从 3.10 转换为 3.7,然后由于一些错误分别安装 pip 和 distutils,然后导入 deepface,但 deepface 不起作用。
pip install deepface
import cv2
import os
import shutil
from pathlib import Path
from deepface import DeepFace
错误语句:
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-12-c741b845233b> in <cell line: 5>()
3 import shutil
4 from pathlib import Path
----> 5 from deepface import DeepFace
ModuleNotFoundError: No module named 'deepface'
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
答: 暂无答案
评论