facenet-pytorch
facenet-pytorch copied to clipboard
Installation issue
Its working well on windows 10 using anaconda i am doing everything right. But when i started deployment of my app on ubuntu server using Flask
from facenet_pytorch import MTCNN, InceptionResnetV1 ModuleNotFoundError: No module named 'facenet_pytorch'
this error comes, even i have installed the facenet-pytorch library.
i followed following steps, 1 - CPU only conda install pytorch torchvision cpuonly -c pytorch
2-pip install facenet-pytorch
Kindly need a quick fix to this. Thanks
I am also seeing this on MacOS. Have you found a solution @ashir-sirius ?
pip install facenet-pytorch
> python
Python 3.9.12 (main, Mar 26 2022, 15:51:15)
[Clang 13.1.6 (clang-1316.0.21.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import facenet_pytorch
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'facenet_pytorch'
>>>
Aah false alarm, my virtual environments got messed up.