kmcluskey / FlyMet

A multi-omics web app for Drosophila tissues
MIT License
3 stars 0 forks source link

Missing loguru dependencies on Windows #31

Open joewandy opened 4 years ago

joewandy commented 4 years ago

A fresh installation of the Pipenv virtual environment throws the following error when trying to run manage.py

  File "C:\Users\joewa\.virtualenvs\FlyMet-fLQaCvEH\lib\site-packages\loguru\_file_sink.py", line 13, in <module>
    from ._ctime_functions import get_ctime, set_ctime
  File "C:\Users\joewa\.virtualenvs\FlyMet-fLQaCvEH\lib\site-packages\loguru\_ctime_functions.py", line 4, in <module>
    import win32_setctime
ModuleNotFoundError: No module named 'win32_setctime'

and

  File "C:\Users\joewa\.virtualenvs\FlyMet-fLQaCvEH\lib\site-packages\loguru\_colorama.py", line 25, in should_wrap
    from colorama.win32 import winapi_test
ModuleNotFoundError: No module named 'colorama'

Seems that the package win32_setctime and colorama are not installed as part of the loguru dependencies, for whatever reason.

joewandy commented 4 years ago

A workaround is to do manual pip/pipenv install of those two missing packages, but would be good if we can fix this properly.