getting module not found
thakuradi opened this issue · 5 comments
even i installed the module it's showing me not found
streamlit run app.py
Traceback (most recent call last):
File "/home/thakuradi/.local/bin/streamlit", line 5, in
from streamlit.web.cli import main
File "/home/thakuradi/.local/lib/python3.11/site-packages/streamlit/init.py", line 55, in
from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator
File "/home/thakuradi/.local/lib/python3.11/site-packages/streamlit/delta_generator.py", line 36, in
from streamlit import config, cursor, env_util, logger, runtime, type_util, util
File "/home/thakuradi/.local/lib/python3.11/site-packages/streamlit/cursor.py", line 18, in
from streamlit.runtime.scriptrunner import get_script_run_ctx
File "/home/thakuradi/.local/lib/python3.11/site-packages/streamlit/runtime/init.py", line 16, in
from streamlit.runtime.runtime import Runtime as Runtime
File "/home/thakuradi/.local/lib/python3.11/site-packages/streamlit/runtime/runtime.py", line 29, in
from streamlit.runtime.app_session import AppSession
File "/home/thakuradi/.local/lib/python3.11/site-packages/streamlit/runtime/app_session.py", line 35, in
from streamlit.runtime import caching, legacy_caching
File "/home/thakuradi/.local/lib/python3.11/site-packages/streamlit/runtime/caching/init.py", line 21, in
from streamlit.runtime.caching.cache_data_api import (
File "/home/thakuradi/.local/lib/python3.11/site-packages/streamlit/runtime/caching/cache_data_api.py", line 37, in
from streamlit.runtime.caching import cache_utils
File "/home/thakuradi/.local/lib/python3.11/site-packages/streamlit/runtime/caching/cache_utils.py", line 31, in
from streamlit import type_util
File "/home/thakuradi/.local/lib/python3.11/site-packages/streamlit/type_util.py", line 42, in
from pandas import DataFrame, Index, MultiIndex, Series
File "/home/thakuradi/.local/lib/python3.11/site-packages/pandas/init.py", line 22, in
from pandas.compat import is_numpy_dev as _is_numpy_dev # pyright: ignore # noqa:F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/thakuradi/.local/lib/python3.11/site-packages/pandas/compat/init.py", line 24, in
import pandas.compat.compressors
File "/home/thakuradi/.local/lib/python3.11/site-packages/pandas/compat/compressors.py", line 7, in
import bz2
File "/usr/local/lib/python3.11/bz2.py", line 17, in
from _bz2 import BZ2Compressor, BZ2Decompressor
ModuleNotFoundError: No module named '_bz2'
i tried unistalling and installin the module but it's still showing
i tried unistalling and installin the module but it's still showing
dont use python 3.11. Use python 3.10.x. 3.11 is not supported by every library yet
I think you may be missing libbz2-dev:
sudo apt-get install libbz2-dev
https://stackoverflow.com/questions/12806122/missing-python-bz2-module
I think you may be missing libbz2-dev:
sudo apt-get install libbz2-dev
https://stackoverflow.com/questions/12806122/missing-python-bz2-module
too bad im running this on windows