Hi
I am trying to install SpiceyPy on a Pi4 running Ubuntu
i get a compilation error
Error: compilation of shared spice.so build exit status: (‘256’,)
is it a limitation of the PI or is it that i missing some other software to compile it
thank you for any help
Using cached spiceypy-3.1.1.tar.gz (262 kB)
Requirement already satisfied: numpy>=1.17.0 in /usr/local/lib/python3.8/dist-packages (from spiceypy) (1.19.4)
Building wheels for collected packages: spiceypy
Building wheel for spiceypy (setup.py) … error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-of4xyfud/spiceypy_efafb97d7eb046a598d5cc7afa5f98b9/setup.py’"’"’; file=’"’"’/tmp/pip-install-of4xyfud/spiceypy_efafb97d7eb046a598d5cc7afa5f98b9/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ bdist_wheel -d /tmp/pip-wheel-25si54up
cwd: /tmp/pip-install-of4xyfud/spiceypy_efafb97d7eb046a598d5cc7afa5f98b9/
Complete output (17 lines):
running bdist_wheel
running build
running build_py
Checking the path /tmp/pip-install-of4xyfud/spiceypy_efafb97d7eb046a598d5cc7afa5f98b9/cspice
Unable to find CSPICE at /tmp/pip-install-of4xyfud/spiceypy_efafb97d7eb046a598d5cc7afa5f98b9/cspice. Attempting to Download CSPICE For you:
Gathering information…
SYSTEM: Linux
PROCESSOR: aarch64
MACHINE: 64bit
Downloading CSPICE for PC_Linux_GCC_64bit…
Unpacking… (this may take some time!)
Host OS: Linux
/usr/bin/ld: F77_aloc.o: Relocations in generic ELF (EM: 62)
/usr/bin/ld: F77_aloc.o: Relocations in generic ELF (EM: 62)
/usr/bin/ld: F77_aloc.o: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
Error: compilation of shared spice.so build exit status: (‘256’,)