Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: simplify python environment #5

Open
pareyesv opened this issue Dec 3, 2024 · 2 comments
Open

chore: simplify python environment #5

pareyesv opened this issue Dec 3, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@pareyesv
Copy link
Collaborator

pareyesv commented Dec 3, 2024

The goal is to run the app in Streamlit cloud.

  • Migrate to requirements.txt (instead of environment.yml)
  • Delete unnecessary dependencies:
    • black
    • flake8
    • isort
    • mkdocs
@pareyesv pareyesv changed the title feat: simplify python environment chore: simplify python environment Dec 3, 2024
@pareyesv pareyesv self-assigned this Dec 3, 2024
pareyesv pushed a commit that referenced this issue Dec 3, 2024
@pareyesv
Copy link
Collaborator Author

pareyesv commented Dec 3, 2024

The following

typer
loguru
tqdm
streamlit
streamlit-folium
folium
shapely
pyproj
pandas
geopandas
plotly
prophet
python-dotenv
-e .

manages to install all the packages needed in python 3.12, for Streamlit Cloud.

Then, the error is, of course, that the data files are not available

FileNotFoundError: [Errno 2] No such file or directory: 

'/mount/src/streamlit-idealista/data/processed/dtypes-coupled.json'

@RogerGMarch RogerGMarch added the enhancement New feature or request label Dec 4, 2024
@pareyesv
Copy link
Collaborator Author

pareyesv commented Jan 5, 2025

consider migrating to environment.txt and deprecate/delete environment.yml

See #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants