Output video using OpenCV h264 mp4s on Streamlit Sharing

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Df.style.applymap gives error since a few days

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!

Context:
Hi @frances
Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found.

Filename
Dependency Manager
Documentation

Pipfile
pipenv
docs

environment.yml
conda
docs 1

requirements.txt
pip
docs

pyproject.toml
poetry
docs

What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt.
Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package.
Source: App dependencies - Streamlit Docs
Happy Streamlit-ing!
Snehan


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Should I always include pandas and other library versions in requirements file?

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


PermissionError: [Errno 13] Permission denied

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Share Streamlit Deploy error : Error Unable to find streamlit_app at stbeau/projet-62-ui-streamlit-share branch “master”

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Flask package is not working in Streamlit Sharing

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Change limit size in share.streamlit app

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


SQLAlchemy - ModuleNotFoundError: No module named ‘sqlalchemy’

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Sharing environment is inconsistent and unstable

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Streamlit Tutorials from Python for Digital Humanities Tutorials on YouTube

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Rd-kit Package not Found Error while deploying a code

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Numpy dependency error occurs while deploying

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Error after deploying application: `pandas.errors.ParserError: Error tokenizing data. C error: Expected 1 fields in line 65, saw 6` but app runs fine locally

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


My app crashes after some time being deployed in Share Streamlit

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Server error [A6]: Unable to set Github listener

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


App shared on Streamlit Sharing is completely frozen, won’t even reboot

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


ERROR: Could not find a version that satisfies the requirement lmxl==4.6.2 (from versions: none) & ImportError: lxml not found, please install it

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


“Resource limits” error increasing frequency

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


ImportError: libxml2.so.2: cannot open shared object file: No such file or directory

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Can’t find dependencies torch==1.9.0+cu102

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Streamlit dependency problem - ImportError: libGL.so.1: cannot open shared object file: No such file or directory

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


ModuleNotFoundError: No module named ‘google_trans_new’

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


How can I know the Sharing Server IP Address?

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Managing your Streamlit dependencies using conda

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Running a tkinter canvas animation in streamlit.io using Streamlit (part II)

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Installing ODBC Driver 17 for SQL Server in Streamlit sharing

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


App keeps crashing… maybe have a static page render option for dead app?

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Streamlit Server error [A10]: Unable to create app

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Can we change the colour of this green section and also its size?

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Streamlit Sharing Server dies then doesn’t reboot itself

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Can’t use more than one ML model on Streamlit Share

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Filepath problem while deploying in streamlit share

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Streamlit Share – Monitor traffic on your app

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Module not found when deploying streamlit via github

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


My App Is Throwing Some Errors,Please Help

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Can you please help me out with this i have issue while uploading it

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Cannot uninstall ‘PyYAML’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. CondaEnvException:

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Azure Deployment / AWS Deployment of Streamlit apps

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Deploy streamlit app as windows exe standalone

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Error when button clicked in streamlit sharing app , works fine locally

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Is there a way to test my app locally without secrets.toml?

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


_tkinter.TclError: couldn’t connect to display “:0”

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Streamlit app not updating with the code changes

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Error installing requirements –> No terminal output available, no Manage App button

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


App runs for a few times but then periodically crashes - any ideas?

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


OSError: SavedModel file does not exist at:

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Streamlit dashboard auto adjust in mobile

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


**DuplicateWidgetID** : There are multiple identical `st.selectbox` widgets with the same generated key

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Where does the data go when using file_uploader? When does it get deleted?

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


How to align the dataframe within streamlit and hide the index

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Streamlit over Resources after a couple of hours

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


This app has gone over its resource limits

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


When does it become a requirement to add packages.txt file in your repo?

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Cant deploy my app fbprophet convertdate

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


App works fine, then crashes after a few days

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


How to deploy an app if we are using dlib library,

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Is it possible to display N images in same widget?

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Streamlit sharing: Error installing requirements

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Streamlit deploy error “Unable to set Github listener”

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Greyed out (replica of a section) shown in the screen

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Importerror: libgl.so.1: cannot open shared object file: no such file or directory opencv error

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


No matching distribution found for en_core_web_sm==3.0.0

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Whoops — something went wrong! An error has been logged. Getting this Error for Video processing application

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Support for deploying multiple dashboards from a Monorepo to Streamlit Sharing

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Streamlit app periodically complains about dependecies

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


“Unable to locate package” error with packages.txt

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


Error: This app has gone over its usage quota limits

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!


App stopped working with latest deploy after adding map functionality (folium)

Question:
Hello
I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback
Uncaught app exception

Traceback (most recent call last):

  File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script

    exec(code, module.__dict__)

  File "/app/data_test/src/example.py", line 4, in <module>

    import psycopg2

ModuleNotFoundError: No module named 'psycopg2'

I have the following two packages in requirements.txt at the top level repo
psycopg2==2.9.3
psycopg2-binary==2.9.3
Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause?
https://www.psycopg.org/docs/install.html#prerequisites 1
Many thanks!