Error importing

I’m getting an error when using streamlit sharing. When it is deployed and try to import cx_Oracle it gets the error: ModuleNotFoundError. But I put the package in the requirements.txt file. The code is very simple:

import streamlit as st
import cx_Oracle as ora
st.write("""

Hello World

“”")

Could someone help?

My requirements.txt file has the following packages:
cx-Oracle==8.3.0
streamlit==1.4.0

Hi @Lucassib, welcome to the Streamlit community!! :wave: :partying_face:

Would you mind sharing the link to your app’s GitHub repo?

I was able to successfully deploy the above app with the identical requirements.txt.

Best, :balloon:
Snehan

1 Like

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