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

win 10 python 3.8.10 #1

Closed
lshengjian opened this issue Dec 2, 2021 · 2 comments
Closed

win 10 python 3.8.10 #1

lshengjian opened this issue Dec 2, 2021 · 2 comments

Comments

@lshengjian
Copy link

File "D:\apps\Python38\lib\site-packages\taichi\lang\impl.py", line 450, in make_constant_expr
raise ValueError(f'Invalid constant scalar expression: {type(val)}')
ValueError: Invalid constant scalar expression: <class 'list'>

@erizmr
Copy link
Owner

erizmr commented Dec 2, 2021

hi, could you please provide the full error information?
BTW, which Taichi version did you use?

@erizmr
Copy link
Owner

erizmr commented Dec 3, 2021

@lshengjian Thanks for reporting this. The issue is caused by a minor behavior change after Taichi AST refactor. The code has been updated to fit the latest Taichi version. Please try to use the updated code.

@erizmr erizmr closed this as completed Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants