No module named 'scipy._lib.six' import xrange #11340: xrange() was removed in Python 3 in favor of range() xrange被移除了,直接把xrange替换成range import string_types #11348: MAINT: remove six.string_types usages string_types被移除了,直接把string_types替换成str