Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

method call error #8002

Closed
DreadInside opened this issue May 14, 2023 · 3 comments
Closed

method call error #8002

DreadInside opened this issue May 14, 2023 · 3 comments
Assignees

Comments

@DreadInside
Copy link

(I use Google translate)
Hello, I am getting this error while importing taishi_hlsl.
P.S. I am not a programmer, I just wrote code according to the guide and ran into an error.
In my opinion, this does not look like what could have happened on my part, but I may be wrong.
Sorry if this is the case, I tried to find the root of the problem, but python doesn't report enough information,
so I can't find the file where Matrix is ​​originally declared to check its attributes

pygame 2.4.0 (SDL 2.26.4, Python 3.11.2)
Hello from the pygame community. https://www.pygame.org/contribute.html
[Taichi] version 1.6.0, llvm 15.0.1, commit f1c6fbb, win, python 3.11.2
[TaiGLSL] version 0.0.12
Traceback (most recent call last):
File "E:\Username\Crea\Programming\python\projects\tunel_shader\main.py", line 4, in
import taichi_glsl
File "C:\Users\Username\AppData\Local\Programs\Python\Python311\Lib\site-packages\taichi_glsl_init_.py", line 10, in
from .hack import *
File "C:\Users\Username\AppData\Local\Programs\Python\Python311\Lib\site-packages\taichi_glsl\hack.py", line 11, in
_old_element_wise_binary = ti.Matrix._element_wise_binary
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'Matrix' has no attribute '_element_wise_binary'

@bobcao3
Copy link
Collaborator

bobcao3 commented May 14, 2023

We no longer support Taichi GLSL

@DreadInside
Copy link
Author

Then is there any information anywhere what the latest version of taichi works with taich_GLSL?

@neozhaoliang neozhaoliang self-assigned this May 19, 2023
@neozhaoliang neozhaoliang moved this from Untriaged to Todo in Taichi Lang May 19, 2023
@neozhaoliang
Copy link
Contributor

neozhaoliang commented May 19, 2023

@DreadInside Hi, taichi_glsl is now a deprecated package; all its functionalities are moved to the taichi.math submodule: https://docs.taichi-lang.org/api/taichi/math/

@github-project-automation github-project-automation bot moved this from Todo to Done in Taichi Lang May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

4 participants