How can I use modelx-cython module? #98
Replies: 1 comment 5 replies
-
It seems like you attempted to execute Please be aware that |
Beta Was this translation helpful? Give feedback.
-
It seems like you attempted to execute Please be aware that |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am thrilled while reading the post about modelx-cython module?
After I read the post, I really want to try modelx-cython module to check the speed improvement.
However, I have some trouble during the test.
I write "sample.py" and "spec.py" ( I guess you may change the name "spec" to "config" since you commented as "config.py" in github )
I checked the library installation for 5 modules
modelx v0.23.0+, Cython v3.0.0+, setuptools, libcst, MonkeyType
install modelx-cython module using the code you gave "pip install modelx-cython"
and check that all the modules are installed (using pip list) -> version 0.0.4
finally, I try the code you showed, " mx2cy model "
however, there is an error code
mx2cy m_ex
^
SyntaxError: invalid syntax
also, when I tried to import the modelx-cython module, I faced another error code
SyntaxError: invalid syntax.
Could you recommend for this issue?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions