Closed berceanu closed 3 years ago
It seems the offending line is
from openpmd_viewer import ParticleTracker
Hi @berceanu
I know this error and it appears directly at loading from openpmd_viewer import ParticleTracker
so its not really related to synchrad
itself.
As far as I could get its related to the numba caching, and in particular to this option -- setting cache=False
should fix it, but its not a proper solution. Curiously, I've also found, that it is related to the way how openPMD_viewer
is installed, and it appears only when you do it via python setup.py install
. The reason could be that setuptools
does not set correctly the NUMBA_CACHE_DIR
. This error does not appear when openPMD_viewer
is installed via pip
The best way I've found to resolve this issue with local installation was to use pip install .
instead of python setup.py install
(or install it directly from pip
repository).
this problem has been there for a while and I've been using pip
to overcome it..
I am using
openPMD_viewer-1.0.1
.