python3 MemoryError: Unable to allocate 165. MiB for an array with shape ... ... 解决方法:把电脑打开的其它程序退出关了,减少占用内存资源,就可以了。