uiucsn / astro_ghost

Galaxies HOsting Supernovae and other Transients (GHOST): A database of supernovae and the photometric and spectroscopic properties of their host galaxies.
2 stars 6 forks source link

Cannot import astro_ghost library #6

Closed fforster closed 2 years ago

fforster commented 2 years ago

After running python setup.py install and trying to import the library I get:


Python 3.8.8 (default, Apr 13 2021, 19:58:26) 
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import astro_ghost
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/fforster/Dropbox/Work/astro_ghost/astro_ghost/__init__.py", line 3, in <module>
    from .version import __version__
ModuleNotFoundError: No module named 'astro_ghost.version'```
alexandergagliano commented 2 years ago

@fforster I've just updated both the repo and the pypi distribution with version 0.1.35, where I don't see this issue. I'll close this issue, but I'm happy to re-open it if you're still having this problem. Congrats again on the DELIGHT paper!