You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I can't run the app using alphastats gui from the current development branch. I get an error on the command line:
Traceback (most recent call last):
File "/Users/schessner/anaconda3/envs/alphastats_dev/bin/alphastats", line 5, in <module>
from alphastats.gui.gui import run
ModuleNotFoundError: No module named 'alphastats.gui.gui'
If I run streamlit run alphastats/gui/AlphaPeptStats.py instead, the app starts, but I get ModuleNotFound errors on all pages.
File "/Users/schessner/Documents/gitrepos/alphapeptstats/alphastats/gui/AlphaPeptStats.py", line 5, in <module>
from alphastats.gui.utils.ui_helper import (
ModuleNotFoundError: No module named 'alphastats.gui.utils'
Only if I run python -m streamlit run alphastats/gui/AlphaPeptStats.py the app runs correctly.
Important: Testing the individual pages via pytest succeeds.
To Reproduce
Do the above with the enclosed pip freeze brokenenv.txt at this commit state. I also checked older commits and this, which is prior to the recent refactoring, also does not work anymore, although it used to.
Version (please complete the following information):
OS: MacOS Sonoma 14.5
Installation Type: conda env, see pip freeze above, python 3.9
I also have the one-click installed version running, but this was not done right before the behaviour changed
The text was updated successfully, but these errors were encountered:
Describe the bug
I can't run the app using
alphastats gui
from the current development branch. I get an error on the command line:If I run
streamlit run alphastats/gui/AlphaPeptStats.py
instead, the app starts, but I get ModuleNotFound errors on all pages.Only if I run
python -m streamlit run alphastats/gui/AlphaPeptStats.py
the app runs correctly.This fix was found via a related issue on streamlit
Important: Testing the individual pages via
pytest
succeeds.To Reproduce
Do the above with the enclosed pip freeze brokenenv.txt at this commit state. I also checked older commits and this, which is prior to the recent refactoring, also does not work anymore, although it used to.
Version (please complete the following information):
The text was updated successfully, but these errors were encountered: