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
Is there a way to test my app locally without secrets.toml?
https://discuss.streamlit.io/t/is-there-a-way-to-test-my-app-locally-without-secrets-toml/13095
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 while installing dependencies
https://discuss.streamlit.io/t/error-while-installing-dependencies/12292
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
_tkinter.TclError: couldn’t connect to display “:0”
https://discuss.streamlit.io/t/tkinter-tclerror-couldnt-connect-to-display-0/12840
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 not updating with the code changes
https://discuss.streamlit.io/t/streamlit-app-not-updating-with-the-code-changes/13098
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 –> No terminal output available, no Manage App button
https://discuss.streamlit.io/t/error-installing-requirements-no-terminal-output-available-no-manage-app-button/13077
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 sent for a long time
https://discuss.streamlit.io/t/invitation-not-sent-for-a-long-time/10834
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 runs for a few times but then periodically crashes - any ideas?
https://discuss.streamlit.io/t/app-runs-for-a-few-times-but-then-periodically-crashes-any-ideas/13050
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Request to increate the resource limit
https://discuss.streamlit.io/t/request-to-increate-the-resource-limit/12917
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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: SavedModel file does not exist at:
https://discuss.streamlit.io/t/oserror-savedmodel-file-does-not-exist-at/12985
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 dashboard auto adjust in mobile
https://discuss.streamlit.io/t/streamlit-dashboard-auto-adjust-in-mobile/12696
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
**DuplicateWidgetID** : There are multiple identical `st.selectbox` widgets with the same generated key
https://discuss.streamlit.io/t/duplicatewidgetid-there-are-multiple-identical-st-selectbox-widgets-with-the-same-generated-key/12894
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Where does the data go when using file_uploader? When does it get deleted?
https://discuss.streamlit.io/t/where-does-the-data-go-when-using-file-uploader-when-does-it-get-deleted/8269
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 align the dataframe within streamlit and hide the index
https://discuss.streamlit.io/t/how-to-align-the-dataframe-within-streamlit-and-hide-the-index/8920
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
E: Unable to locate package cmake
https://discuss.streamlit.io/t/e-unable-to-locate-package-cmake/9568
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 over Resources after a couple of hours
https://discuss.streamlit.io/t/streamlit-over-resources-after-a-couple-of-hours/12772
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Going beyond the resource limit
https://discuss.streamlit.io/t/going-beyond-the-resource-limit/9227
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
https://discuss.streamlit.io/t/this-app-has-gone-over-its-resource-limits/7334
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 analytics
https://discuss.streamlit.io/t/streamlit-sharing-analytics/12787
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
FastAPI & Streamlit - Error 422
https://discuss.streamlit.io/t/fastapi-streamlit-error-422/12728
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
When does it become a requirement to add packages.txt file in your repo?
https://discuss.streamlit.io/t/when-does-it-become-a-requirement-to-add-packages-txt-file-in-your-repo/12711
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 streamlit on Cpanel
https://discuss.streamlit.io/t/deploying-streamlit-on-cpanel/12582
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Cant deploy my app fbprophet convertdate
https://discuss.streamlit.io/t/cant-deploy-my-app-fbprophet-convertdate/12662
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 works fine, then crashes after a few days
https://discuss.streamlit.io/t/app-works-fine-then-crashes-after-a-few-days/12681
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 deploy an app if we are using dlib library,
https://discuss.streamlit.io/t/how-to-deploy-an-app-if-we-are-using-dlib-library/12590
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 on resources limit
https://discuss.streamlit.io/t/problem-on-resources-limit/12605
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 while deploying
https://discuss.streamlit.io/t/error-while-deploying/12553
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Is it possible to display N images in same widget?
https://discuss.streamlit.io/t/is-it-possible-to-display-n-images-in-same-widget/12581
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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: Error installing requirements
https://discuss.streamlit.io/t/streamlit-sharing-error-installing-requirements/12578
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 deploy error “Unable to set Github listener”
https://discuss.streamlit.io/t/streamlit-deploy-error-unable-to-set-github-listener/12567
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Greyed out (replica of a section) shown in the screen
https://discuss.streamlit.io/t/greyed-out-replica-of-a-section-shown-in-the-screen/12535
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
https://discuss.streamlit.io/t/error-deploying-streamlit/12398
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Importerror: libgl.so.1: cannot open shared object file: no such file or directory opencv error
https://discuss.streamlit.io/t/importerror-libgl-so-1-cannot-open-shared-object-file-no-such-file-or-directory-opencv-error/7031
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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: can not read conda_channels.txt
https://discuss.streamlit.io/t/error-can-not-read-conda-channels-txt/11801
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
No matching distribution found for en_core_web_sm==3.0.0
https://discuss.streamlit.io/t/no-matching-distribution-found-for-en-core-web-sm-3-0-0/12371
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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. Getting this Error for Video processing application
https://discuss.streamlit.io/t/whoops-something-went-wrong-an-error-has-been-logged-getting-this-error-for-video-processing-application/12356
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 secrets not subscriptable
https://discuss.streamlit.io/t/streamlit-secrets-not-subscriptable/12263
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
https://discuss.streamlit.io/t/error-installing-requirements/12294
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Support for deploying multiple dashboards from a Monorepo to Streamlit Sharing
https://discuss.streamlit.io/t/support-for-deploying-multiple-dashboards-from-a-monorepo-to-streamlit-sharing/12320
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 periodically complains about dependecies
https://discuss.streamlit.io/t/streamlit-app-periodically-complains-about-dependecies/12019
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 locate package” error with packages.txt
https://discuss.streamlit.io/t/unable-to-locate-package-error-with-packages-txt/12237
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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: This app has gone over its usage quota limits
https://discuss.streamlit.io/t/error-this-app-has-gone-over-its-usage-quota-limits/6640
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 stopped working with latest deploy after adding map functionality (folium)
https://discuss.streamlit.io/t/app-stopped-working-with-latest-deploy-after-adding-map-functionality-folium/12202
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
RuntimeError: incompatible bytecode version
https://discuss.streamlit.io/t/runtimeerror-incompatible-bytecode-version/12173
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 find SPARK, Streamlit Sharing
https://discuss.streamlit.io/t/cant-find-spark-streamlit-sharing/12154
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 understand this issue has been resolved previously but it seems I can’t deploy my app on streamlit sharing
https://discuss.streamlit.io/t/i-understand-this-issue-has-been-resolved-previously-but-it-seems-i-cant-deploy-my-app-on-streamlit-sharing/11892
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 can’t pull from repo if git attributes file exists, once deleted, streamlit doesn’t get reference to git LFS file
https://discuss.streamlit.io/t/streamlit-cant-pull-from-repo-if-git-attributes-file-exists-once-deleted-streamlit-doesnt-get-reference-to-git-lfs-file/11888
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Backend data storage
https://discuss.streamlit.io/t/backend-data-storage/8137
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Run scrapy
https://discuss.streamlit.io/t/run-scrapy/12044
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 use Chinese font in matplotlib visuals
https://discuss.streamlit.io/t/how-to-use-chinese-font-in-matplotlib-visuals/7895
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Running webcam and opencv issues
https://discuss.streamlit.io/t/running-webcam-and-opencv-issues/8864
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 fix pyodbc error?
https://discuss.streamlit.io/t/how-can-fix-pyodbc-error/11965
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 keras with tensorflow backend - encountering issue with opencv and/or unable to verify installer exit code
https://discuss.streamlit.io/t/unable-to-deploy-keras-with-tensorflow-backend-encountering-issue-with-opencv-and-or-unable-to-verify-installer-exit-code/11752
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
S4T signup issues
https://discuss.streamlit.io/t/s4t-signup-issues/11969
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
BigQuery How to past json authentication file content to secret
https://discuss.streamlit.io/t/bigquery-how-to-past-json-authentication-file-content-to-secret/11776
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 when deploy the app
https://discuss.streamlit.io/t/error-when-deploy-the-app/11835
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 app is working 99% of times, yet the “no module named” error is being reported by some users
https://discuss.streamlit.io/t/the-app-is-working-99-of-times-yet-the-no-module-named-error-is-being-reported-by-some-users/11922
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Datafile of 100mb
https://discuss.streamlit.io/t/datafile-of-100mb/11512
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
RROR: No matching distribution found for dataclasses==0.8
https://discuss.streamlit.io/t/rror-no-matching-distribution-found-for-dataclasses-0-8/11667
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Check if run local or at share.streamlit.io
https://discuss.streamlit.io/t/check-if-run-local-or-at-share-streamlit-io/11841
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 during processing dependencies
https://discuss.streamlit.io/t/error-during-processing-dependencies/11754
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 I write a monitor for an app?
https://discuss.streamlit.io/t/how-do-i-write-a-monitor-for-an-app/11733
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 see app when logged in but otherwise visible
https://discuss.streamlit.io/t/cant-see-app-when-logged-in-but-otherwise-visible/11704
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 access Secret token of app deployed on github
https://discuss.streamlit.io/t/how-to-access-secret-token-of-app-deployed-on-github/6753
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 app in streamlit with elastic search
https://discuss.streamlit.io/t/share-app-in-streamlit-with-elastic-search/6770
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Online hosting for MySQL
https://discuss.streamlit.io/t/online-hosting-for-mysql/9532
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Closed betas
https://discuss.streamlit.io/t/closed-betas/10838
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 hide sensitive data before deploying yo Streamlit Sharing
https://discuss.streamlit.io/t/how-to-hide-sensitive-data-before-deploying-yo-streamlit-sharing/7392
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Secrets management
https://discuss.streamlit.io/t/secrets-management/4638
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 ignore files for deployment
https://discuss.streamlit.io/t/streamlit-sharing-ignore-files-for-deployment/11680
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 with joblib
https://discuss.streamlit.io/t/modulenotfounderror-with-joblib/11643
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 pdf/png from matplotlib in Streamlit
https://discuss.streamlit.io/t/download-pdf-png-from-matplotlib-in-streamlit/11608
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
https://discuss.streamlit.io/t/oserror-libespeak-so-1-cannot-open-shared-object-file-no-such-file-or-directory/9552
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Cannot run ‘sklearn’
https://discuss.streamlit.io/t/cannot-run-sklearn/11607
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 deploy due to missing module - Using 3.8(OSX) but Streamlit sharing keeps forcing 3.7
https://discuss.streamlit.io/t/cant-deploy-due-to-missing-module-using-3-8-osx-but-streamlit-sharing-keeps-forcing-3-7/11459
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 deployed the app and its up and running but its not showing on your apps streamlit page
https://discuss.streamlit.io/t/i-deployed-the-app-and-its-up-and-running-but-its-not-showing-on-your-apps-streamlit-page/11115
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 ‘sentence_transformers’
https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-sentence-transformers/11571
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 Signing-in Streamlit Sharing
https://discuss.streamlit.io/t/error-signing-in-streamlit-sharing/11525
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 use konlpy with streamlit sharing?
https://discuss.streamlit.io/t/how-can-i-use-konlpy-with-streamlit-sharing/11243
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Sharing Invite - How long does it usually take?
https://discuss.streamlit.io/t/sharing-invite-how-long-does-it-usually-take/11374
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 with cv2
https://discuss.streamlit.io/t/issue-with-cv2/11447
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Display an HTML string in an iframe
https://discuss.streamlit.io/t/display-an-html-string-in-an-iframe/11402
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 to Streamlit sharing (before/after app is ready)?
https://discuss.streamlit.io/t/invitation-to-streamlit-sharing-before-after-app-is-ready/11273
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Does cache clearing by one app user affect everyone?
https://discuss.streamlit.io/t/does-cache-clearing-by-one-app-user-affect-everyone/11377
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 first app (Question and answer Game of thrones)
https://discuss.streamlit.io/t/my-first-app-question-and-answer-game-of-thrones/8566
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 with nodjs npms
https://discuss.streamlit.io/t/deploy-streamlit-app-with-nodjs-npms/10120
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 app stuck in the oven
https://discuss.streamlit.io/t/streamlit-sharing-app-stuck-in-the-oven/10932
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 load big files ( around 1gb) with Streamlit Sharing?
https://discuss.streamlit.io/t/how-to-load-big-files-around-1gb-with-streamlit-sharing/11162
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 add thumbnail and quick description when sharing a Streamlit link?
https://discuss.streamlit.io/t/how-to-add-thumbnail-and-quick-description-when-sharing-a-streamlit-link/11255
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Opening Streamlit using bat file results in error loading model
https://discuss.streamlit.io/t/opening-streamlit-using-bat-file-results-in-error-loading-model/11251
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
AttributeError: module ‘attr’ has no attribute ‘s’
https://discuss.streamlit.io/t/attributeerror-module-attr-has-no-attribute-s/11182
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Cv2 package error
https://discuss.streamlit.io/t/cv2-package-error/10945
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 edit the config.toml file on Streamlit Sharing?
https://discuss.streamlit.io/t/how-to-edit-the-config-toml-file-on-streamlit-sharing/11158
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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: Could not find a version that satisfies the requirement reticker
https://discuss.streamlit.io/t/error-could-not-find-a-version-that-satisfies-the-requirement-reticker/11045
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 stuck in the oven
https://discuss.streamlit.io/t/app-stuck-in-the-oven/10783
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Caching not working
https://discuss.streamlit.io/t/caching-not-working/10937
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 Pycaret No Module Found
https://discuss.streamlit.io/t/streamlit-pycaret-no-module-found/10277
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 has been stuck in the oven since yesterday
https://discuss.streamlit.io/t/app-has-been-stuck-in-the-oven-since-yesterday/10752
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Apps appearing on the Gallery
https://discuss.streamlit.io/t/apps-appearing-on-the-gallery/10912
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Is there a subscription plan coming for Streamlit sharing?
https://discuss.streamlit.io/t/is-there-a-subscription-plan-coming-for-streamlit-sharing/10846
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
OutOfBoundsDatetime
https://discuss.streamlit.io/t/outofboundsdatetime/10847
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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