-
-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Hello!
I am attempting to use IGRF through Google Colab. I am stymied by this error, as it seems to be an environmental issue, but I have been unable to resolve it despite many attempts. GCC, GFortran, Cmake, all the necessary dependencies are present in the environment when I check for them, and are up to date. Any insight into this issue would be greatly appreciated.
-----CODE------
#Install IGRF
!pip install igrf
#Run IGRF Example
import igrf
mag = igrf.igrf('2010-07-12', glat=65, glon=-148, alt_km=100)
-----OUTPUT------
CalledProcessError Traceback (most recent call last)
in ()
5
6 import igrf
----> 7 mag = igrf.igrf('2010-07-12', glat=65, glon=-148, alt_km=100)
8
3 frames
/usr/lib/python3.7/subprocess.py in check_call(*popenargs, **kwargs)
361 if cmd is None:
362 cmd = popenargs[0]
--> 363 raise CalledProcessError(retcode, cmd)
364 return 0
365
CalledProcessError: Command '['/usr/local/bin/ctest', '-S', '/usr/local/lib/python3.7/dist-packages/igrf/setup.cmake', '-VV']' returned non-zero exit status 255.