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

import error #6

Closed
ChengXiaoSi opened this issue Mar 6, 2024 · 2 comments
Closed

import error #6

ChengXiaoSi opened this issue Mar 6, 2024 · 2 comments

Comments

@ChengXiaoSi
Copy link

Dear developers
I get an error when I use from jaxfluids.simulation_manager import SimulationManager。The reson of this error is that from jax.config import config is used in /JAXFLUIDS/src/jaxfluids/simulation_manager.py.In fact, jax suggest using this way.
import jax jax.config.update(your_config_options_here)
Thank you!
image

@S-Yuan137
Copy link

S-Yuan137 commented Mar 28, 2024

Downgrading jax==0.4.24 from 0.4.25 works for me. No need to change the import header in simulation_manager.py

@ChengXiaoSi
Copy link
Author

Downgrading jax==0.4.24 from 0.4.25 works for me. No need to change the import header in simulation_manager.py

Thanks for your advice

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

3 participants