Closed ignasivalles closed 4 years ago
Thanks for letting us know @ignasivalles! I hadn't encountered this issue myself yet, but good to be aware!
The python.org link suggests this is an issue with iphyton? Does this disappear if you don't run in jupyter/ipython but instead directly from the command line?
I run directly the program from the command line $ python parcels_program.py
and the problem It's still there. I don't know what may be, some kind of change regarding to AST module?. Are you running with python 3.8?
This seems to have fixed for now by specifically forcing python-3.6
on http://oceanparcels.org/#installing
Dear parcels crew
Just in case you're not aware... after updating parcels my script failed when I was adding my custom kernels:
where
sampT
,sampS
anddeleteout
aref(particle, fieldset, time)
the error message was:
I found this: https://bugs.python.org/issue35894
... so at the moment the problem disappears when I downgrade the python version into 3.7, specifying it when I create the conda environment:
conda create -n py3_parcels -c conda-forge python=3.7 parcels