CodeForPhilly / chime

COVID-19 Hospital Impact Model for Epidemics
https://codeforphilly.github.io/chime/
MIT License
205 stars 151 forks source link

Dependency issue with click["bug"] #622

Open GrayEye opened 2 years ago

GrayEye commented 2 years ago

Description: Chime fails to launch locally when instructions here are followed. click dependency appears to be auto-updated, and has deprecated the get_os_args function used elsewhere in streamlit. Attempts to resolve by pegging streamlit and click to the latest versions in pip.lock file proved unsuccessful.

Steps to reproduce:

  1. Pull latest development branch
  2. Follow instructions from the run locally documentation.

Expected behavior:

Running local version of Chime.

What I got instead:

error from process logs in docker container app_1 | File "/usr/local/lib/python3.7/site-packages/streamlit/cli.py", line 221, in _get_command_line_as_string

app_1 | cmd_line_as_list.extend(click.get_os_args())

app_1 | AttributeError: module 'click' has no attribute 'get_os_args'