op: fix: ModuleNotFoundErrors during deployment and sample data loading (Telco churn data)#72
Open
fmoorhof wants to merge 2 commits intobusiness-science:masterfrom
Open
Conversation
with 'Load sample Telco churn data' LLM (Ollama): gpt-oss:20b
Author
|
Additionally to the deployment also the 'Load sample Telco chrin data' seems to require two additional dependencies (h2o and mlflow) not listed in the please see commit #6b65a97 for a suggested fix. these are the resulting error Tracebacks: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thanks for your exciting developments!
During deployment i had a small issue with a missing dependency and would hereby suggest a small and straightforward fix:
ModuleNotFoundError: No module named 'IPython'
The error was displayed in the Terminal as well as in the app in the browser which made its usage impossible
Traceback:
Solution
pip install ipython
(or adding it to requirements.txt directly)
my ipython version was 8.38.0, not sure if you want to pin it (>=8.38.0)...
The app now starts smoothly and also there are no further errors in the terminal
Installation and usage steps
pip install -e .
streamlit run apps/ai-pipeline-studio-app/app.py
My system
conda create -n ds-team python==3.10 -y
conda activate ds-team
python --version # Python 3.10.0
cat /etc/os-release