Streamlit installation on Windows Help

Hi. I am having a difficult time installing Streamlit on my Windows laptop. After initially trying to install it on my base environment, I created a new environment for the install and it still doesn’t work. Can I please get some assistant with the installation. Below is the message I received during installation.

(streamlit_env) C:\Users\lasha>pip install streamlit --user

Requirement already satisfied: streamlit in c:\users\lasha\appdata\roaming\python\python37\site-packages (0.50.2)
Requirement already satisfied: enum-compat in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from streamlit) (0.0.3)
Requirement already satisfied: requests in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from streamlit) (2.22.0)
Requirement already satisfied: pandas in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from streamlit) (0.25.3)
Requirement already satisfied: validators in c:\users\lasha\appdata\roaming\python\python37\site-packages (from streamlit) (0.14.0)
Requirement already satisfied: watchdog in c:\users\lasha\appdata\roaming\python\python37\site-packages (from streamlit) (0.9.0)
Requirement already satisfied: tzlocal in c:\users\lasha\appdata\roaming\python\python37\site-packages (from streamlit) (2.0.0)
Requirement already satisfied: tornado<6.0,>=5.0 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from streamlit) (5.1.1)
Requirement already satisfied: numpy in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from streamlit) (1.17.4)
Requirement already satisfied: boto3 in c:\users\lasha\appdata\roaming\python\python37\site-packages (from streamlit) (1.10.16)
Requirement already satisfied: protobuf>=3.6.0 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from streamlit) (3.10.0)
Requirement already satisfied: future in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from streamlit) (0.18.2)
Requirement already satisfied: altair>=3.2.0 in c:\users\lasha\appdata\roaming\python\python37\site-packages (from streamlit) (3.2.0)
Requirement already satisfied: pillow>=6.2.0 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from streamlit) (6.2.1)
Requirement already satisfied: toml in c:\users\lasha\appdata\roaming\python\python37\site-packages (from streamlit) (0.10.0)
Requirement already satisfied: botocore in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from streamlit) (1.13.16)
Requirement already satisfied: click>=7.0 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from streamlit) (7.0)
Requirement already satisfied: astor in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from streamlit) (0.8.0)
Requirement already satisfied: base58 in c:\users\lasha\appdata\roaming\python\python37\site-packages (from streamlit) (1.0.3)
Requirement already satisfied: blinker in c:\users\lasha\appdata\roaming\python\python37\site-packages (from streamlit) (1.4)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from requests->streamlit) (1.25.7)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from requests->streamlit) (2019.9.11)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from requests->streamlit) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from requests->streamlit) (2.8)
Requirement already satisfied: python-dateutil>=2.6.1 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from pandas->streamlit) (2.8.0)
Requirement already satisfied: pytz>=2017.2 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from pandas->streamlit) (2019.3)
Requirement already satisfied: six>=1.4.0 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from validators->streamlit) (1.13.0)
Requirement already satisfied: decorator>=3.4.0 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from validators->streamlit) (4.4.1)
Requirement already satisfied: pathtools>=0.1.1 in c:\users\lasha\appdata\roaming\python\python37\site-packages (from watchdog->streamlit) (0.1.2)
Requirement already satisfied: argh>=0.24.1 in c:\users\lasha\appdata\roaming\python\python37\site-packages (from watchdog->streamlit) (0.26.2)
Requirement already satisfied: PyYAML>=3.10 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from watchdog->streamlit) (5.1.2)
Requirement already satisfied: s3transfer<0.3.0,>=0.2.0 in c:\users\lasha\appdata\roaming\python\python37\site-packages (from boto3->streamlit) (0.2.1)
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from boto3->streamlit) (0.9.4)
Requirement already satisfied: setuptools in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from protobuf>=3.6.0->streamlit) (41.6.0.post20191030)
Requirement already satisfied: jsonschema in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from altair>=3.2.0->streamlit) (3.1.1)
Requirement already satisfied: entrypoints in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from altair>=3.2.0->streamlit) (0.3)
Requirement already satisfied: toolz in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from altair>=3.2.0->streamlit) (0.10.0)
Requirement already satisfied: jinja2 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from altair>=3.2.0->streamlit) (2.10.3)
Requirement already satisfied: docutils<0.16,>=0.10 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from botocore->streamlit) (0.15.2)
Requirement already satisfied: importlib-metadata in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from jsonschema->altair>=3.2.0->streamlit) (0.23)
Requirement already satisfied: attrs>=17.4.0 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from jsonschema->altair>=3.2.0->streamlit) (19.3.0)
Requirement already satisfied: pyrsistent>=0.14.0 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from jsonschema->altair>=3.2.0->streamlit) (0.15.5)
Requirement already satisfied: MarkupSafe>=0.23 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from jinja2->altair>=3.2.0->streamlit) (1.1.1)
Requirement already satisfied: zipp>=0.5 in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from importlib-metadata->jsonschema->altair>=3.2.0->streamlit) (0.6.0)
Requirement already satisfied: more-itertools in c:\users\lasha\anaconda3\envs\streamlit_env\lib\site-packages (from zipp>=0.5->importlib-metadata->jsonschema->altair>=3.2.0->streamlit) (7.2.0)

(streamlit_env) C:\Users\lasha>streamlit hello

'streamlit' is not recognized as an internal or external command,
operable program or batch file.

Hey @Lashaun18 :wave: and welcome to the community,

Sorry you’re having issues installing Streamlit, and this sounds like it might be a python environment issue. For Windows, we recommend using Anaconda Navigator to help set-up your environment and we have a nifty installation guide for this here :blush:!

Hopefully this helps, but if not would you mind letting us know which version of Python you’re running on?

Hi,

Unfortunately, that process didn’t work when I tried it yesterday. I’m using python 3.7.5. Thank you so much for any assistance you can provide.

Kind Regards,

Tarsha

Hey Tarsha - just making sure you’re following the “Install Streamlit on Windows” guide, which walks you through installing into an Anaconda environment.

(Anaconda is our preferred Python installation on Windows, and it’s what we’re most equipped to support in these forums.)

Apologies if you already are using Anaconda, and I’m just repeating what you already know! Just making sure we’re on the same page.

Anyway: using pip install with the --user flag installs a package into your home directory, and not your current virtual environment. If you have an active virtual environment, the command you should use to install streamlit is just

pip install streamlit

Cheers!
Tim

I’m using Anaconda Navigator on windows, with streamlit installed in its own conda env using pip install streamlit.

But turns out the default python in a new env is python 3.8, I had to use python 3.7 to make things work:

conda create -n streamlit python=3.7 pip