i installed taichi using conda today, no cuda version, when i run your demo code in your wechat article, i got:
Traceback (most recent call last):
File “taichi.py”, line 1, in
import taichi as ti
File “/Users/furen/codes/3rd_party/taichi.py”, line 11, in
x = ti.Vector(2, dt=ti.f32, shape=n_particles) # position
AttributeError: module ‘taichi’ has no attribute ‘Vector’
This is a weird behavior - after importing Taichi you should see an output like
[Taichi version 0.3.20, cuda 10.0, commit dd5cb5ab]
Do you have a similar line in your outputs? Also please let me know if you have previously installed taichi. It seems to be a version conflict… Thanks for your patience
Taichi is trying to create a Window for visualization yet your env does not have GUI. I guess you are probably using ssh. Please use ssh -XY for X11 forwarding.