This is the full error
C:\Users\thisuser>streamlit hello
Traceback (most recent call last):
File "c:\users\thisuser\appdata\local\programs\python\python38-32\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\thisuser\appdata\local\programs\python\python38-32\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\thisuser\AppData\Local\Programs\Python\Python38\Scripts\streamlit.exe\__main__.py", line 4, in <module>
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\streamlit\__init__.py", line 99, in <module>
from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\streamlit\delta_generator.py", line 40, in <module>
from streamlit.elements.altair import AltairMixin
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\streamlit\elements\altair.py", line 22, in <module>
import altair as alt
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\__init__.py", line 4, in <module>
from .vegalite import *
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\vegalite\__init__.py", line 2, in <module>
from .v4 import *
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\vegalite\v4\__init__.py", line 2, in <module>
from .schema import *
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\vegalite\v4\schema\__init__.py", line 2, in <module>
from .core import *
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\vegalite\v4\schema\core.py", line 4, in <module>
from altair.utils.schemapi import SchemaBase, Undefined, _subclasses
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\utils\__init__.py", line 1, in <module>
from .core import (
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\utils\core.py", line 14, in <module>
import pandas as pd
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\pandas\__init__.py", line 11, in <module>
__import__(dependency)
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\numpy\__init__.py", line 138, in <module>
from . import _distributor_init
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\numpy\_distributor_init.py", line 26, in <module>
WinDLL(os.path.abspath(filename))
File "c:\users\thisuser\appdata\local\programs\python\python38-32\lib\ctypes\__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
C:\Users\thisuser>streamlit hello
Traceback (most recent call last):
File "c:\users\thisuser\appdata\local\programs\python\python38-32\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\thisuser\appdata\local\programs\python\python38-32\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\thisuser\AppData\Local\Programs\Python\Python38\Scripts\streamlit.exe\__main__.py", line 4, in <module>
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\streamlit\__init__.py", line 99, in <module>
from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\streamlit\delta_generator.py", line 40, in <module>
from streamlit.elements.altair import AltairMixin
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\streamlit\elements\altair.py", line 22, in <module>
import altair as alt
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\__init__.py", line 4, in <module>
from .vegalite import *
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\vegalite\__init__.py", line 2, in <module>
from .v4 import *
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\vegalite\v4\__init__.py", line 2, in <module>
from .schema import *
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\vegalite\v4\schema\__init__.py", line 2, in <module>
from .core import *
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\vegalite\v4\schema\core.py", line 4, in <module>
from altair.utils.schemapi import SchemaBase, Undefined, _subclasses
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\utils\__init__.py", line 1, in <module>
from .core import (
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\utils\core.py", line 14, in <module>
import pandas as pd
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\pandas\__init__.py", line 11, in <module>
__import__(dependency)
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\numpy\__init__.py", line 138, in <module>
from . import _distributor_init
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\numpy\_distributor_init.py", line 26, in <module>
WinDLL(os.path.abspath(filename))
File "c:\users\thisuser\appdata\local\programs\python\python38-32\lib\ctypes\__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
C:\Users\thisuser>streamlit run hello
Traceback (most recent call last):
File "c:\users\thisuser\appdata\local\programs\python\python38-32\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\thisuser\appdata\local\programs\python\python38-32\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\thisuser\AppData\Local\Programs\Python\Python38\Scripts\streamlit.exe\__main__.py", line 4, in <module>
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\streamlit\__init__.py", line 99, in <module>
from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\streamlit\delta_generator.py", line 40, in <module>
from streamlit.elements.altair import AltairMixin
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\streamlit\elements\altair.py", line 22, in <module>
import altair as alt
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\__init__.py", line 4, in <module>
from .vegalite import *
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\vegalite\__init__.py", line 2, in <module>
from .v4 import *
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\vegalite\v4\__init__.py", line 2, in <module>
from .schema import *
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\vegalite\v4\schema\__init__.py", line 2, in <module>
from .core import *
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\vegalite\v4\schema\core.py", line 4, in <module>
from altair.utils.schemapi import SchemaBase, Undefined, _subclasses
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\utils\__init__.py", line 1, in <module>
from .core import (
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\utils\core.py", line 14, in <module>
import pandas as pd
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\pandas\__init__.py", line 11, in <module>
__import__(dependency)
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\numpy\__init__.py", line 138, in <module>
from . import _distributor_init
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\numpy\_distributor_init.py", line 26, in <module>
WinDLL(os.path.abspath(filename))
File "c:\users\thisuser\appdata\local\programs\python\python38-32\lib\ctypes\__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
C:\Users\thisuser>python -m streamlit hello
Traceback (most recent call last):
File "C:\Users\thisuser\AppData\Local\Programs\Python\Python38-32\lib\runpy.py", line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:\Users\thisuser\AppData\Local\Programs\Python\Python38-32\lib\runpy.py", line 144, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "C:\Users\thisuser\AppData\Local\Programs\Python\Python38-32\lib\runpy.py", line 111, in _get_module_details
__import__(pkg_name)
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\streamlit\__init__.py", line 99, in <module>
from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\streamlit\delta_generator.py", line 40, in <module>
from streamlit.elements.altair import AltairMixin
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\streamlit\elements\altair.py", line 22, in <module>
import altair as alt
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\__init__.py", line 4, in <module>
from .vegalite import *
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\vegalite\__init__.py", line 2, in <module>
from .v4 import *
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\vegalite\v4\__init__.py", line 2, in <module>
from .schema import *
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\vegalite\v4\schema\__init__.py", line 2, in <module>
from .core import *
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\vegalite\v4\schema\core.py", line 4, in <module>
from altair.utils.schemapi import SchemaBase, Undefined, _subclasses
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\utils\__init__.py", line 1, in <module>
from .core import (
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\altair\utils\core.py", line 14, in <module>
import pandas as pd
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\pandas\__init__.py", line 11, in <module>
__import__(dependency)
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\numpy\__init__.py", line 138, in <module>
from . import _distributor_init
File "C:\Users\thisuser\AppData\Roaming\Python\Python38\site-packages\numpy\_distributor_init.py", line 26, in <module>
WinDLL(os.path.abspath(filename))
File "C:\Users\thisuser\AppData\Local\Programs\Python\Python38-32\lib\ctypes\__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application