taichi_glsl icon indicating copy to clipboard operation
taichi_glsl copied to clipboard

AttributeError: module 'taichi' has no attribute 'pyfunc'

Open gknpezgssb opened this issue 3 years ago • 0 comments

[Taichi] version 0.8.12, llvm 10.0.0, commit 2cc32047, osx, python 3.8.2
[TaiGLSL] version 0.0.11
Traceback (most recent call last):
  File "demo-test.py", line 2, in <module>
    from taichi_glsl import *
  File "/Users/puffy/Library/Python/3.8/lib/python/site-packages/taichi_glsl/__init__.py", line 10, in <module>
    from .hack import *
  File "/Users/puffy/Library/Python/3.8/lib/python/site-packages/taichi_glsl/hack.py", line 37, in <module>
    @ti.pyfunc
  File "/Users/puffy/Library/Python/3.8/lib/python/site-packages/taichi/__init__.py", line 56, in __getattr__
    raise AttributeError(f"module '{__name__}' has no attribute '{attr}'")
AttributeError: module 'taichi' has no attribute 'pyfunc'

gknpezgssb avatar Feb 12 '22 02:02 gknpezgssb