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
Extract zip file in deployed app
https://discuss.streamlit.io/t/extract-zip-file-in-deployed-app/7963
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Deploy Error, Module Plotly not found
https://discuss.streamlit.io/t/deploy-error-module-plotly-not-found/7877
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Libicu-dev needed
https://discuss.streamlit.io/t/libicu-dev-needed/7826
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
No module named matplotlib
https://discuss.streamlit.io/t/no-module-named-matplotlib/7855
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Fig.add_vrect not rendering in st.plotly_chart()
https://discuss.streamlit.io/t/fig-add-vrect-not-rendering-in-st-plotly-chart/7769
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Server error [A8]: Unable to create app
https://discuss.streamlit.io/t/server-error-a8-unable-to-create-app/7652
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Shared streamlit with geopandas
https://discuss.streamlit.io/t/shared-streamlit-with-geopandas/7277
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
AttributeError: ‘NoneType’ object has no attribute ‘group’
https://discuss.streamlit.io/t/attributeerror-nonetype-object-has-no-attribute-group/7363
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 find
https://discuss.streamlit.io/t/error-find/7815
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Issue with Imagemagick package’s installation in Streamlit sharing
https://discuss.streamlit.io/t/issue-with-imagemagick-packages-installation-in-streamlit-sharing/7784
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 and Pycaret
https://discuss.streamlit.io/t/streamlit-sharing-and-pycaret/7789
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 want to allow the user to fix the text-input box
https://discuss.streamlit.io/t/i-want-to-allow-the-user-to-fix-the-text-input-box/7775
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Invalid Repository URL for Public repo
https://discuss.streamlit.io/t/invalid-repository-url-for-public-repo/7725
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
No module named ‘streamlit_echarts’ despite module in requirements.txt
https://discuss.streamlit.io/t/no-module-named-streamlit-echarts-despite-module-in-requirements-txt/7700
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 resolve this error?
https://discuss.streamlit.io/t/how-to-resolve-this-error/7671
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 Invited for a School Project
https://discuss.streamlit.io/t/getting-invited-for-a-school-project/7619
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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: No matching distribution found for pywin32==227
https://discuss.streamlit.io/t/error-no-matching-distribution-found-for-pywin32-227/6845
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 crashes/reset; connection to server lost
https://discuss.streamlit.io/t/streamlit-crashes-reset-connection-to-server-lost/6112
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Worked on local host but got problem loading in streamlit share snapshot of my log file are as below
https://discuss.streamlit.io/t/worked-on-local-host-but-got-problem-loading-in-streamlit-share-snapshot-of-my-log-file-are-as-below/7423
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Deployment issues: is inference with large models like BART possible?
https://discuss.streamlit.io/t/deployment-issues-is-inference-with-large-models-like-bart-possible/7449
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Issue with streamlit app
https://discuss.streamlit.io/t/issue-with-streamlit-app/7442
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 find py
https://discuss.streamlit.io/t/unable-to-find-py/7417
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 for Teams and data security question
https://discuss.streamlit.io/t/streamlit-for-teams-and-data-security-question/7389
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
ModuleNotFound Error when deploying from Github
https://discuss.streamlit.io/t/modulenotfound-error-when-deploying-from-github/7344
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Streamlit sharing not processing all dependencies!
https://discuss.streamlit.io/t/streamlit-sharing-not-processing-all-dependencies/7130
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Specify requirements.txt file
https://discuss.streamlit.io/t/specify-requirements-txt-file/7231
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Deploy multiple Streamlit apps from the same Github repo and the same Streamlit Sharing account
https://discuss.streamlit.io/t/deploy-multiple-streamlit-apps-from-the-same-github-repo-and-the-same-streamlit-sharing-account/7242
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Psutil not allowed on share.streamlit.io?
https://discuss.streamlit.io/t/psutil-not-allowed-on-share-streamlit-io/7166
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 Streamlit apps need better media picture
https://discuss.streamlit.io/t/sharing-streamlit-apps-need-better-media-picture/7162
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Hide credentials
https://discuss.streamlit.io/t/hide-credentials/7153
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Code works fine on the local host but not fully working using streamlit sharing!
https://discuss.streamlit.io/t/code-works-fine-on-the-local-host-but-not-fully-working-using-streamlit-sharing/7104
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Unable to deploy docker based solution
https://discuss.streamlit.io/t/unable-to-deploy-docker-based-solution/7092
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Error while deploying streamlit dashboard
https://discuss.streamlit.io/t/error-while-deploying-streamlit-dashboard/7044
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 for matplotlib during deploying
https://discuss.streamlit.io/t/modulenotfounderror-for-matplotlib-during-deploying/6953
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 - Persist files
https://discuss.streamlit.io/t/streamlit-share-persist-files/6957
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Your app is in the oven!
https://discuss.streamlit.io/t/your-app-is-in-the-oven/6894
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Keras module not found
https://discuss.streamlit.io/t/keras-module-not-found/6866
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
[Solved] Import cv2- no module exists error while deploying
https://discuss.streamlit.io/t/solved-import-cv2-no-module-exists-error-while-deploying/6799
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Efficiency and Vis advice
https://discuss.streamlit.io/t/efficiency-and-vis-advice/6837
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
App works well several times, then suddenly crashes - Any reasons for this?
https://discuss.streamlit.io/t/app-works-well-several-times-then-suddenly-crashes-any-reasons-for-this/6521
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Conceal URI for external data fetching
https://discuss.streamlit.io/t/conceal-uri-for-external-data-fetching/6663
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Some interesting observations
https://discuss.streamlit.io/t/some-interesting-observations/6567
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Connection Error
https://discuss.streamlit.io/t/connection-error/6494
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 need a account activation
https://discuss.streamlit.io/t/i-need-a-account-activation/6573
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 for sharing streamlit
https://discuss.streamlit.io/t/invite-for-sharing-streamlit/6534
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
App stuck in “Please Wait” message
https://discuss.streamlit.io/t/app-stuck-in-please-wait-message/6482
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Repo does not show in dropdown
https://discuss.streamlit.io/t/repo-does-not-show-in-dropdown/6514
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Unable to deploy app when using git submodule
https://discuss.streamlit.io/t/unable-to-deploy-app-when-using-git-submodule/6352
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Volcano Trajectory app
https://discuss.streamlit.io/t/volcano-trajectory-app/6342
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 just gained access to streamlit share platform. Is it possible to extend invitation to friends?
https://discuss.streamlit.io/t/i-just-gained-access-to-streamlit-share-platform-is-it-possible-to-extend-invitation-to-friends/6372
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Share Streamlit Deploy Error : Opencv Module Import Error libGL [Resolved-Ignore]
https://discuss.streamlit.io/t/share-streamlit-deploy-error-opencv-module-import-error-libgl-resolved-ignore/6376
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 Instance Specifications
https://discuss.streamlit.io/t/streamlit-sharing-instance-specifications/6346
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Invalid Repository URL
https://discuss.streamlit.io/t/invalid-repository-url/6304
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 on Streamlit Share
https://discuss.streamlit.io/t/modulenotfounderror-on-streamlit-share/6299
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 see streamlit-drawable-canvas
https://discuss.streamlit.io/t/cannot-see-streamlit-drawable-canvas/6235
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 delete streamlit-echarts app
https://discuss.streamlit.io/t/cannot-delete-streamlit-echarts-app/6233
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
NLTK dependencies
https://discuss.streamlit.io/t/nltk-dependencies/5749
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
[Teams] Issue with deploying PyTorch/NLTK app on Streamlit Teams
https://discuss.streamlit.io/t/teams-issue-with-deploying-pytorch-nltk-app-on-streamlit-teams/5540
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 save image file in to ‘Streamlit for teams’ server while deployment
https://discuss.streamlit.io/t/how-to-save-image-file-in-to-streamlit-for-teams-server-while-deployment/5116
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the 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 version on s4a apps
https://discuss.streamlit.io/t/streamlit-version-on-s4a-apps/4910
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Module not Found Error for Plotting Libraries
https://discuss.streamlit.io/t/module-not-found-error-for-plotting-libraries/4855
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Terms of Use page for S4A not redirected properly
https://discuss.streamlit.io/t/terms-of-use-page-for-s4a-not-redirected-properly/4616
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Alternatives for managing dependencies
https://discuss.streamlit.io/t/alternatives-for-managing-dependencies/4334
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
A little issue with running icon and x icon
https://discuss.streamlit.io/t/a-little-issue-with-running-icon-and-x-icon/4308
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1
streamlit
Streamlit Cloud
Welcome to the Streamlit for Teams Beta!
https://discuss.streamlit.io/t/welcome-to-the-streamlit-for-teams-beta/4119
Hello I am trying to connect PostgreSQL on Heroku server using psycopg2, it worked locally on my pc, but after pushed to Streamlit Cloud, it shows ModuleNotFoundError after rebooting. Here is the Traceback Uncaught app exception Traceback (most recent call last): File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script exec(code, module.__dict__) File "/app/data_test/src/example.py", line 4, in <module> import psycopg2 ModuleNotFoundError: No module named 'psycopg2' I have the following two packages in requirements.txt at the top level repo psycopg2==2.9.3 psycopg2-binary==2.9.3 Wonder if any dependencies are missing? There are a couple of prerequisites in using psycopg2, will this be the cause? https://www.psycopg.org/docs/install.html#prerequisites 1 Many thanks!
Hi @frances Streamlit looks at your requirements file’s filename to determine which Python dependency manager to use in the order below. Streamlit will stop and install the first requirements file found. Filename Dependency Manager Documentation Pipfile pipenv docs environment.yml conda docs 1 requirements.txt pip docs pyproject.toml poetry docs What’s happening is that Streamlit parses your Pipfile containing no packages, and exits the installation process – entirely skipping your requirements.txt. Once you delete the Pipfile from your repo, Streamlit will install the Python dependencies specified in requirements.txt, including the psycog2-binary package. Source: App dependencies - Streamlit Docs Happy Streamlit-ing! Snehan
1