ImportError: DLL load failed while importing lib:

import streamlit as st
Traceback (most recent call last):

File “C:\Users\Deniz\AppData\Local\Temp/ipykernel_17028/942006150.py”, line 1, in
import streamlit as st

File “C:\Users\Deniz\anaconda3\lib\site-packages\streamlit_init_.py”, line 70, in
from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator

File “C:\Users\Deniz\anaconda3\lib\site-packages\streamlit\delta_generator.py”, line 36, in
from streamlit import cursor

File “C:\Users\Deniz\anaconda3\lib\site-packages\streamlit\cursor.py”, line 18, in
from streamlit.runtime.scriptrunner import get_script_run_ctx

File “C:\Users\Deniz\anaconda3\lib\site-packages\streamlit\runtime\scriptrunner_init_.py”, line 16, in
from .script_runner import (

File “C:\Users\Deniz\anaconda3\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py”, line 35, in
from streamlit.runtime.state import (

File “C:\Users\Deniz\anaconda3\lib\site-packages\streamlit\runtime\state_init_.py”, line 16, in
from .safe_session_state import SafeSessionState as SafeSessionState

File “C:\Users\Deniz\anaconda3\lib\site-packages\streamlit\runtime\state\safe_session_state.py”, line 21, in
from .session_state import (

File “C:\Users\Deniz\anaconda3\lib\site-packages\streamlit\runtime\state\session_state.py”, line 44, in
from streamlit.type_util import ValueFieldName

File “C:\Users\Deniz\anaconda3\lib\site-packages\streamlit\type_util.py”, line 44, in
import pyarrow as pa

File “C:\Users\Deniz\anaconda3\lib\site-packages\pyarrow_init_.py”, line 63, in
import pyarrow.lib as _lib

ImportError: DLL load failed while importing lib:

I am getting this error after importing the library.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.