mtcnn
mtcnn copied to clipboard
No module named 'mtcnn.mtcnn'
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
Can you please post what Python version are you using? also information regarding the operating system, and if you are using anaconda or not.
I am Using -> Python 3.7.3 -> Linux Operating System -> Anaconda is installed I am Using anconda based environment for the project
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)?
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
pip install tensorflow
it seems they are not mtcnn from pypi but https://github.com/YYuanAnyVision/mxnet_mtcnn_face_detection
.
您的邮件已接收!