Closed mmikhasenko closed 2 years ago
Seems that this is actually a problem in tensorwaves. In that case, you should have the same effect in the terminal:
conda env create --force # completely reset the compwa-org environment
pip install tensorwaves[jax,pwa]==0.4.5
Note that tensorwaves etc is not part of the default dependencies defined for the Conda environment. They are installed once a notebook is run. The Conda config for this repo just installs dev tools like jupyter lab, pre-commit and sphinx.
https://github.com/ComPWA/compwa-org/blob/6501662070e2a5f24d01894a24052d9bc78634c0/setup.cfg#L39-L98
My guess is that either jaxlib or TF (which comes in through pwa
) is not supported on Windows
88374c2 removes the need for ~TensorWaves~ TF (through phasespace
). Only problem: have to think how to render phase space times intensity in the 1D intensity plots. Previously, those were just 1D histograms, but the Dalitz plot is now a meshgrid, note a generated hit-and-miss phase space sample.
My guess is that either jaxlib or TF (which comes in through
pwa
) is not supported on Windows
See https://github.com/google/jax/issues/438. Since JAX is quite important in the notebooks, I recommend working with WSL2: https://docs.microsoft.com/en-us/windows/wsl/install
Did you get the numeric computations to work in WSL? If so, I'll close this issue.
Yes, it works great with WLS
Perfect!
Bug description
the line
causes the error
once I remove
jax
from thetensorwaves
options, it works.System info
I am on the
e73542d
commit ofpolarization-sensitivity
branch running the notebook017.ipynb
Bug resulted on the following system:
conda env create
from the project folder