Hey yall, I’m so lost. Everything works locally but when deploying geopandas won’t install even though I’ve installed it.
I’ve tried it with a requirements.txt instead of environment.yml but I’m on a newer Mac with an M3 chip so I’m using Conda to better handle dependencies. I am fairly new to all this so appreciate any guidance around this topic and other tips on how to deal with the issues new macs run into in this realm.
TYIA!
- Link to the public app (deployed on Community Cloud): https://usa-health-disparity.streamlit.app/
- GitHub repository: Predicting-Health-Disparity/environment.yml at main · erankova/Predicting-Health-Disparity · GitHub
- Full text of the error message:
ModuleNotFoundError: No module named 'geopandas'
────────────────────── Traceback (most recent call last) ───────────────────────
/home/adminuser/.conda/lib/python3.11/site-packages/streamlit/runtime/script runner/script_runner.py:600 in _run_script
/mount/src/predicting-health-disparity/src/deployment.py:5 in <module>
2 import pickle
3 import pandas as pd
4 import json
❱ 5 import geopandas as gpd
6 from shapely import wkt
7 import numpy as np
8 import random
- Streamlit and Python versions: Streamlit, version 1.34.0, Python 3.12.3