ipazc / mtcnn

MTCNN face detection implementation for TensorFlow, as a PIP package.
MIT License
2.18k stars 526 forks source link

No module named 'mtcnn.mtcnn' #68

Open NaeemKhan333 opened 4 years ago

NaeemKhan333 commented 4 years ago

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

ipazc commented 4 years ago

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

NaeemKhan333 commented 4 years ago

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

ipazc commented 4 years ago

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)?

MattyB95 commented 4 years ago

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

Er0r commented 3 years ago

pip install tensorflow

Younghyo commented 1 year ago

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

ladyshen commented 1 year ago

您的邮件已接收!