import jittor as jt
a = jt.float32([1,2,3])
print (a)
print (a.data)
通过#274 修复该问题
之后继续执行上述安装命令:会出现RuntimeError: [f 1030 00:32:43.080000 64 py_obj_holder.h:36] numpy is not installed
通过numpy降级解决,请勿安装最新版本numpy==1.21.3,降级为1.20.3解决该问题,实测1.21.2也行。
继续执行上述安装命令:出现ImportError: cannot import name '_imaging' from 'PIL' (E:\anaconda3\envs\jittor\lib\site-packages\PIL__init__.py),通过Pillow降级解决,请勿安装最新版本Pillow==8.4.0,降级为8.3.2解决。
Describe the bug
1.根据官网执行命令,出现error C2065: 'M_PI': undeclared identifier报错
当然运行如下测试代码依旧会报上述错误
Full Log