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
App stuck connecting (when I am logged) working fine in anonymous mode
https://discuss.streamlit.io/t/app-stuck-connecting-when-i-am-logged-working-fine-in-anonymous-mode/10850
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Isocalender
https://discuss.streamlit.io/t/isocalender/10807
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Private Github Repo
https://discuss.streamlit.io/t/private-github-repo/10738
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 rogue processes
https://discuss.streamlit.io/t/streamlit-share-rogue-processes/10730
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Requirements.txt
https://discuss.streamlit.io/t/requirements-txt/10776
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Import pywhatkit and KeyError: ‘display’
https://discuss.streamlit.io/t/import-pywhatkit-and-keyerror-display/10486
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 request overdue
https://discuss.streamlit.io/t/streamlit-sharing-request-overdue/10717
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Loading pretrained weights worked fine at local but keep throwing error when I deploy it
https://discuss.streamlit.io/t/loading-pretrained-weights-worked-fine-at-local-but-keep-throwing-error-when-i-deploy-it/10574
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 license
https://discuss.streamlit.io/t/streamlit-sharing-license/10570
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 healthz manager error
https://discuss.streamlit.io/t/streamlit-healthz-manager-error/10692
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 ‘joblib’
https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-joblib/8837
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Regular reboot required
https://discuss.streamlit.io/t/regular-reboot-required/10507
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 install requirement - python-poppler
https://discuss.streamlit.io/t/cannot-install-requirement-python-poppler/10612
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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: Missing optional dependency ‘xlrd’. Install xlrd >= 1.0.0 for Excel support Use pip or conda to install xlrd
https://discuss.streamlit.io/t/importerror-missing-optional-dependency-xlrd-install-xlrd-1-0-0-for-excel-support-use-pip-or-conda-to-install-xlrd/10538
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 deployed app “loses” uploaded images
https://discuss.streamlit.io/t/streamlit-deployed-app-loses-uploaded-images/10450
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Expected str, bytes or os.PathLike object, not UploadedFile for PDF file
https://discuss.streamlit.io/t/expected-str-bytes-or-os-pathlike-object-not-uploadedfile-for-pdf-file/10436
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Time duration for the invite
https://discuss.streamlit.io/t/time-duration-for-the-invite/10375
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
My first app, please review
https://discuss.streamlit.io/t/my-first-app-please-review/9718
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 long do you have to typically wait for the streamlit.io invite email?
https://discuss.streamlit.io/t/how-long-do-you-have-to-typically-wait-for-the-streamlit-io-invite-email/6988
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Unsupported locale setting
https://discuss.streamlit.io/t/unsupported-locale-setting/9956
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Dlib cmake build error in deployment to Streamlit sharing
https://discuss.streamlit.io/t/dlib-cmake-build-error-in-deployment-to-streamlit-sharing/10140
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 invitation
https://discuss.streamlit.io/t/streamlit-invitation/10035
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Aligning dataframe with plotly chart
https://discuss.streamlit.io/t/aligning-dataframe-with-plotly-chart/7021
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Have a Streamlit Sharing account, but my email address has changed
https://discuss.streamlit.io/t/have-a-streamlit-sharing-account-but-my-email-address-has-changed/9979
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Buying a streamlit sharing invitation
https://discuss.streamlit.io/t/buying-a-streamlit-sharing-invitation/9954
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 ‘bokeh’
https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-bokeh/9947
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 checking Streamlit healthz’ when running inference with a tensorflow model
https://discuss.streamlit.io/t/error-checking-streamlit-healthz-when-running-inference-with-a-tensorflow-model/9822
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Automate the deployment of streamlit app
https://discuss.streamlit.io/t/automate-the-deployment-of-streamlit-app/9895
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Still waiting for sharing invite
https://discuss.streamlit.io/t/still-waiting-for-sharing-invite/9917
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 deployment error - apps.streamlitusercontent.com’s server IP address could not be found
https://discuss.streamlit.io/t/streamlit-app-deployment-error-apps-streamlitusercontent-com-s-server-ip-address-could-not-be-found/9770
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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: loading process stuck on the web
https://discuss.streamlit.io/t/streamlit-sharing-loading-process-stuck-on-the-web/9675
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Best practices for fetching artifacts requried for the app?
https://discuss.streamlit.io/t/best-practices-for-fetching-artifacts-requried-for-the-app/6538
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Function to download csv not open pop to start
https://discuss.streamlit.io/t/function-to-download-csv-not-open-pop-to-start/9726
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
WebSocketClosedError
https://discuss.streamlit.io/t/websocketclosederror/9508
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 ‘wordcloud’
https://discuss.streamlit.io/t/modulenotfounderror-no-module-named-wordcloud/9577
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Automatization
https://discuss.streamlit.io/t/automatization/9506
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 deploying app on Streamlit sharing
https://discuss.streamlit.io/t/help-deploying-app-on-streamlit-sharing/9556
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Parameters in URL
https://discuss.streamlit.io/t/parameters-in-url/9600
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Walrus operator in Streamlit sharing
https://discuss.streamlit.io/t/walrus-operator-in-streamlit-sharing/9585
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Side bar / URL
https://discuss.streamlit.io/t/side-bar-url/9578
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 with invitation
https://discuss.streamlit.io/t/help-me-with-invitation/9547
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Raise ImportError(“FigureFactory.create_distplot requires scipy”)
https://discuss.streamlit.io/t/raise-importerror-figurefactory-create-distplot-requires-scipy/9519
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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.components.v1 Error while Deploying
https://discuss.streamlit.io/t/streamlit-components-v1-error-while-deploying/9495
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Cant import other files
https://discuss.streamlit.io/t/cant-import-other-files/9451
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Values slider
https://discuss.streamlit.io/t/values-slider/9434
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 stuck in the oven
https://discuss.streamlit.io/t/my-app-stuck-in-the-oven/9194
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Pro-bono, good for world use-case app has gone over resources
https://discuss.streamlit.io/t/pro-bono-good-for-world-use-case-app-has-gone-over-resources/9357
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
RDS AWS timing out
https://discuss.streamlit.io/t/rds-aws-timing-out/9393
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
FileNotFoundError: [Errno 2] No such file or directory: ‘./vectorizer/sentiment/tfidf_fa.sav’
https://discuss.streamlit.io/t/filenotfounderror-errno-2-no-such-file-or-directory-vectorizer-sentiment-tfidf-fa-sav/9174
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 - Fileupload, where does it go?
https://discuss.streamlit.io/t/streamlit-sharing-fileupload-where-does-it-go/9267
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Loading data, getting None
https://discuss.streamlit.io/t/loading-data-getting-none/9207
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 blocks custom webcam component due to featurePolicy
https://discuss.streamlit.io/t/sharing-blocks-custom-webcam-component-due-to-featurepolicy/8876
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Plotly Map not Rendering in StreamLit
https://discuss.streamlit.io/t/plotly-map-not-rendering-in-streamlit/9165
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 install pyodbc on streamlit sharing
https://discuss.streamlit.io/t/unable-to-install-pyodbc-on-streamlit-sharing/7444
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Custom domain for my streamlit application
https://discuss.streamlit.io/t/custom-domain-for-my-streamlit-application/8939
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 install PolyFuzz on Streamlit Sharing
https://discuss.streamlit.io/t/cannot-install-polyfuzz-on-streamlit-sharing/8987
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Waiting for sharing invite
https://discuss.streamlit.io/t/waiting-for-sharing-invite/8541
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 print/save PDF multiple pages when deployed but can locally
https://discuss.streamlit.io/t/cant-print-save-pdf-multiple-pages-when-deployed-but-can-locally/8434
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Quick way to clear cache on app deployed to S4?
https://discuss.streamlit.io/t/quick-way-to-clear-cache-on-app-deployed-to-s4/8792
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 Invite
https://discuss.streamlit.io/t/streamlit-sharing-invite/8738
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Environment variable indicating my app is running on streamlit sharing
https://discuss.streamlit.io/t/environment-variable-indicating-my-app-is-running-on-streamlit-sharing/8668
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Failure to deploy app
https://discuss.streamlit.io/t/failure-to-deploy-app/8624
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 to Streamlit Sharing getting stuck
https://discuss.streamlit.io/t/deploying-to-streamlit-sharing-getting-stuck/8740
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Experience with Streamlit Sharing
https://discuss.streamlit.io/t/experience-with-streamlit-sharing/6350
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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: Wikipedia - on streamlit share
https://discuss.streamlit.io/t/modulenotfounderror-wikipedia-on-streamlit-share/8720
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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
https://discuss.streamlit.io/t/app-error/8599
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
News summarisation app crashing
https://discuss.streamlit.io/t/news-summarisation-app-crashing/8647
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 clear memory after closing the app?!
https://discuss.streamlit.io/t/how-to-clear-memory-after-closing-the-app/8614
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 Limit Overages
https://discuss.streamlit.io/t/resource-limit-overages/8590
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Camera and OPENCV Get Error using Streamlit Share
https://discuss.streamlit.io/t/camera-and-opencv-get-error-using-streamlit-share/8626
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 delete app
https://discuss.streamlit.io/t/unable-to-delete-app/5652
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 get st.cache() to work for me
https://discuss.streamlit.io/t/cant-get-st-cache-to-work-for-me/8616
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 Path to local files created during execution
https://discuss.streamlit.io/t/using-path-to-local-files-created-during-execution/8620
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
receive invitation
https://discuss.streamlit.io/t/receive-invitation/8559
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 download large model files to the sharing app?
https://discuss.streamlit.io/t/how-to-download-large-model-files-to-the-sharing-app/7160
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 Link
https://discuss.streamlit.io/t/streamlit-sharing-link/8544
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 invitation
https://discuss.streamlit.io/t/streamlit-sharing-invitation/8522
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Shortlink issue
https://discuss.streamlit.io/t/shortlink-issue/8515
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Waiting for invitation for Streamlit sharing
https://discuss.streamlit.io/t/waiting-for-invitation-for-streamlit-sharing/8503
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 add conda package in requirements.txt?
https://discuss.streamlit.io/t/can-i-add-conda-package-in-requirements-txt/8062
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Waiting for invitation to share
https://discuss.streamlit.io/t/waiting-for-invitation-to-share/8423
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 extend invitation
https://discuss.streamlit.io/t/streamlit-sharing-extend-invitation/8293
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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: OpenCV(4.4.0)
https://discuss.streamlit.io/t/error-opencv-4-4-0/8207
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 access streamlit app from outside of network
https://discuss.streamlit.io/t/cant-access-streamlit-app-from-outside-of-network/8403
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
App stuck on “Please wait…” / “App is in the oven”
https://discuss.streamlit.io/t/app-stuck-on-please-wait-app-is-in-the-oven/8395
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 Invitation
https://discuss.streamlit.io/t/request-for-invitation/6432
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 stuck when delpoying
https://discuss.streamlit.io/t/streamlit-shared-app-stuck-when-delpoying/8394
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 permisson error on streamlit.sharing
https://discuss.streamlit.io/t/file-permisson-error-on-streamlit-sharing/8291
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 won’t load?
https://discuss.streamlit.io/t/streamlit-app-wont-load/8280
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Error deploying app to Streamlit sharing
https://discuss.streamlit.io/t/error-deploying-app-to-streamlit-sharing/8192
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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’m getting error when creating my app in streamlit
https://discuss.streamlit.io/t/im-getting-error-when-creating-my-app-in-streamlit/7827
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
First time using session state
https://discuss.streamlit.io/t/first-time-using-session-state/8161
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 view and statistics
https://discuss.streamlit.io/t/streamlit-app-view-and-statistics/8017
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Store Files on Server (streamlit) and access them while air-time of App
https://discuss.streamlit.io/t/store-files-on-server-streamlit-and-access-them-while-air-time-of-app/7138
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 doesn’t deploy in Streamlit Sharing - Possible issue with deploying PyTorch
https://discuss.streamlit.io/t/app-doesnt-deploy-in-streamlit-sharing-possible-issue-with-deploying-pytorch/8007
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Run librairies relying on Java to work? (e.g. PySpark)
https://discuss.streamlit.io/t/run-librairies-relying-on-java-to-work-e-g-pyspark/7342
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Waiting for invitation to share my very first data analytics project
https://discuss.streamlit.io/t/waiting-for-invitation-to-share-my-very-first-data-analytics-project/8085
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 an invitation
https://discuss.streamlit.io/t/sharing-an-invitation/8042
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Invite very very soon
https://discuss.streamlit.io/t/invite-very-very-soon/7997
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Getting error when deploying app, but not when running it locally
https://discuss.streamlit.io/t/getting-error-when-deploying-app-but-not-when-running-it-locally/7927
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1