docs
stringclasses 4
values | category
stringlengths 3
31
| thread
stringlengths 7
255
| href
stringlengths 42
278
| question
stringlengths 0
30.3k
| context
stringlengths 0
24.9k
| marked
int64 0
1
|
---|---|---|---|---|---|---|
streamlit | Streamlit Cloud | Query params stopped working | https://discuss.streamlit.io/t/query-params-stopped-working/14888 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | I can’t delete my own App | https://discuss.streamlit.io/t/i-cant-delete-my-own-app/19033 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | OSError: ([Errno 98] Address already in use) in Streamlit Sharing | https://discuss.streamlit.io/t/oserror-errno-98-address-already-in-use-in-streamlit-sharing/6623 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Sreamlit Cloud error message error (wrong wording?) | https://discuss.streamlit.io/t/sreamlit-cloud-error-message-error-wrong-wording/19007 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Excel file upload permission error | https://discuss.streamlit.io/t/excel-file-upload-permission-error/18949 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Resolving Dependencies on Streamlit Cloud | https://discuss.streamlit.io/t/resolving-dependencies-on-streamlit-cloud/18897 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Matplotlib Animation.FuncAnimation Support | https://discuss.streamlit.io/t/matplotlib-animation-funcanimation-support/8949 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | App code not updating properly to deployed stream version | https://discuss.streamlit.io/t/app-code-not-updating-properly-to-deployed-stream-version/18721 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Download sqlite .db file | https://discuss.streamlit.io/t/download-sqlite-db-file/18747 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Your app is in the over for hours | https://discuss.streamlit.io/t/your-app-is-in-the-over-for-hours/18718 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Import with directories fail in streamlit Cloud | https://discuss.streamlit.io/t/import-with-directories-fail-in-streamlit-cloud/18688 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Unable to Login to Share.Streamlit.io | https://discuss.streamlit.io/t/unable-to-login-to-share-streamlit-io/17921 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | FileNotFoundError for pkl file while using share.streamlit | https://discuss.streamlit.io/t/filenotfounderror-for-pkl-file-while-using-share-streamlit/18594 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Error Meesage while sharing app from github | https://discuss.streamlit.io/t/error-meesage-while-sharing-app-from-github/18635 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Key error: sklearn.preprocessing | https://discuss.streamlit.io/t/key-error-sklearn-preprocessing/18523 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Error installing requirements - Streamlit sharing | https://discuss.streamlit.io/t/error-installing-requirements-streamlit-sharing/18274 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Unable to deploy cnn model on share.streamlit.io | https://discuss.streamlit.io/t/unable-to-deploy-cnn-model-on-share-streamlit-io/18513 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Hidden button “hosted with streamlit” | https://discuss.streamlit.io/t/hidden-button-hosted-with-streamlit/18502 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | My app is not loading | https://discuss.streamlit.io/t/my-app-is-not-loading/18360 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | KeyError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs | https://discuss.streamlit.io/t/keyerror-this-app-has-encountered-an-error-the-original-error-message-is-redacted-to-prevent-data-leaks-full-error-details-have-been-recorded-in-the-logs/17762 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | I can’t add image like logo and picture in streamlit webpage | https://discuss.streamlit.io/t/i-cant-add-image-like-logo-and-picture-in-streamlit-webpage/18509 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | ModuleNotFoundError: No module named ‘pymongo’ | https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-pymongo/18396 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Streamlit Stats Dashboard? | https://discuss.streamlit.io/t/streamlit-stats-dashboard/18415 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Server error [A10]: Unable to create app via streamlit cloud | https://discuss.streamlit.io/t/server-error-a10-unable-to-create-app-via-streamlit-cloud/18383 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | BUG: Additional unintended App showing up on Stream Cloud account | https://discuss.streamlit.io/t/bug-additional-unintended-app-showing-up-on-stream-cloud-account/18330 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | How do you dynamically start a uvicorn app server process in Streamlit Sharing? | https://discuss.streamlit.io/t/how-do-you-dynamically-start-a-uvicorn-app-server-process-in-streamlit-sharing/18327 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | I could not delete my app | https://discuss.streamlit.io/t/i-could-not-delete-my-app/18235 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Deploying with streamlit share, Github Issues | https://discuss.streamlit.io/t/deploying-with-streamlit-share-github-issues/18283 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Safe way to store uploaded data to my google drive? | https://discuss.streamlit.io/t/safe-way-to-store-uploaded-data-to-my-google-drive/18254 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Custom domain name | https://discuss.streamlit.io/t/custom-domain-name/18166 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Error after long time using the app [AttributeError: <module ‘numba.core.serialize’] | https://discuss.streamlit.io/t/error-after-long-time-using-the-app-attributeerror-module-numba-core-serialize/18031 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Unable to deploy my app due to ModuleNotFoundError | https://discuss.streamlit.io/t/unable-to-deploy-my-app-due-to-modulenotfounderror/18110 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Share streamlit not updated with streamlit v1.0? | https://discuss.streamlit.io/t/share-streamlit-not-updated-with-streamlit-v1-0/18116 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Streamlit cluld for student | https://discuss.streamlit.io/t/streamlit-cluld-for-student/18075 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Deployment error- can’t find Github Repo | https://discuss.streamlit.io/t/deployment-error-cant-find-github-repo/17816 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Fatal: could not read Username for ‘https://github.com’ | https://discuss.streamlit.io/t/fatal-could-not-read-username-for-https-github-com/17867 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | ModuleNotFoundError: No module named ‘datasets’ through ‘subprocess’ | https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-datasets-through-subprocess/18020 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | PermissionError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs | https://discuss.streamlit.io/t/permissionerror-this-app-has-encountered-an-error-the-original-error-message-is-redacted-to-prevent-data-leaks-full-error-details-have-been-recorded-in-the-logs/17999 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | From bs4 import BeautifulSoup issue on deploying an app | https://discuss.streamlit.io/t/from-bs4-import-beautifulsoup-issue-on-deploying-an-app/17821 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Deployment failed without changing anything in github | https://discuss.streamlit.io/t/deployment-failed-without-changing-anything-in-github/17824 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Unable to deploy the app due to the following error | https://discuss.streamlit.io/t/unable-to-deploy-the-app-due-to-the-following-error/6594 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | App crashes after some time without error | https://discuss.streamlit.io/t/app-crashes-after-some-time-without-error/8927 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Streamlit sharing not running | https://discuss.streamlit.io/t/streamlit-sharing-not-running/14450 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Please help: app wont boot | https://discuss.streamlit.io/t/please-help-app-wont-boot/15025 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Deploy app error: connection refused by peer | https://discuss.streamlit.io/t/deploy-app-error-connection-refused-by-peer/17538 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Transformers in requirements.txt but Error -> No module named ‘transformers’ | https://discuss.streamlit.io/t/transformers-in-requirements-txt-but-error-no-module-named-transformers/6344 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Server Error A9 while deploying | https://discuss.streamlit.io/t/server-error-a9-while-deploying/16538 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | BERT large model in Community plan | https://discuss.streamlit.io/t/bert-large-model-in-community-plan/17006 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Issues loading pickle data | https://discuss.streamlit.io/t/issues-loading-pickle-data/17384 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Server error [A15]: Error creating workspace | https://discuss.streamlit.io/t/server-error-a15-error-creating-workspace/17267 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Server Error: code 500 | https://discuss.streamlit.io/t/server-error-code-500/9789 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Deployment error installing dependency from .whl file | https://discuss.streamlit.io/t/deployment-error-installing-dependency-from-whl-file/17322 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Error Installing Requirements - ModuleNotFoundError: No module named ‘msvcrt’ | https://discuss.streamlit.io/t/error-installing-requirements-modulenotfounderror-no-module-named-msvcrt/17294 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Servers used by Streamlit Serving | https://discuss.streamlit.io/t/servers-used-by-streamlit-serving/16703 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Oh no: Streamlit server consistently failed status checks | https://discuss.streamlit.io/t/oh-no-streamlit-server-consistently-failed-status-checks/17319 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | How to join streamlit | https://discuss.streamlit.io/t/how-to-join-streamlit/17250 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Problem of cloning files stored with Git LFS | https://discuss.streamlit.io/t/problem-of-cloning-files-stored-with-git-lfs/17217 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Deploy streamlit app | https://discuss.streamlit.io/t/deploy-streamlit-app/17234 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Issues with Reading in Dataset (FileNotFoundError) | https://discuss.streamlit.io/t/issues-with-reading-in-dataset-filenotfounderror/12414 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | URGENT : I got error to share | https://discuss.streamlit.io/t/urgent-i-got-error-to-share/17221 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Invitation not working | https://discuss.streamlit.io/t/invitation-not-working/17106 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Problem with deploying on Streamlit Share - Pickle Error & Relative File Paths | https://discuss.streamlit.io/t/problem-with-deploying-on-streamlit-share-pickle-error-relative-file-paths/9750 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | App crashing on second run, halfway through image detection | https://discuss.streamlit.io/t/app-crashing-on-second-run-halfway-through-image-detection/13590 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | OSError: libespeak.so.1: cannot open shared object file: No such file or directory | virtual assistant web app | https://discuss.streamlit.io/t/oserror-libespeak-so-1-cannot-open-shared-object-file-no-such-file-or-directory-virtual-assistant-web-app/16807 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Error running app when deploy. Could be a Memory managing problem | https://discuss.streamlit.io/t/error-running-app-when-deploy-could-be-a-memory-managing-problem/16251 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Rename reboot to redeploy | https://discuss.streamlit.io/t/rename-reboot-to-redeploy/17009 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Download docx file in streamlit | https://discuss.streamlit.io/t/download-docx-file-in-streamlit/17015 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | This app has gone over its resource limits - ML/AI app | https://discuss.streamlit.io/t/this-app-has-gone-over-its-resource-limits-ml-ai-app/11919 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Streamlit deploying app not recognizing yfinance libraries | https://discuss.streamlit.io/t/streamlit-deploying-app-not-recognizing-yfinance-libraries/15134 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Deployed app keep running , but works fine locally | https://discuss.streamlit.io/t/deployed-app-keep-running-but-works-fine-locally/16983 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Export and download dataframe to csv file | https://discuss.streamlit.io/t/export-and-download-dataframe-to-csv-file/9926 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Save session specific uploaded file | https://discuss.streamlit.io/t/save-session-specific-uploaded-file/7829 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Getting 404 error after I deployed my app | https://discuss.streamlit.io/t/getting-404-error-after-i-deployed-my-app/13189 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Issue deploying streamlit app | https://discuss.streamlit.io/t/issue-deploying-streamlit-app/16922 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Columns at sharing | https://discuss.streamlit.io/t/columns-at-sharing/16769 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Share streamlit app as a preview-content instead of an url | https://discuss.streamlit.io/t/share-streamlit-app-as-a-preview-content-instead-of-an-url/15088 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Can’t open lib ‘ODBC Driver 17 for SQL Server’ : file not found (0) | https://discuss.streamlit.io/t/cant-open-lib-odbc-driver-17-for-sql-server-file-not-found-0/16783 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | ModuleNotFoundError: No module named ‘streamlit_folium’ | https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-streamlit-folium/16745 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Problem installing package from packages.txt | https://discuss.streamlit.io/t/problem-installing-package-from-packages-txt/16770 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Private repository | https://discuss.streamlit.io/t/private-repository/11757 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | “Streamlit server consistently failed status checks” while trying to get dataset from Git LFS | https://discuss.streamlit.io/t/streamlit-server-consistently-failed-status-checks-while-trying-to-get-dataset-from-git-lfs/16691 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Recording user Audio when deployed | https://discuss.streamlit.io/t/recording-user-audio-when-deployed/12543 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Streamlit Teams Private Repo | https://discuss.streamlit.io/t/streamlit-teams-private-repo/16202 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Error in importing Geopandas when deploying on streamlit sharing | https://discuss.streamlit.io/t/error-in-importing-geopandas-when-deploying-on-streamlit-sharing/16417 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Help in live webcam using opencv on share streamlit deployment | https://discuss.streamlit.io/t/help-in-live-webcam-using-opencv-on-share-streamlit-deployment/16471 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | ModuleNotFoundError: No module named ‘vega_datasets’ | https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-vega-datasets/16354 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Getting Server Error A10 | https://discuss.streamlit.io/t/getting-server-error-a10/16383 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Website crashes during file upload | https://discuss.streamlit.io/t/website-crashes-during-file-upload/16130 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Unpickling error: Invalid load key | https://discuss.streamlit.io/t/unpickling-error-invalid-load-key/16301 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Error Deploying Streamlit Application | https://discuss.streamlit.io/t/error-deploying-streamlit-application/16225 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Streamlit App Crashes Unexpectedly | https://discuss.streamlit.io/t/streamlit-app-crashes-unexpectedly/15994 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Accessing Temporary Files On Streamlit Sharing | https://discuss.streamlit.io/t/accessing-temporary-files-on-streamlit-sharing/16221 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Whoops — something went wrong! An error has been logged | https://discuss.streamlit.io/t/whoops-something-went-wrong-an-error-has-been-logged/12284 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | App continuously goes over its resource limits | https://discuss.streamlit.io/t/app-continuously-goes-over-its-resource-limits/16096 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Error Deploying with yfinance | https://discuss.streamlit.io/t/error-deploying-with-yfinance/16065 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | The cache does not seems to work with API call | https://discuss.streamlit.io/t/the-cache-does-not-seems-to-work-with-api-call/15869 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Tesseract is not installed or it’s not in my PATH | https://discuss.streamlit.io/t/tesseract-is-not-installed-or-its-not-in-my-path/16039 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | How can I download models | https://discuss.streamlit.io/t/how-can-i-download-models/16011 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Urgently need help with deployment | https://discuss.streamlit.io/t/urgently-need-help-with-deployment/15900 | 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! | 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 | 1 |
streamlit | Streamlit Cloud | Multiple tabs streamlit deploy fail | https://discuss.streamlit.io/t/multiple-tabs-streamlit-deploy-fail/15921 | 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! | 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 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.