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

Error on running nosetests isochrones #192

Open pjjanas opened 5 months ago

pjjanas commented 5 months ago

I'm getting an error on running nosetests isochrones. The main issue that it is not finding the module imp. I followed all installation instructions thus far from the documentation page; creating new conda environment etc. Here's the traceback:

Traceback (most recent call last):
  File "/Users/pjjanas/anaconda3/envs/isochrones/bin/nosetests", line 6, in <module>
    from nose import run_exit
  File "/Users/pjjanas/anaconda3/envs/isochrones/lib/python3.12/site-packages/nose/__init__.py", line 1, in <module>
    from nose.core import collector, main, run, run_exit, runmodule
  File "/Users/pjjanas/anaconda3/envs/isochrones/lib/python3.12/site-packages/nose/core.py", line 12, in <module>
    from nose.loader import defaultTestLoader
  File "/Users/pjjanas/anaconda3/envs/isochrones/lib/python3.12/site-packages/nose/loader.py", line 21, in <module>
    from nose.importer import Importer, add_path, remove_path
  File "/Users/pjjanas/anaconda3/envs/isochrones/lib/python3.12/site-packages/nose/importer.py", line 12, in <module>
    from imp import find_module, load_module, acquire_lock, release_lock
ModuleNotFoundError: No module named 'imp'