Then when I tried to install streamlit again I got output ending with:
Installing collected packages: click
Attempting uninstall: click
Found existing installation: click 8.1.3
Successfully uninstalled click-8.1.3
ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
black 22.6.0 requires click>=8.0.0, but you have click 7.1.2 which is incompatible.
Successfully installed click-7.1.2
So it needs click>=8.0, which I had, but then uninstalled it.
You can install streamlit with pip install streamlit but I don’t think it will be installed in /Users/sam/opt/anaconda3/bin/streamlit”. I guess you can also use anaconda instead of pip, but I can’t help you with that.