Jax is definitely installed, yet JaxSolver does not run #2722
-
Just as the title says, I can't seem to run JaxSolver() even with Jax installed. I tried the pybamm_install_jax, but that gives this: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Supported Lines 24 to 26 in 4f03df4 I think you are executing Also, I see that the docstring is a bit misleading. The docstring uses Lines 330 to 341 in 4f03df4 |
Beta Was this translation helpful? Give feedback.
Supported
jax
andjaxlib
versions:PyBaMM/pybamm/util.py
Lines 24 to 26 in 4f03df4
I think you are executing
pybamm_install_jax
in apython
file?pybamm_install_jax
should be executed in your terminal.Also, I see that the docstring is a bit misleading. The docstring uses
>>>
, misleading users into executing it in thepython
interpreter (a PR fixing it would be very welcome!) -PyBaMM/pybamm/util.py
Lines 330 to 341 in 4f03df4