timothydmorton / isochrones

Pythonic stellar model grid access; easy MCMC fitting of stellar properties
http://isochrones.readthedocs.org
MIT License
123 stars 63 forks source link

pip installs isochrones installs incompatible numpy #185

Closed stopsdj closed 1 year ago

stopsdj commented 1 year ago

After creating the isochrones conda environment on a Debian 10 system as per installation instructions I then try "pip install isochrones" which appears to uninstall numpy 1.21.5 (which would be OK with numba) and then install numpy 1.26.2 which it says is in conflict with numba (see below) Is this a problem with my old Debian/anaconda installation ?

Many Thanks

David

Installing collected packages: webencodings, asciitree, zipp, urllib3, tqdm, soupsieve, PyYAML, pyparsing, pycparser, pillow, packaging, numpy, more-itertools, kiwisolver, jeepney, idna, html5lib, fonttools, cycler, configobj, charset-normalizer, certifi, scipy, requests, pyerfa, jaraco.classes, importlib-metadata, emcee, contourpy, cffi, beautifulsoup4, matplotlib, cryptography, astropy, SecretStorage, pyvo, corner, keyring, astroquery, isochrones Attempting uninstall: numpy Found existing installation: numpy 1.21.5 Uninstalling numpy-1.21.5: Successfully uninstalled numpy-1.21.5 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. numba 0.55.1 requires numpy<1.22,>=1.18, but you have numpy 1.26.2 which is incompatible. Successfully installed PyYAML-6.0.1 SecretStorage-3.3.3 asciitree-0.3.3 astropy-5.3.4 astroquery-0.4.6 beautifulsoup4-4.12.2 certifi-2023.11.17 cffi-1.16.0 charset-normalizer-3.3.2 configobj-5.0.8 contourpy-1.2.0 corner-2.2.2 cryptography-41.0.5 cycler-0.12.1 emcee-3.1.4 fonttools-4.45.0 html5lib-1.1 idna-3.4 importlib-metadata-6.8.0 isochrones-2.1 jaraco.classes-3.3.0 jeepney-0.8.0 keyring-24.3.0 kiwisolver-1.4.5 matplotlib-3.8.2 more-itertools-10.1.0 numpy-1.26.2 packaging-23.2 pillow-10.1.0 pycparser-2.21 pyerfa-2.0.1.1 pyparsing-3.1.1 pyvo-1.4.2 requests-2.31.0 scipy-1.11.4 soupsieve-2.5 tqdm-4.66.1 urllib3-2.1.0 webencodings-0.5.1 zipp-3.17.0

stopsdj commented 1 year ago

Apologies, after updating everything it now works

David