Unable to deploy due to ModuleNotFoundError following rollback of some changes

I’m currently encountering some issues deploying on the cloud after the rollback of some changes on github.

Previously, there was no problem during deployment and everything was working fine.

Now I’m having issues with the importation of modules hence I am getting a ModuleNotFoundError.

What could be causing this issue and is there a solution?

Without a detailed error message and without seeing the actual code, we can’t even guess what the problem might be…

The code is at GitHub - veeyuen/SAA-website

And the log is as follows:

[ UTC ] Logs for veeyuen-saa-website-streamlit-app-tetyou.streamlit.app/
────────────────────────────────────────────────────────────────────────────────────────
[15:29:00] :rocket: Starting up repository: ‘saa-website’, branch: ‘master’, main module: ‘streamlit_app.py’
[15:29:00] :octopus: Cloning repository…
[15:29:01] :octopus: Cloning into ‘/app/saa-website’…

[15:29:01] :octopus: Cloned repository!
[15:29:01] :octopus: Pulling code changes from Github…
[15:29:03] :package: Processing dependencies…

──────────────────────────────────────── pip ───────────────────────────────────────────

Collecting streamlit
Downloading streamlit-1.20.0-py2.py3-none-any.whl (9.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 101.5 MB/s eta 0:00:00[2023-03-28 15:29:04.364685]
Collecting google-cloud-storage==2.4.0
Downloading google_cloud_storage-2.4.0-py2.py3-none-any.whl (106 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 107.0/107.0 KB 141.2 MB/s eta 0:00:00[2023-03-28 15:29:04.487958]
Collecting requests
Downloading requests-2.28.2-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 KB 107.4 MB/s eta 0:00:00[2023-03-28 15:29:04.603681]
Collecting google-resumable-media>=2.3.2
Downloading google_resumable_media-2.4.1-py2.py3-none-any.whl (77 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.7/77.7 KB 124.5 MB/s eta 0:00:00[2023-03-28 15:29:04.766293]
Collecting google-auth<3.0dev,>=1.25.0
Downloading google_auth-2.16.3-py2.py3-none-any.whl (177 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 177.5/177.5 KB 147.7 MB/s eta 0:00:00[2023-03-28 15:29:04.953663]
Collecting google-cloud-core<3.0dev,>=2.3.0
Downloading google_cloud_core-2.3.2-py2.py3-none-any.whl (29 kB)
Collecting google-api-core!=2.0.,!=2.1.,!=2.2.*,!=2.3.0,<3.0.0dev,>=1.31.5
Downloading google_api_core-2.11.0-py3-none-any.whl (120 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.3/120.3 KB 148.2 MB/s eta 0:00:00[2023-03-28 15:29:05.190010]
Collecting protobuf<4,>=3.12
Downloading protobuf-3.20.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 167.7 MB/s eta 0:00:00[2023-03-28 15:29:05.770844]
Collecting cachetools>=4.0
Downloading cachetools-5.3.0-py3-none-any.whl (9.3 kB)
Collecting pydeck>=0.1.dev5
Downloading pydeck-0.8.0-py2.py3-none-any.whl (4.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.7/4.7 MB 164.4 MB/s eta 0:00:00[2023-03-28 15:29:05.929302]
Collecting python-dateutil
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 KB 153.9 MB/s eta 0:00:00[2023-03-28 15:29:05.988432]
Collecting importlib-metadata>=1.4
Downloading importlib_metadata-6.1.0-py3-none-any.whl (21 kB)
Collecting packaging>=14.1
Downloading packaging-23.0-py3-none-any.whl (42 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.7/42.7 KB 89.9 MB/s eta 0:00:00[2023-03-28 15:29:06.200776]
Collecting click>=7.0
Downloading click-8.1.3-py3-none-any.whl (96 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 KB 125.9 MB/s eta 0:00:00[2023-03-28 15:29:06.282094]
Collecting pympler>=0.9
Downloading Pympler-1.0.1-py3-none-any.whl (164 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.8/164.8 KB 133.5 MB/s eta 0:00:00[2023-03-28 15:29:06.331932]
Collecting validators>=0.2
Downloading validators-0.20.0.tar.gz (30 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status ‘done’
Collecting toml
Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting watchdog
Downloading watchdog-3.0.0-py3-none-manylinux2014_x86_64.whl (82 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.1/82.1 KB 127.6 MB/s eta 0:00:00[2023-03-28 15:29:07.077991]
Collecting tzlocal>=1.1
Downloading tzlocal-4.3-py3-none-any.whl (20 kB)
Collecting altair<5,>=3.2.0
Downloading altair-4.2.2-py3-none-any.whl (813 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 813.6/813.6 KB 159.1 MB/s eta 0:00:00[2023-03-28 15:29:07.210126]
Collecting typing-extensions>=3.10.0.0
Downloading typing_extensions-4.5.0-py3-none-any.whl (27 kB)
Collecting numpy
Downloading numpy-1.24.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 195.1 MB/s eta 0:00:00[2023-03-28 15:29:07.836461]
Collecting blinker>=1.0.0
Downloading blinker-1.5-py2.py3-none-any.whl (12 kB)
Collecting semver
Downloading semver-2.13.0-py2.py3-none-any.whl (12 kB)
Collecting pandas<2,>=0.25
Downloading pandas-1.5.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.2/12.2 MB 111.8 MB/s eta 0:00:00[2023-03-28 15:29:08.504728]
Collecting rich>=10.11.0
Downloading rich-13.3.3-py3-none-any.whl (238 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 238.7/238.7 KB 162.6 MB/s eta 0:00:00[2023-03-28 15:29:08.751314]
Collecting tornado>=6.0.3
Downloading tornado-6.2-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (423 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 424.0/424.0 KB 156.9 MB/s eta 0:00:00[2023-03-28 15:29:08.885269]
Collecting pillow>=6.2.0
Downloading Pillow-9.4.0-cp39-cp39-manylinux_2_28_x86_64.whl (3.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 195.5 MB/s eta 0:00:00[2023-03-28 15:29:09.427095]
Collecting gitpython!=3.1.19
Downloading GitPython-3.1.31-py3-none-any.whl (184 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 184.3/184.3 KB 148.8 MB/s eta 0:00:00[2023-03-28 15:29:09.533268]
Collecting pyarrow>=4.0
Downloading pyarrow-11.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.9/34.9 MB 153.8 MB/s eta 0:00:00[2023-03-28 15:29:10.032269]
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.15-py2.py3-none-any.whl (140 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.9/140.9 KB 194.9 MB/s eta 0:00:00[2023-03-28 15:29:10.173979]
Collecting charset-normalizer<4,>=2
Downloading charset_normalizer-3.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (199 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.2/199.2 KB 203.2 MB/s eta 0:00:00[2023-03-28 15:29:10.301502]
Collecting certifi>=2017.4.17
Downloading certifi-2022.12.7-py3-none-any.whl (155 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 KB 242.4 MB/s eta 0:00:00[2023-03-28 15:29:10.353945]
Collecting idna<4,>=2.5
Downloading idna-3.4-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 KB 108.2 MB/s eta 0:00:00[2023-03-28 15:29:10.410710]
Collecting jinja2
Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 KB 138.7 MB/s eta 0:00:00[2023-03-28 15:29:10.496553]
Collecting entrypoints
Downloading entrypoints-0.4-py3-none-any.whl (5.3 kB)
Collecting toolz
Downloading toolz-0.12.0-py3-none-any.whl (55 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.8/55.8 KB 127.4 MB/s eta 0:00:00[2023-03-28 15:29:10.584771]
Collecting jsonschema>=3.0
Downloading jsonschema-4.17.3-py3-none-any.whl (90 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.4/90.4 KB 132.8 MB/s eta 0:00:00[2023-03-28 15:29:10.694855]
Collecting gitdb<5,>=4.0.1
Downloading gitdb-4.0.10-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 KB 111.3 MB/s eta 0:00:00[2023-03-28 15:29:10.772791]
Collecting googleapis-common-protos<2.0dev,>=1.56.2
Downloading googleapis_common_protos-1.59.0-py2.py3-none-any.whl (223 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 223.6/223.6 KB 153.4 MB/s eta 0:00:00[2023-03-28 15:29:10.935036]
Collecting pyasn1-modules>=0.2.1
Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 KB 152.1 MB/s eta 0:00:00[2023-03-28 15:29:11.061523]
Collecting rsa<5,>=3.1.4
Downloading rsa-4.9-py3-none-any.whl (34 kB)
Collecting six>=1.9.0
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting google-crc32c<2.0dev,>=1.0
Downloading google_crc32c-1.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (32 kB)
Collecting zipp>=0.5
Downloading zipp-3.15.0-py3-none-any.whl (6.8 kB)
Collecting pytz>=2020.1
Downloading pytz-2023.2-py2.py3-none-any.whl (502 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.1/502.1 KB 159.2 MB/s eta 0:00:00[2023-03-28 15:29:11.717021]
Collecting pygments<3.0.0,>=2.13.0
Downloading Pygments-2.14.0-py3-none-any.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 159.8 MB/s eta 0:00:00[2023-03-28 15:29:11.997222]
Collecting markdown-it-py<3.0.0,>=2.2.0
Downloading markdown_it_py-2.2.0-py3-none-any.whl (84 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.5/84.5 KB 140.7 MB/s eta 0:00:00[2023-03-28 15:29:12.075662]
Collecting pytz-deprecation-shim
Downloading pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl (15 kB)
Collecting decorator>=3.4.0
Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting smmap<6,>=3.0.1
Downloading smmap-5.0.0-py3-none-any.whl (24 kB)
Collecting MarkupSafe>=2.0
Downloading MarkupSafe-2.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Downloading pyrsistent-0.19.3-py3-none-any.whl (57 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.5/57.5 KB 113.5 MB/s eta 0:00:00[2023-03-28 15:29:12.668003]
Collecting attrs>=17.4.0
Downloading attrs-22.2.0-py3-none-any.whl (60 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.0/60.0 KB 135.2 MB/s eta 0:00:00[2023-03-28 15:29:12.727659]
Collecting mdurl~=0.1
Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Collecting pyasn1<0.5.0,>=0.4.6
Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 KB 126.2 MB/s eta 0:00:00[2023-03-28 15:29:12.906753]
Collecting tzdata
Downloading tzdata-2023.2-py2.py3-none-any.whl (342 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 342.1/342.1 KB 163.8 MB/s eta 0:00:00[2023-03-28 15:29:13.089726]
Building wheels for collected packages: validators
Building wheel for validators (setup.py): started
Building wheel for validators (setup.py): finished with status ‘done’
Created wheel for validators: filename=validators-0.20.0-py3-none-any.whl size=19581 sha256=7f5cb685d55df1937467a4797a3060460624ddaa7cab22fab1ed19fccc76ee49
Stored in directory: /tmp/pip-ephem-wheel-cache-oubiec0y/wheels/2d/f0/a8/1094fca7a7e5d0d12ff56e0c64675d72aa5cc81a5fc200e849
Successfully built validators
Installing collected packages: pytz, pyasn1, zipp, watchdog, urllib3, tzdata, typing-extensions, tornado, toolz, toml, smmap, six, semver, rsa, pyrsistent, pympler, pygments, pyasn1-modules, protobuf, pillow, packaging, numpy, mdurl, MarkupSafe, idna, google-crc32c, entrypoints, decorator, click, charset-normalizer, certifi, cachetools, blinker, attrs, validators, requests, pytz-deprecation-shim, python-dateutil, pyarrow, markdown-it-py, jsonschema, jinja2, importlib-metadata, googleapis-common-protos, google-resumable-media, google-auth, gitdb, tzlocal, rich, pydeck, pandas, google-api-core, gitpython, google-cloud-core, altair, streamlit, google-cloud-storage
Successfully installed MarkupSafe-2.1.2 altair-4.2.2 attrs-22.2.0 blinker-1.5 cachetools-5.3.0 certifi-2022.12.7 charset-normalizer-3.1.0 click-8.1.3 decorator-5.1.1 entrypoints-0.4 gitdb-4.0.10 gitpython-3.1.31 google-api-core-2.11.0 google-auth-2.16.3 google-cloud-core-2.3.2 google-cloud-storage-2.4.0 google-crc32c-1.5.0 google-resumable-media-2.4.1 googleapis-common-protos-1.59.0 idna-3.4 importlib-metadata-6.1.0 jinja2-3.1.2 jsonschema-4.17.3 markdown-it-py-2.2.0 mdurl-0.1.2 numpy-1.24.2 packaging-23.0 pandas-1.5.3 pillow-9.4.0 protobuf-3.20.3 pyarrow-11.0.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 pydeck-0.8.0 pygments-2.14.0 pympler-1.0.1 pyrsistent-0.19.3 python-dateutil-2.8.2 pytz-2023.2 pytz-deprecation-shim-0.1.0.post0 requests-2.28.2 rich-13.3.3 rsa-4.9 semver-2.13.0 six-1.16.0 smmap-5.0.0 streamlit-1.20.0 toml-0.10.2 toolz-0.12.0 tornado-6.2 typing-extensions-4.5.0 tzdata-2023.2 tzlocal-4.3 urllib3-1.26.15 validators-0.20.0 watchdog-3.0.0 zipp-3.15.0
WARNING: You are using pip version 22.0.3; however, version 23.0.1 is available.
You should consider upgrading via the ‘/home/appuser/venv/bin/python -m pip install --upgrade pip’ command.
Checking if Streamlit is installed
Found Streamlit version 1.20.0 in the environment
Streamlit 1.20.0 is present. Installing click 8
Collecting click==8
Downloading click-8.0.0-py3-none-any.whl (96 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.9/96.9 KB 5.5 MB/s eta 0:00:00
Installing collected packages: click
Attempting uninstall: click
Found existing installation: click 8.1.3
Uninstalling click-8.1.3:
Successfully uninstalled click-8.1.3
Successfully installed click-8.0.0
WARNING: You are using pip version 22.0.3; however, version 23.0.1 is available.
You should consider upgrading via the ‘/home/appuser/venv/bin/python -m pip install --upgrade pip’ command.
Streamlit 1.20.0 is present. Installing protobuf 3.20.1
Collecting protobuf==3.20.1
Downloading protobuf-3.20.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 23.9 MB/s eta 0:00:00[2023-03-28 15:29:36.937339]
Installing collected packages: protobuf
Attempting uninstall: protobuf
Found existing installation: protobuf 3.20.3
Uninstalling protobuf-3.20.3:
Successfully uninstalled protobuf-3.20.3
ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
googleapis-common-protos 1.59.0 requires protobuf!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.20.1 which is incompatible.
google-api-core 2.11.0 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.20.1 which is incompatible.
Successfully installed protobuf-3.20.1
WARNING: You are using pip version 22.0.3; however, version 23.0.1 is available.
You should consider upgrading via the ‘/home/appuser/venv/bin/python -m pip install --upgrade pip’ command.

────────────────────────────────────────────────────────────────────────────────────────

[15:29:38] :snake: Python dependencies were installed from /app/saa-website/requirements.txt using pip.
Check if streamlit is installed
Streamlit is already installed
[15:29:39] :package: Processed dependencies!

Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.

2023-03-28 15:29:59.143 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-28 15:46:06.317 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-28 16:15:46.109 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-28 17:54:28.695 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-28 20:04:23.991 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-28 22:09:42.957 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-28 23:35:02.556 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 00:30:18.290 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 00:31:08.739 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 00:57:43.895 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 01:40:56.118 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 06:22:11.791 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 08:05:02.633 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 08:17:35.192 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 08:34:02.912 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 08:37:06.159 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 08:41:11.973 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 08:49:07.790 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 08:53:29.268 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 08:55:53.815 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 08:58:19.013 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 08:58:21.629 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 10:22:44.189 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 14:56:34.873 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 14:57:23.153 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 15:04:19.953 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 15:05:21.878 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 15:08:21.607 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 15:16:07.775 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 15:18:51.893 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 15:21:38.192 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 15:29:47.660 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 15:32:33.514 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 15:39:50.598 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 15:42:00.984 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named ‘seaborn’
2023-03-29 15:57:46.073 Uncaught app exception
Traceback (most recent call last):
File “/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py”, line 565, in _run_script
exec(code, module.dict)
File “/app/saa-website/streamlit_app.py”, line 9, in
import seaborn as sns
ModuleNotFoundError: No module named 'seaborn’Link to code

Try this:

requirements.txt

pandas
matplotlib
seaborn
streamlit
google-cloud-storage>=2.4.0
1 Like

That didn’t seem to work

I have confirmed it is a problem with the import of seaborn. When I take that out the rest of the code runs.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.