I recently installed anaconda to be able to install a couple of packages in an easier fashion. However, it seems that importing things in the conda env has messed things up.
For example, if I have a script 'data.py' that is very simply:
import xarray as xr
print('1')
And then run it as:
python3 data.py
I get the output '1'. However, if I now run a conda env as well as the script:
conda activate pyn_env && python3 data.py
I get the error:
double free or corruption (out)
[1] #### abort data.py
Any thoughts why this is happening? I should also note that if I change the 'xarray' import to numpy, I do not get this error. So it is not all packages, only certain ones.