若显示1.15.0及以上版本,则该警告是numpy版本过高所带来的。降级numpy版本即可,如1.14.5等: pip uninstall numpy pip install numpy==1.14.5 参考 method