Streamlit: ModuleNotFoundError: No module named 'streamlite'

Created on 5 Feb 2020  路  3Comments  路  Source: streamlit/streamlit

Summary

ModuleNotFoundError: No module named 'streamlite'
is shown in browser

Screen Shot 2020-02-05 at 4 33 46 PM

Steps to reproduce

  1. created virtualenv with pyenv in python 3.6.5, and activate it
  2. pip install streamlit: installed ok
  3. streamlit run simple_example.py (simple_example contains just one line: import streamlite as st)
  4. opens the browser at http://localhost:8501/ but showing a red box like this

Expected behavior:

Void webpage

Actual behavior:

A red box is shown, with the following text:
Traceback:
File "/Users/alejandrosantillaniturres/Desktop/programming/python/streamlit/lib/python3.6/site-packages/streamlit/ScriptRunner.py", line 314, in _run_script
exec(code, module.__dict__)
File "/Users/alejandrosantillaniturres/Desktop/programming/python/streamlit/simple_example.py", line 1, in
import streamlite as st

Is this a regression?

no

Debug info

  • Streamlit version: (get it with $ streamlit version)
    Streamlit, version 0.55.0
  • Python version: (get it with $ python --version)
    Python 3.6.5
  • Using Conda? PipEnv? PyEnv? Pex?
    PyEnv
  • OS version:
    Mac OS 10.15.1
  • Browser version:
    Chrome
    Version 79.0.3945.117 (Official Build) (64-bit)

    Additional information

I try to follow the first minute of the tutorial:
https://www.youtube.com/watch?v=B2iAodr0fOo
How to use Streamlit to create beautiful ML tools

streamlit hello Works perfect!

bug

Most helpful comment

Hi @alelasantillan , this looks like just a typo in the script. An extra "e" that made it on the end of "streamlit":

ModuleNotFoundError: No module named 'streamlite'
is shown in browser

If this is one of our example scripts we posted somewhere, can you point me to the script so we can fix it?

Let me know if this helps!

Ha ha, it fully helps! My fault. The bug is inside me!!!

All 3 comments

Hi @alelasantillan , this looks like just a typo in the script. An extra "e" that made it on the end of "streamlit":

ModuleNotFoundError: No module named 'streamlite'
is shown in browser

If this is one of our example scripts we posted somewhere, can you point me to the script so we can fix it?

Let me know if this helps!

Hi @alelasantillan , this looks like just a typo in the script. An extra "e" that made it on the end of "streamlit":

ModuleNotFoundError: No module named 'streamlite'
is shown in browser

If this is one of our example scripts we posted somewhere, can you point me to the script so we can fix it?

Let me know if this helps!

Ha ha, it fully helps! My fault. The bug is inside me!!!

Thanks for following up @alelasantillan !

Was this page helpful?
0 / 5 - 0 ratings