我已检查过我的磁盘中的文件与https://github.com/scipy/scipy/blob/master/scipy/misc/face.dat
相同scipy.misc.face()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\scipy\misc\common.py", line 567, in face
data = bz2.decompress(rawdata)
ValueError: couldn't find end of stream
答案 0 :(得分:1)
这是一个错误(在Windows上),请参阅此处
https://github.com/scipy/scipy/commit/7f0210fd28a2b3be79806d5cae462be52c1601e9