Closed julama closed 2 years ago
Dear Julian,
thank you for your interest in PyRates! I suspect that this error is caused by a version conflict with pyparsing
, since the ExpressionParser
class inherits from pyparsing.ParserElement
.
Can you tell me which version you have installed in your Python environment? Personally, I am running PyRates with pyparsing == 2.4.6
without running into that issue. If that solves the problem, let me know so I can update our dependencies accordingly or make the ExpressionParser
compatible with the latest pyparsing
version.
Just as a heads-up: I am currently working on a larger upgrade to PyRates which will replace the current mathematical expression parsing with expression parsing based on sympy
besides other improvements. I expect to merge these changes into the master branch in January and upgrade the PyRates pypi version soon after.
Best, Richard
Dear Richard,
I downgraded pyparsing==3.0.6
to pyparsing==2.4.6
which resolved the issue.
Thank you for the quick help!
Dear Julian,
glad I could help! I will close this issue then.
Hi, I have an issue when running the example jansenrit.py. I'm using a conda environment and MacOS. Any ideas how to resolve the error?
Thank you