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

pymodpde.py symbol.Symbol not recognised with latest sympy version #26

Open
ross1234 opened this issue May 19, 2022 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@ross1234
Copy link

ross1234 commented May 19, 2022

I am pymodpde in google corroboratory, with the latest version of sympy (v1.10.1).

In pymodpde.py, the sympy module is importing ok (line 14: from sympy import * ), however line 32 symbol.Symbol is not recognised.

I have found that rolling back to sympy version (v1.5.1), by running:
!pip install --user sympy==1.5.1

allows all references to "symbol.Symbol" in the pymodpde.py script to be recognised.

Looks like the pymodpde.py needs to be updated for the latest sympy version, or hard-code in a !pip install --user sympy==1.5.1 as an interpm fix.

thanks

@ross1234 ross1234 changed the title sympy not importing pymodpde.py symbol.Symbol not recognised with latest sympy version May 20, 2022
@mk-95
Copy link
Collaborator

mk-95 commented May 21, 2022

Thank you for submitting this issue!
With the PyModPDE v1.1.0, I upgraded the version of all the dependencies and allowed for the installation of pymodpde using pip.

@mk-95 mk-95 added the enhancement New feature or request label May 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants