aymeric-spiga / mcd-python

python routines to access the Mars Climate Database
GNU General Public License v2.0
17 stars 5 forks source link

'Internal Error: get_unit(): Bad internal unit KIND' #29

Closed aymeric-spiga closed 6 years ago

aymeric-spiga commented 6 years ago

by Alex Siddle

aymeric-spiga commented 6 years ago

didn’t have the gcc python package installed.

jorgehb commented 6 years ago

I had the same issue, with a different cause and different solution.

I had succesfully installed the mcd_pytthon, but by accident I deleted all the files. When I tried to reinstall it compiled, but this error showed at execution time.

Apparently the dirty uninstallation (I had deleted the files by accident) left something in anaconda environment files. I solved it by compiling in a fresh anaconda enronment, like shown here: https://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/20/conda/

Now I am working on try to get it to work in the original environment, but at least this solved the error and I can run the MCD.