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
How many days will it take to get share invite ,for deploying apps?
https://discuss.streamlit.io/t/how-many-days-will-it-take-to-get-share-invite-for-deploying-apps/14212
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
https://discuss.streamlit.io/t/invitation-to-streamlit-sharing/15897
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 limit max upload size on share.streamlit.io?
https://discuss.streamlit.io/t/how-to-limit-max-upload-size-on-share-streamlit-io/15877
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Long slider text overlapping
https://discuss.streamlit.io/t/long-slider-text-overlapping/15828
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 exceeds resource limits
https://discuss.streamlit.io/t/app-exceeds-resource-limits/15853
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Enable Streamlit app to be used by different users using their own DB credentials
https://discuss.streamlit.io/t/enable-streamlit-app-to-be-used-by-different-users-using-their-own-db-credentials/15774
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
TypeError: ‘type’ object is not subscriptable when sharing streamlit app
https://discuss.streamlit.io/t/typeerror-type-object-is-not-subscriptable-when-sharing-streamlit-app/15726
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 load librosa while deployment
https://discuss.streamlit.io/t/unable-to-load-librosa-while-deployment/15706
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Host Streamlit app in personal computer with custom domain
https://discuss.streamlit.io/t/host-streamlit-app-in-personal-computer-with-custom-domain/15625
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Why do I have to reboot after changes
https://discuss.streamlit.io/t/why-do-i-have-to-reboot-after-changes/15548
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Managing dependencies and Poetry
https://discuss.streamlit.io/t/managing-dependencies-and-poetry/15586
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 not updating automatically from Github anymore
https://discuss.streamlit.io/t/streamlit-not-updating-automatically-from-github-anymore/14414
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Pdf2image issues
https://discuss.streamlit.io/t/pdf2image-issues/15530
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 a PyTorch model
https://discuss.streamlit.io/t/deploying-a-pytorch-model/4198
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Interactive plotly map
https://discuss.streamlit.io/t/interactive-plotly-map/15483
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Pip upgrade
https://discuss.streamlit.io/t/pip-upgrade/12918
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 for increased resourcing for stability to a potentially large user base
https://discuss.streamlit.io/t/request-for-increased-resourcing-for-stability-to-a-potentially-large-user-base/15415
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Even when the cache limit set, the app still went over its resource limits
https://discuss.streamlit.io/t/even-when-the-cache-limit-set-the-app-still-went-over-its-resource-limits/15374
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 no longer deploys after change regarding downloading data from internet
https://discuss.streamlit.io/t/app-no-longer-deploys-after-change-regarding-downloading-data-from-internet/15358
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 download file for my app when sharing it
https://discuss.streamlit.io/t/unable-to-download-file-for-my-app-when-sharing-it/15351
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 pywin32==301 (from versions: none)
https://discuss.streamlit.io/t/error-could-not-find-a-version-that-satisfies-the-requirement-pywin32-301-from-versions-none/15343
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Not Able to diploy app
https://discuss.streamlit.io/t/not-able-to-diploy-app/15311
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Multi page app
https://discuss.streamlit.io/t/multi-page-app/15308
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Unable to deploy my aaplication on Streamlit sharing
https://discuss.streamlit.io/t/unable-to-deploy-my-aaplication-on-streamlit-sharing/15298
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 no longer running with Github
https://discuss.streamlit.io/t/streamlit-app-no-longer-running-with-github/14559
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Dependency error even after adding libglib2.0-0 to package.txt
https://discuss.streamlit.io/t/dependency-error-even-after-adding-libglib2-0-0-to-package-txt/15293
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 pickle (from versions: none) ERROR: No matching distribution found for pickle
https://discuss.streamlit.io/t/error-could-not-find-a-version-that-satisfies-the-requirement-pickle-from-versions-none-error-no-matching-distribution-found-for-pickle/15222
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 more than 3 apps?
https://discuss.streamlit.io/t/how-to-deploy-more-than-3-apps/6562
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 include non-Python dependencies TA-Lib - Streamlit
https://discuss.streamlit.io/t/how-to-include-non-python-dependencies-ta-lib-streamlit/15253
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 deploy to streamlit sharing from GitLab?
https://discuss.streamlit.io/t/is-it-possible-to-deploy-to-streamlit-sharing-from-gitlab/15277
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 - Matplotlib app
https://discuss.streamlit.io/t/this-app-has-gone-over-its-resource-limits-matplotlib-app/15237
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 does not work on some browser under some unknown conditions
https://discuss.streamlit.io/t/sharing-does-not-work-on-some-browser-under-some-unknown-conditions/14955
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Output video using OpenCV h264 mp4s on Streamlit Sharing
https://discuss.streamlit.io/t/output-video-using-opencv-h264-mp4s-on-streamlit-sharing/15126
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Df.style.applymap gives error since a few days
https://discuss.streamlit.io/t/df-style-applymap-gives-error-since-a-few-days/15113
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 queue email issue
https://discuss.streamlit.io/t/sharing-invite-queue-email-issue/15077
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
TCP/IP connection to Postgres Error
https://discuss.streamlit.io/t/tcp-ip-connection-to-postgres-error/14825
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 I please get the invite ASAP?
https://discuss.streamlit.io/t/can-i-please-get-the-invite-asap/14968
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Should I always include pandas and other library versions in requirements file?
https://discuss.streamlit.io/t/should-i-always-include-pandas-and-other-library-versions-in-requirements-file/15022
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
PermissionError: [Errno 13] Permission denied
https://discuss.streamlit.io/t/permissionerror-errno-13-permission-denied/14985
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Share Streamlit Deploy error : Error Unable to find streamlit_app at stbeau/projet-62-ui-streamlit-share branch “master”
https://discuss.streamlit.io/t/share-streamlit-deploy-error-error-unable-to-find-streamlit-app-at-stbeau-projet-62-ui-streamlit-share-branch-master/6411
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Flask package is not working in Streamlit Sharing
https://discuss.streamlit.io/t/flask-package-is-not-working-in-streamlit-sharing/14762
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Change limit size in share.streamlit app
https://discuss.streamlit.io/t/change-limit-size-in-share-streamlit-app/14884
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Help me out in this error A9
https://discuss.streamlit.io/t/help-me-out-in-this-error-a9/14637
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
SQLAlchemy - ModuleNotFoundError: No module named ‘sqlalchemy’
https://discuss.streamlit.io/t/sqlalchemy-modulenotfounderror-no-module-named-sqlalchemy/14727
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 environment is inconsistent and unstable
https://discuss.streamlit.io/t/sharing-environment-is-inconsistent-and-unstable/14749
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
https://share.streamlit.io/jestures/cp/main/wrccac.py
https://discuss.streamlit.io/t/https-share-streamlit-io-jestures-cp-main-wrccac-py/14597
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 Tutorials from Python for Digital Humanities Tutorials on YouTube
https://discuss.streamlit.io/t/streamlit-tutorials-from-python-for-digital-humanities-tutorials-on-youtube/14566
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
File permission error (reopened)
https://discuss.streamlit.io/t/file-permission-error-reopened/8439
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 and hide code
https://discuss.streamlit.io/t/share-and-hide-code/14603
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Rd-kit Package not Found Error while deploying a code
https://discuss.streamlit.io/t/rd-kit-package-not-found-error-while-deploying-a-code/14581
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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/o operation on closed file - Error
https://discuss.streamlit.io/t/i-o-operation-on-closed-file-error/14560
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 shared app fails
https://discuss.streamlit.io/t/streamlit-shared-app-fails/14510
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Login failure
https://discuss.streamlit.io/t/login-failure/11575
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Numpy dependency error occurs while deploying
https://discuss.streamlit.io/t/numpy-dependency-error-occurs-while-deploying/14441
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 message on Streamlit
https://discuss.streamlit.io/t/error-message-on-streamlit/14432
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Error after deploying application: `pandas.errors.ParserError: Error tokenizing data. C error: Expected 1 fields in line 65, saw 6` but app runs fine locally
https://discuss.streamlit.io/t/error-after-deploying-application-pandas-errors-parsererror-error-tokenizing-data-c-error-expected-1-fields-in-line-65-saw-6-but-app-runs-fine-locally/14338
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 live app & pyserial
https://discuss.streamlit.io/t/streamlit-live-app-pyserial/14343
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
My app crashes after some time being deployed in Share Streamlit
https://discuss.streamlit.io/t/my-app-crashes-after-some-time-being-deployed-in-share-streamlit/14335
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Server error [A6]: Unable to set Github listener
https://discuss.streamlit.io/t/server-error-a6-unable-to-set-github-listener/14323
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Using PYOMO + GLPK on Streamlit Share
https://discuss.streamlit.io/t/using-pyomo-glpk-on-streamlit-share/14257
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 Streamlit invite
https://discuss.streamlit.io/t/issue-with-streamlit-invite/14317
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 shared on Streamlit Sharing is completely frozen, won’t even reboot
https://discuss.streamlit.io/t/app-shared-on-streamlit-sharing-is-completely-frozen-wont-even-reboot/14245
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 lmxl==4.6.2 (from versions: none) & ImportError: lxml not found, please install it
https://discuss.streamlit.io/t/error-could-not-find-a-version-that-satisfies-the-requirement-lmxl-4-6-2-from-versions-none-importerror-lxml-not-found-please-install-it/14165
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
“Resource limits” error increasing frequency
https://discuss.streamlit.io/t/resource-limits-error-increasing-frequency/12860
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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: libxml2.so.2: cannot open shared object file: No such file or directory
https://discuss.streamlit.io/t/importerror-libxml2-so-2-cannot-open-shared-object-file-no-such-file-or-directory/14265
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Failing deployment share.streamlit.io
https://discuss.streamlit.io/t/failing-deployment-share-streamlit-io/14239
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Streamlit deploying error
https://discuss.streamlit.io/t/streamlit-deploying-error/14119
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 dependencies torch==1.9.0+cu102
https://discuss.streamlit.io/t/cant-find-dependencies-torch-1-9-0-cu102/14182
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Connecting to Streamlit server Forever
https://discuss.streamlit.io/t/connecting-to-streamlit-server-forever/12404
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 grid systems
https://discuss.streamlit.io/t/streamlit-grid-systems/14179
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 dependency problem - ImportError: libGL.so.1: cannot open shared object file: No such file or directory
https://discuss.streamlit.io/t/streamlit-dependency-problem-importerror-libgl-so-1-cannot-open-shared-object-file-no-such-file-or-directory/14120
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 ‘google_trans_new’
https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-google-trans-new/13851
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 know the Sharing Server IP Address?
https://discuss.streamlit.io/t/how-can-i-know-the-sharing-server-ip-address/12812
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Managing your Streamlit dependencies using conda
https://discuss.streamlit.io/t/managing-your-streamlit-dependencies-using-conda/12346
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 error help please!
https://discuss.streamlit.io/t/app-error-help-please/14020
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 a tkinter canvas animation in streamlit.io using Streamlit (part II)
https://discuss.streamlit.io/t/running-a-tkinter-canvas-animation-in-streamlit-io-using-streamlit-part-ii/13789
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Installing ODBC Driver 17 for SQL Server in Streamlit sharing
https://discuss.streamlit.io/t/installing-odbc-driver-17-for-sql-server-in-streamlit-sharing/13936
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 keeps crashing… maybe have a static page render option for dead app?
https://discuss.streamlit.io/t/app-keeps-crashing-maybe-have-a-static-page-render-option-for-dead-app/13928
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Streamlit Server error [A10]: Unable to create app
https://discuss.streamlit.io/t/streamlit-server-error-a10-unable-to-create-app/13883
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 not install RDKit when deploy
https://discuss.streamlit.io/t/can-not-install-rdkit-when-deploy/13841
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 we change the colour of this green section and also its size?
https://discuss.streamlit.io/t/can-we-change-the-colour-of-this-green-section-and-also-its-size/13776
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Proxy needing
https://discuss.streamlit.io/t/proxy-needing/13344
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 Server dies then doesn’t reboot itself
https://discuss.streamlit.io/t/streamlit-sharing-server-dies-then-doesnt-reboot-itself/13616
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 use more than one ML model on Streamlit Share
https://discuss.streamlit.io/t/cant-use-more-than-one-ml-model-on-streamlit-share/13271
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Filepath problem while deploying in streamlit share
https://discuss.streamlit.io/t/filepath-problem-while-deploying-in-streamlit-share/13599
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Feature app in Streamlit Gallery
https://discuss.streamlit.io/t/feature-app-in-streamlit-gallery/13568
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 Share – Monitor traffic on your app
https://discuss.streamlit.io/t/streamlit-share-monitor-traffic-on-your-app/13557
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Scrollable List needed
https://discuss.streamlit.io/t/scrollable-list-needed/13510
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
File write error
https://discuss.streamlit.io/t/file-write-error/13455
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 theme is not updated
https://discuss.streamlit.io/t/streamlit-theme-is-not-updated/13431
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Module not found when deploying streamlit via github
https://discuss.streamlit.io/t/module-not-found-when-deploying-streamlit-via-github/6218
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
My App Is Throwing Some Errors,Please Help
https://discuss.streamlit.io/t/my-app-is-throwing-some-errors-please-help/13300
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Stremlit app deployment issues
https://discuss.streamlit.io/t/stremlit-app-deployment-issues/13403
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 you please help me out with this i have issue while uploading it
https://discuss.streamlit.io/t/can-you-please-help-me-out-with-this-i-have-issue-while-uploading-it/13339
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 uninstall ‘PyYAML’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. CondaEnvException:
https://discuss.streamlit.io/t/cannot-uninstall-pyyaml-it-is-a-distutils-installed-project-and-thus-we-cannot-accurately-determine-which-files-belong-to-it-which-would-lead-to-only-a-partial-uninstall-condaenvexception/13211
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Become Streamlit sharing member
https://discuss.streamlit.io/t/become-streamlit-sharing-member/13184
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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
Azure Deployment / AWS Deployment of Streamlit apps
https://discuss.streamlit.io/t/azure-deployment-aws-deployment-of-streamlit-apps/13234
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 as windows exe standalone
https://discuss.streamlit.io/t/deploy-streamlit-app-as-windows-exe-standalone/13227
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 importing cv2
https://discuss.streamlit.io/t/error-importing-cv2/5844
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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 button clicked in streamlit sharing app , works fine locally
https://discuss.streamlit.io/t/error-when-button-clicked-in-streamlit-sharing-app-works-fine-locally/13142
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There 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