Hello
Installing on my Debian bookworm setup using sudo pip install TLE-tools gave this error:
196 | #include "longintrepr.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Can't roll back astropy; was not uninstalled
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> astropy
to fix this I do the following:
sudo apt install astropy
cd ~
git clone https://github.com/FedericoStra/tletools.git
cd tletools
then edited setup.py and changed 'astropy>=3.2.0' to 'astropy>=5.2.1'' in the install_requires` section, saved the file then continued with:
sudo python setup.py install
It looks like the setup is choosing the old 3.2.1 version rather than that supplied by the debian install
Hope that helps someone
Karl
Hello
Installing on my Debian bookworm setup using
sudo pip install TLE-toolsgave this error:to fix this I do the following:
then edited
setup.pyand changed'astropy>=3.2.0'to'astropy>=5.2.1'' in theinstall_requires` section, saved the file then continued with:It looks like the setup is choosing the old 3.2.1 version rather than that supplied by the debian install
Hope that helps someone
Karl