Streamlit docker i nstallation issue

I have pip installed in docker container. When I run streamlit
streamlit run <>

I am getting following error.
AttributeError: module ‘click’ has no attribute ‘get_os_args’

Even streamlit hello gives same error.

Found an issue on this #4555.
A fix for this problem was mentioned by marcoloco23:

pip install -U click==8 

Haven’t seen this issue or tried the fix.