Skip to content

Streamlit fails to run after pip installation on Windows 10 Anaconda #1252

@hertzmann

Description

@hertzmann

Summary

I've run pip install streamlit on Anaconda on Windows, but then streamlit hello fails to run ("command not found" type errors, "streamlit is not recognized as an internal or external command", etc).

Steps to reproduce

What are the steps we should take to reproduce the bug:

  1. Install Anaconda on Windows 10
  2. pip install streamlit
  3. streamlit hello

I've tried in Anaconda Powershell (both as user and admin), cmd.exe, and creating an Anaconda environment and then running the terminal in that environment.

Is this a regression?

This is my first time installing streamlit on Windows.

Debug info

  • Streamlit version: (get it with $ streamlit version)

This fails to run, but I just installed streamlit for the first time just now.

  • Python version: (get it with $ python --version)

I get different answers in different shells. The Anaconda Environment terminal is Python 3.7.7. The Anaconda PowerShell python version is 3.7.6

  • OS version:
    Windows 10 Home version 1903, OS Build 18362.720

Path info

From reading forum comments, it sounds like this could be caused by my PATH. I don't see any Python or Anaconda-related directories in my user PATH or system PATH enviornment variables or PSModulePath.

In PowerShell, running echo $Env:Path shows that it includes C:\ProgramData\Anaconda3{,mingw-w64\bin,\usr\bin,bin,Scripts,\Library\bin,condabin} and more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions