USRA-STI / gdt-fermi

Gamma-ray Data Tools - Fermi mission components
Apache License 2.0
3 stars 7 forks source link

Error when running pip install -r gdt-fermi/requirements.txt #43

Closed lorenzoscotton closed 3 months ago

lorenzoscotton commented 3 months ago

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. astro-gdt-fermi 2.1.3 requires matplotlib>=3.9.1, but you have matplotlib 3.8.4 which is incompatible.

BillCleveland-USRA commented 3 months ago

What version of python are you using?

lorenzoscotton commented 3 months ago

Python 3.10.12

joshuarwood commented 3 months ago

It looks like this might only be an issue when installing from the requirements.txt file?

running pip3 install . installs matplotlib 3.9.1.post1 for me even if I roll the setup.py for gdt-fermi back to matplotlib 3.8.4. Also, we should update the requirements file to match the setup.py. I forgot to do that when updating the setup.py.

lorenzoscotton commented 3 months ago

Yup, I was installing from the requirements file. Setting matplotlib>=3.9.1 to match the setup.py solved the issue.

Thanks!