Unable to install pyodbc 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!


Custom domain for my streamlit 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!

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


Cannot install PolyFuzz 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!


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 print/save PDF multiple pages when deployed but can 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!


Quick way to clear cache on app deployed to S4?

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!


Environment variable indicating my app is running 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!


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!


Deploying to Streamlit Sharing getting stuck

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!


ModuleNotFoundError: Wikipedia - 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!


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!


How to clear memory after closing the 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!


Camera and OPENCV Get Error using 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!


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!


Using Path to local files created during execution

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!


How to download large model files to the sharing 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!


Waiting for invitation for 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!


Can I add conda package in requirements.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!


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 access streamlit app from outside of network

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 stuck on “Please wait…” / “App is in the oven”

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 shared app stuck when delpoying

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!


File permisson error 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!


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 deploying app 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!


I’m getting error when creating my app in 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!


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!


Store Files on Server (streamlit) and access them while air-time of 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!


App doesn’t deploy in Streamlit Sharing - Possible issue with deploying PyTorch

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!


Run librairies relying on Java to work? (e.g. PySpark)

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!


Waiting for invitation to share my very first data analytics project

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!


Getting error when deploying app, but not when running it 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!


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!


Fig.add_vrect not rendering in st.plotly_chart()

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!


AttributeError: ‘NoneType’ object has no attribute ‘group’

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!


Issue with Imagemagick package’s installation 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!


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!


I want to allow the user to fix the text-input box

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 module named ‘streamlit_echarts’ despite module in requirements.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!


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: No matching distribution found for pywin32==227

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 crashes/reset; connection to server lost

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!


Worked on local host but got problem loading in streamlit share snapshot of my log file are as below

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!


Deployment issues: is inference with large models like BART possible?

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 for Teams and data security question

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!


ModuleNotFound Error when deploying from 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!


Streamlit sharing not processing all dependencies!

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!


Deploy multiple Streamlit apps from the same Github repo and the same Streamlit Sharing account

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!


Psutil not allowed on share.streamlit.io?

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 Streamlit apps need better media picture

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!


Code works fine on the local host but not fully working using 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!


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 while deploying streamlit dashboard

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 for matplotlib during 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!


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!


[Solved] Import cv2- no module exists error 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!


App works well several times, then suddenly crashes - Any reasons for this?

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!


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!


Unable to deploy app when using git submodule

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!


I just gained access to streamlit share platform. Is it possible to extend invitation to friends?

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 : Opencv Module Import Error libGL [Resolved-Ignore]

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 Instance Specifications

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!


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!


[Teams] Issue with deploying PyTorch/NLTK app on Streamlit Teams

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 save image file in to ‘Streamlit for teams’ server while deployment

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 Error for Plotting Libraries

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!


Terms of Use page for S4A not redirected properly

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!


A little issue with running icon and x icon

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!


Welcome to the Streamlit for Teams Beta!

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!