mtcnn icon indicating copy to clipboard operation
mtcnn copied to clipboard

No module named 'mtcnn.mtcnn'

Open NaeemKhan333 opened this issue 5 years ago • 7 comments

I have installed mtcnn module using

pip install mtcnn

But it still giving me following error ModuleNotFoundError: No module named 'mtcnn.mtcnn'; 'mtcnn' is not a package

NaeemKhan333 avatar Nov 30 '19 19:11 NaeemKhan333

Can you please post what Python version are you using? also information regarding the operating system, and if you are using anaconda or not.

ipazc avatar Dec 02 '19 22:12 ipazc

I am Using -> Python 3.7.3 -> Linux Operating System -> Anaconda is installed I am Using anconda based environment for the project

NaeemKhan333 avatar Dec 03 '19 06:12 NaeemKhan333

I could not reproduce this issue in a linux environment from scratch with Anaconda and Python 3.7. Could it be you installed mtcnn with a different pip version (one outside of your anaconda scope)?

ipazc avatar Dec 03 '19 09:12 ipazc

How are you importing the module? from mtcnn.mtcnn import MTCNN seems to be outdated in the latest version and should be from mtcnn import MTCNN

MattyB95 avatar Dec 03 '19 11:12 MattyB95

pip install tensorflow

Er0r avatar May 06 '21 11:05 Er0r

it seems they are not mtcnn from pypi but https://github.com/YYuanAnyVision/mxnet_mtcnn_face_detection.

Younghyo avatar Jan 21 '23 03:01 Younghyo

您的邮件已接收!

ladyshen avatar Jan 21 '23 03:01 ladyshen