I have some problems when I try to run ti example after I do pip install in my computer that is Ubuntu 16.04.Like followings; Any suggestions?
Are you running on a virtual machine?
Please add a this line:
export TI_ENABLE_OPENGL=0
to your ~/.bashrc
, and restart the shell.
See https://taichi.readthedocs.io/en/stable/install.html#opengl-issues.
It has same problom when I try virtual machine and physics machine both. I add this line.New problem is AttributeError: module ‘taichi’ has no attribute ‘init’. How to solve this problem?
What’s your file name? taichi.py
?
fractal.py
Did you have any file name / dir name containing the word taichi
? What’s your taichi version?
Dir name is temp-test,it only contains fractal.py.taichi version is 0.6.7.
That’s strange, the problem here seems non-trivial. Could you raise an issue to report this on GitHub? Thanks!