ERROR: Command errored out with exit status 1 when installing streamlit in conda env

Hi everyone!

I’m having this error when installing streamlit on my conda environment.
I tried to run pip install streamlit command, but ended up with an error like this.

FileNotFoundError: [Errno 2] No such file or directory: ‘C:\Users\ASUS\AppData\Local\Temp\pip-build-q1n_fmlt\pywinpty\setup.py’

----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in C:\Users\ASUS\AppData\Local\Temp\pip-build-q1n_fmlt\pywinpty\

Please kindly help me, thanks in advance!

Have you tried conda instead? I’ve seen an issue installing with pip before that was resolved using conda-forge.

conda install streamlit -c conda-forge