pip list
Package Version
----------------------- ----------
absl-py 0.6.1
apptools 4.4.0
astor 0.7.1
certifi 2018.11.29
cGraph 0.1
chardet 3.0.4
Click 7.0
configobj 5.0.6
cx-Oracle 7.1.1
cycler 0.10.0
decorator 4.3.0
dlib 19.16.0
envisage 4.7.0
et-xmlfile 1.0.1
face-recognition 1.2.3
face-recognition-models 0.3.0
gast 0.2.1
graphviz 0.10.1
grpcio 1.17.1
h5py 2.9.0
idna 2.8
imageio 2.5.0
ipython-genutils 0.2.0
jdcal 1.4
jsonschema 2.6.0
jupyter-core 4.4.0
Keras-Applications 1.0.6
Keras-Preprocessing 1.0.5
kiwisolver 1.0.1
Markdown 3.0.1
matplotlib 3.0.2
mayavi 4.6.2
mglearn 0.1.7
mock 2.0.0
mpmath 1.1.0
mysql-connector 2.1.6
nbformat 4.4.0
networkx 2.2
numpy 1.16.1
opencv-python 3.4.5.20
openpyxl 2.5.12
pandas 0.23.4
patsy 0.5.1
pbr 5.1.2
Pillow 5.4.0
pip 19.3.1
plotly 3.5.0
protobuf 3.6.1
psycopg2-binary 2.7.6.1
pyface 6.0.0
pygame 1.9.4
Pygments 2.3.1
PyGreSQL 5.0.6
PyMySQL 0.9.3
pyparsing 2.3.0
PyQt4 4.11.4
PyQt5 5.11.3
PyQt5-sip 4.19.13
python-dateutil 2.7.5
pytz 2018.7
requests 2.21.0
retrying 1.3.3
scikit-learn 0.20.2
scipy 1.2.0
setuptools 40.6.3
six 1.12.0
SQLAlchemy 1.2.15
statsmodels 0.9.0
sympy 1.3
tensorboard 1.12.2
tensorflow 1.13.0rc1
tensorflow-estimator 1.13.0rc0
termcolor 1.1.0
traitlets 4.3.2
traits 4.6.0
traitsui 6.0.0
urllib3 1.24.1
vtk 8.1.2
Werkzeug 0.14.1
wheel 0.32.3
xlrd 1.2.0
xlwt 1.3.0
face-recognition和dlib都已成功安装。
(venv)C:\Users\XXX\PycharmProjects\py3\OpencvDemo>python
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import face_recognition
>>> face_recognition.load_image_file("obama.jpg")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'face_recognition' has no attribute 'load_image_file'
>>>
以前在Linux下可以的,后来换win10下出现问题了,有没有大神指点一下
Package Version
----------------------- ----------
absl-py 0.6.1
apptools 4.4.0
astor 0.7.1
certifi 2018.11.29
cGraph 0.1
chardet 3.0.4
Click 7.0
configobj 5.0.6
cx-Oracle 7.1.1
cycler 0.10.0
decorator 4.3.0
dlib 19.16.0
envisage 4.7.0
et-xmlfile 1.0.1
face-recognition 1.2.3
face-recognition-models 0.3.0
gast 0.2.1
graphviz 0.10.1
grpcio 1.17.1
h5py 2.9.0
idna 2.8
imageio 2.5.0
ipython-genutils 0.2.0
jdcal 1.4
jsonschema 2.6.0
jupyter-core 4.4.0
Keras-Applications 1.0.6
Keras-Preprocessing 1.0.5
kiwisolver 1.0.1
Markdown 3.0.1
matplotlib 3.0.2
mayavi 4.6.2
mglearn 0.1.7
mock 2.0.0
mpmath 1.1.0
mysql-connector 2.1.6
nbformat 4.4.0
networkx 2.2
numpy 1.16.1
opencv-python 3.4.5.20
openpyxl 2.5.12
pandas 0.23.4
patsy 0.5.1
pbr 5.1.2
Pillow 5.4.0
pip 19.3.1
plotly 3.5.0
protobuf 3.6.1
psycopg2-binary 2.7.6.1
pyface 6.0.0
pygame 1.9.4
Pygments 2.3.1
PyGreSQL 5.0.6
PyMySQL 0.9.3
pyparsing 2.3.0
PyQt4 4.11.4
PyQt5 5.11.3
PyQt5-sip 4.19.13
python-dateutil 2.7.5
pytz 2018.7
requests 2.21.0
retrying 1.3.3
scikit-learn 0.20.2
scipy 1.2.0
setuptools 40.6.3
six 1.12.0
SQLAlchemy 1.2.15
statsmodels 0.9.0
sympy 1.3
tensorboard 1.12.2
tensorflow 1.13.0rc1
tensorflow-estimator 1.13.0rc0
termcolor 1.1.0
traitlets 4.3.2
traits 4.6.0
traitsui 6.0.0
urllib3 1.24.1
vtk 8.1.2
Werkzeug 0.14.1
wheel 0.32.3
xlrd 1.2.0
xlwt 1.3.0
face-recognition和dlib都已成功安装。
(venv)C:\Users\XXX\PycharmProjects\py3\OpencvDemo>python
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import face_recognition
>>> face_recognition.load_image_file("obama.jpg")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'face_recognition' has no attribute 'load_image_file'
>>>
以前在Linux下可以的,后来换win10下出现问题了,有没有大神指点一下