C:\Users\USER\Desktop\myproject_2>pip freeze > requirements.txt
WARNING: Ignoring invalid distribution ~treamlit (C:\Users\USER\anaconda_3\Lib\site-packages)
C:\Users\USER\Desktop\myproject_2>pip install -r requirements.txt
WARNING: Ignoring invalid distribution ~treamlit (C:\Users\USER\anaconda_3\Lib\site-packages)
Processing c:\b\abs_74o47svlua\croot\aiobotocore_1680004300264\work (from -r requirements.txt (line 1))
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: ‘C:\b\abs_74o47svlua\croot\aiobotocore_1680004300264\work’
[ UTC ] Logs for [foodmart-ry5a2pyq8leuj9kd9wahke.streamlit.app/](http://foodmart-ry5a2pyq8leuj9kd9wahke.streamlit.app/)
────────────────────────────────────────────────────────────────────────────────────────
[14:48:17] 🖥 Provisioning machine...
[14:48:17] 🎛 Preparing system...
[14:48:17] ⛓ Spinning up manager process...
[14:48:12] 🚀 Starting up repository: 'foodmart', branch: 'main', main module: 'streamlit_app.py'
[14:48:12] 🐙 Cloning repository...
[14:48:13] 🐙 Cloning into '/mount/src/foodmart'...
[14:48:13] 🐙 Cloned repository!
[14:48:13] 🐙 Pulling code changes from Github...
[14:48:14] 📦 Processing dependencies...
──────────────────────────────────────── uv ───────────────────────────────────────────
Using uv pip install.
Using Python 3.11.11 environment at /home/adminuser/venv
error: Distribution not found at: file:///C:/b/abs_74o47svlua/croot/aiobotocore_1680004300264/work
Checking if Streamlit is installed
────────────────────────────────────────────────────────────────────────────────────────
──────────────────────────────────────── pip ───────────────────────────────────────────
Using standard pip install.
Processing /C:/b/abs_74o47svlua/croot/aiobotocore_1680004300264/work (from -r /mount/src/foodmart/requirements.txt (line 1))
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/C:/b/abs_74o47svlua/croot/aiobotocore_1680004300264/work'
[notice] A new release of pip is available: 24.0 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
Checking if Streamlit is installed
────────────────────────────────────────────────────────────────────────────────────────
[14:48:17] ❗️ installer returned a non-zero exit code
[14:48:17] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
I’m not sure. It looks like it’s trying to install something with a Windows path. Community Cloud is Linux. However, it is pointing to line one of requirements.txt, which is just altair.
As a test, try removing as many things from your requirements file as possible so pip can resolve the dependencies automatically. From a glance, maybe something as little as:
────────────────────────────────────────────────────────────────────────────────────────
[14:21:02] 📦 Processed dependencies!
cat: /mount/admin/install_path: No such file or directory
────────────────────── Traceback (most recent call last) ───────────────────────
/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptru
nner/exec_code.py:88 in exec_func_with_error_handling
/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptru
nner/script_runner.py:579 in code_to_exec
/mount/src/data-intelligence-dashboard/app.py:3 in <module>
1 import streamlit as st
2 import pandas as pd
❱ 3 import matplotlib.pyplot as plt
4 import seaborn as sns
5
6 # Define your columns list
────────────────────────────────────────────────────────────────────────────────
ModuleNotFoundError: No module named 'matplotlib'
2025-01-02 14:21:35.195 Uncaught app execution
Traceback (most recent call last):
File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
^^^^^^
File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.__dict__)
File "/mount/src/data-intelligence-dashboard/app.py", line 3, in <module>
import matplotlib.pyplot as plt
ModuleNotFoundError: No module named 'matplotlib'
────────────────────── Traceback (most recent call last) ───────────────────────
/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptru
nner/exec_code.py:88 in exec_func_with_error_handling
/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptru
nner/script_runner.py:579 in code_to_exec
/mount/src/data-intelligence-dashboard/app.py:3 in <module>
1 import streamlit as st
2 import pandas as pd
❱ 3 import matplotlib.pyplot as plt
4 import seaborn as sns
5
6 # Define your columns list
────────────────────────────────────────────────────────────────────────────────
ModuleNotFoundError: No module named 'matplotlib'
2025-01-02 14:26:01.035 Uncaught app execution
Traceback (most recent call last):
File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
^^^^^^
File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.__dict__)
File "/mount/src/data-intelligence-dashboard/app.py", line 3, in <module>
import matplotlib.pyplot as plt
ModuleNotFoundError: No module named 'matplotlib'
2025-01-02 14:26:01.093 503 GET /script-health-check (127.0.0.1) 71.56ms
[14:26:01] ❗️
────────────────────── Traceback (most recent call last) ───────────────────────
/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptru
nner/exec_code.py:88 in exec_func_with_error_handling
/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptru
nner/script_runner.py:579 in code_to_exec
/mount/src/data-intelligence-dashboard/app.py:3 in <module>
1 import streamlit as st
2 import pandas as pd
❱ 3 import matplotlib.pyplot as plt
4 import seaborn as sns
5
6 # Define your columns list
────────────────────────────────────────────────────────────────────────────────
ModuleNotFoundError: No module named 'matplotlib'
2025-01-02 14:26:06.019 Uncaught app execution
Traceback (most recent call last):
File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
^^^^^^
File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.__dict__)
File "/mount/src/data-intelligence-dashboard/app.py", line 3, in <module>
import matplotlib.pyplot as plt
ModuleNotFoundError: No module named 'matplotlib'
2025-01-02 14:26:06.187 503 GET /script-health-check (127.0.0.1) 175.06ms
────────────────────── Traceback (most recent call last) ───────────────────────
/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptru
nner/exec_code.py:88 in exec_func_with_error_handling
/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptru
nner/script_runner.py:579 in code_to_exec
/mount/src/data-intelligence-dashboard/app.py:3 in <module>
1 import streamlit as st
2 import pandas as pd
❱ 3 import matplotlib.pyplot as plt
4 import seaborn as sns
5
6 # Define your columns list
────────────────────────────────────────────────────────────────────────────────
ModuleNotFoundError: No module named 'matplotlib'
2025-01-02 14:26:11.078 Uncaught app execution
Traceback (most recent call last):
File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
^^^^^^
File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.__dict__)
File "/mount/src/data-intelligence-dashboard/app.py", line 3, in <module>
import matplotlib.pyplot as plt
ModuleNotFoundError: No module named 'matplotlib'
2025-01-02 14:26:11.204 503 GET /script-health-check (127.0.0.1) 132.35ms
Attached are the logs for reviews
(Attachment logs-bodundeft-data-intelligence-dashboard-main-app.py-2025-01-02T14_26_50.162Z.txt is missing)