taichi-dev / taichi_three

A soft renderer based on Taichi (work in progress)
https://t3.142857.red/
MIT License
223 stars 24 forks source link

Error at import #51

Open Dr-How opened 2 years ago

Dr-How commented 2 years ago
[Taichi] version 0.9.2, llvm 10.0.0, commit 7a4d73cd, osx, python 3.9.10
[Tina] version 0.1.1
Traceback (most recent call last):
  File "/Users/haochen/Library/CloudStorage/Dropbox/Projects/Taichi/tina-test.py", line 2, in <module>
    import tina
  File "/usr/local/lib/python3.9/site-packages/tina/__init__.py", line 22, in <module>
    from .hacker import *
  File "/usr/local/lib/python3.9/site-packages/tina/hacker.py", line 8, in <module>
    and f(x, y, z))(ti.Matrix.element_wise_writeback_binary)) or setattr(
AttributeError: type object 'Matrix' has no attribute 'element_wise_writeback_binary'
myheathcliff commented 2 years ago

Have you solved this problem? I have the same problem too

archibate commented 2 years ago

Downgrade Taichi to 0.6.8 may help the problem.

ritchesc commented 2 years ago

I encounter the same issue.