然后执行出现了
File “pandas/_libs/src\numpy.pxd”, line 157, in init pandas._libs.tslib
AttributeError: module ‘numpy’ has no attribute ‘array’
报错信息。
纳闷了,代码怎么在命令行可以执行,在ide执行不了。
后来改了个文件名称,改为RandomNum.py就可以执行了。
注意要删干净
#python3 的print需要括号
然后执行出现了
File “pandas/_libs/src\numpy.pxd”, line 157, in init pandas._libs.tslib
AttributeError: module ‘numpy’ has no attribute ‘array’
报错信息。
纳闷了,代码怎么在命令行可以执行,在ide执行不了。
后来改了个文件名称,改为RandomNum.py就可以执行了。
注意要删干净
#python3 的print需要括号
找到路径helpers/packaging_tool.py,修改如下内容
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M