zblz / naima

Derivation of non-thermal particle distributions through MCMC spectral fitting
http://naima.readthedocs.io
BSD 3-Clause "New" or "Revised" License
43 stars 54 forks source link

python3.12 bug #231

Open cxwx opened 1 month ago

cxwx commented 1 month ago
  File "/opt/homebrew/lib/python3.12/site-packages/naima/__init__.py", line 19, in <module>
    from .version import get_version
  File "/opt/homebrew/lib/python3.12/site-packages/naima/version.py", line 1, in <module>
    from pkg_resources import DistributionNotFound, get_distribution
ImportError: cannot import name 'DistributionNotFound' from 'pkg_resources' (unknown location)

ImportError: cannot import name 'DistributionNotFound' from 'pkg_resources' (unknown location)

platform macos 14.4 python3.12 do not have pkg_resources/init.py