错误解决:FutureWarning: Passing (type, 1) or ‘1type‘ as a synonym of type is deprecated; in a future ver

出错原因 numpy版本太高

解决方法一:直接 pip install numpy==1.16.0

解决方法二:pycharm改设置
错误解决:FutureWarning: Passing (type, 1) or ‘1type‘ as a synonym of type is deprecated; in a future ver_第1张图片
错误解决:FutureWarning: Passing (type, 1) or ‘1type‘ as a synonym of type is deprecated; in a future ver_第2张图片第三种方法 :
错误解决:FutureWarning: Passing (type, 1) or ‘1type‘ as a synonym of type is deprecated; in a future ver_第3张图片

你可能感兴趣的:(知识_问题_专栏,python,人工智能,bug)