ImportError: No module named 'scipy'
質問:
解決:
Traceback (most recent call last):
File "/home/as/.pyenv/versions/3.4.2/bin/face_recognition", line 7, in <module>
from face_recognition.cli import main
File "/home/as/.pyenv/versions/3.4.2/lib/python3.4/site-packages/face_recognition/__init__.py", line 7, in <module>
from .api import load_image_file, face_locations, batch_face_locations, face_landmarks, face_encodings, compare_faces, face_distance
File "/home/as/.pyenv/versions/3.4.2/lib/python3.4/site-packages/face_recognition/api.py", line 3, in <module>
import scipy.misc
ImportError: No module named 'scipy'
解決:
pip install -U scipy