Hi,
I have an app deployed using requirement.txt and it is working fine. Now, I want an additional feature in my app, which requires me to use a package only available in Anaconda. After switching to environment.yml, I am experiencing problems in deploying the app although it works fine locally.
I replicated the issue with a simple app (github link) just importing streamlit from conda-forge channel. I am getting “installer returned a non-zero exit code” error.
I am getting a different error if I include pip and some other packages (streamlit and pytorch) to be installed by pip in the environment.yml. This time it dowloads and installs the required packages. Although streamlit can be imported in the main app file, pytorch can’t be imported and the app returns “ModuleNotFoundError”. Following is the entire log:
[ UTC ] Logs for mb3636-test-streamlit-conda-streamlit-app-xjir25.streamlit.app/
────────────────────────────────────────────────────────────────────────────────────────
[11:41:14] 🖥 Provisioning machine...
[11:41:19] 🎛 Preparing system...
[11:41:25] ⛓ Spinning up manager process...
[11:41:32] 🎈 Inflating balloons...
[11:41:29] 🚀 Starting up repository: 'test-streamlit-conda', branch: 'master', main module: 'streamlit_app.py'
[11:41:29] 🐙 Cloning repository...
[11:41:30] 🐙 Cloning into '/app/test-streamlit-conda'...
[11:41:30] 🐙 Cloned repository!
[11:41:30] 🐙 Pulling code changes from Github...
[11:41:31] 📦 Processing dependencies...
Collecting package metadata (repodata.json): ...working... [2022-11-14 11:42:41.078038] done
Solving environment: ...working... [2022-11-14 11:42:45.776758] done
Downloading and Extracting Packages
wheel-0.38.4 | 32 KB | | 0% [2022-11-14 11:42:45.962482]
wheel-0.38.4 | 32 KB | ########## | 100% [2022-11-14 11:42:45.962741]
wheel-0.38.4 | 32 KB | ########## | 100% [2022-11-14 11:42:45.963021]
openssl-1.1.1o | 2.1 MB | | 0% [2022-11-14 11:42:46.063620]
openssl-1.1.1o | 2.1 MB | ######6 | 66% [2022-11-14 11:42:46.319026]
openssl-1.1.1o | 2.1 MB | ########## | 100% [2022-11-14 11:42:46.319331]
ca-certificates-2022 | 150 KB | | 0% [2022-11-14 11:42:46.363861]
ca-certificates-2022 | 150 KB | ########## | 100% [2022-11-14 11:42:46.364187]
certifi-2022.9.24 | 155 KB | | 0% [2022-11-14 11:42:46.418541]
certifi-2022.9.24 | 155 KB | ########## | 100% [2022-11-14 11:42:46.418843]
Verifying transaction: ...working... [2022-11-14 11:42:46.848406] done
Installing pip dependencies: ...working... [2022-11-14 11:43:46.893634] Ran pip subprocess with arguments:
['/home/appuser/.conda/bin/python', '-m', 'pip', 'install', '-U', '-r', '/app/test-streamlit-conda/condaenv.j0bcqmpz.requirements.txt']
Pip subprocess output:
Collecting streamlit
Downloading streamlit-1.14.1-py2.py3-none-any.whl (9.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.2/9.2 MB 99.1 MB/s eta 0:00:00
Collecting torch
Downloading torch-1.13.0-cp39-cp39-manylinux1_x86_64.whl (890.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 890.2/890.2 MB 115.9 MB/s eta 0:00:00
Collecting rich>=10.11.0
Downloading rich-12.6.0-py3-none-any.whl (237 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 237.5/237.5 kB 279.2 MB/s eta 0:00:00
Collecting cachetools>=4.0
Downloading cachetools-5.2.0-py3-none-any.whl (9.3 kB)
Collecting semver
Downloading semver-2.13.0-py2.py3-none-any.whl (12 kB)
Collecting requests>=2.4
Downloading requests-2.28.1-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 176.7 MB/s eta 0:00:00
Collecting pympler>=0.9
Downloading Pympler-1.0.1-py3-none-any.whl (164 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.8/164.8 kB 266.4 MB/s eta 0:00:00
Collecting python-dateutil
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 291.1 MB/s eta 0:00:00
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 111.7 MB/s eta 0:00:00
Collecting tzlocal>=1.1
Downloading tzlocal-4.2-py3-none-any.whl (19 kB)
Collecting altair>=3.2.0
Downloading altair-4.2.0-py3-none-any.whl (812 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 812.8/812.8 kB 186.1 MB/s eta 0:00:00
Collecting pandas>=0.21.0
Downloading pandas-1.5.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.2/12.2 MB 223.5 MB/s eta 0:00:00
Collecting pillow>=6.2.0
Downloading Pillow-9.3.0-cp39-cp39-manylinux_2_28_x86_64.whl (3.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 225.7 MB/s eta 0:00:00
Collecting gitpython!=3.1.19
Downloading GitPython-3.1.29-py3-none-any.whl (182 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 182.5/182.5 kB 157.1 MB/s eta 0:00:00
Collecting tornado>=5.0
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 252.7 MB/s eta 0:00:00
Collecting pyarrow>=4.0
Downloading pyarrow-10.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (35.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 35.2/35.2 MB 269.9 MB/s eta 0:00:00
Collecting packaging>=14.1
Downloading packaging-21.3-py3-none-any.whl (40 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 kB 202.3 MB/s eta 0:00:00
Collecting blinker>=1.0.0
Downloading blinker-1.5-py2.py3-none-any.whl (12 kB)
Collecting typing-extensions>=3.10.0.0
Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB)
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 importlib-metadata>=1.4
Downloading importlib_metadata-5.0.0-py3-none-any.whl (21 kB)
Collecting toml
Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting numpy
Downloading numpy-1.23.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 255.4 MB/s eta 0:00:00
Collecting pydeck>=0.1.dev5
Downloading pydeck-0.8.0-py2.py3-none-any.whl (4.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.7/4.7 MB 168.9 MB/s eta 0:00:00
Collecting watchdog
Downloading watchdog-2.1.9-py3-none-manylinux2014_x86_64.whl (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.4/78.4 kB 230.2 MB/s eta 0:00:00
Collecting click>=7.0
Downloading click-8.1.3-py3-none-any.whl (96 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 185.2 MB/s eta 0:00:00
Collecting nvidia-cuda-nvrtc-cu11==11.7.99
Downloading nvidia_cuda_nvrtc_cu11-11.7.99-2-py3-none-manylinux1_x86_64.whl (21.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 21.0/21.0 MB 257.5 MB/s eta 0:00:00
Collecting nvidia-cublas-cu11==11.10.3.66
Downloading nvidia_cublas_cu11-11.10.3.66-py3-none-manylinux1_x86_64.whl (317.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 317.1/317.1 MB 236.7 MB/s eta 0:00:00
Collecting nvidia-cuda-runtime-cu11==11.7.99
Downloading nvidia_cuda_runtime_cu11-11.7.99-py3-none-manylinux1_x86_64.whl (849[2022-11-14 11:43:46.902055] kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 849.3/849.3 kB 157.2 MB/s eta 0:00:00
Collecting nvidia-cudnn-cu11==8.5.0.96
Downloading nvidia_cudnn_cu11-8.5.0.96-2-py3-none-manylinux1_x86_64.whl (557.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 557.1/557.1 MB 268.1 MB/s eta 0:00:00
Collecting wheel
Downloading wheel-0.38.4-py3-none-any.whl (36 kB)
Collecting setuptools
Downloading setuptools-65.5.1-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 213.5 MB/s eta 0:00:00
Collecting toolz
Downloading toolz-0.12.0-py3-none-any.whl (55 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.8/55.8 kB 192.7 MB/s eta 0:00:00
Collecting entrypoints
Downloading entrypoints-0.4-py3-none-any.whl (5.3 kB)
Collecting jsonschema>=3.0
Downloading jsonschema-4.17.0-py3-none-any.whl (83 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.8/83.8 kB 249.7 MB/s eta 0:00:00
Collecting jinja2
Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 128.0 MB/s eta 0:00:00
Collecting gitdb<5,>=4.0.1
Downloading gitdb-4.0.9-py3-none-any.whl (63 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.1/63.1 kB 236.9 MB/s eta 0:00:00
Collecting zipp>=0.5
Downloading zipp-3.10.0-py3-none-any.whl (6.2 kB)
Collecting pyparsing!=3.0.5,>=2.0.2
Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 204.0 MB/s eta 0:00:00
Collecting pytz>=2020.1
Downloading pytz-2022.6-py2.py3-none-any.whl (498 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 498.1/498.1 kB 293.2 MB/s eta 0:00:00
Collecting six>=1.5
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting idna<4,>=2.5
Downloading idna-3.4-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 149.4 MB/s eta 0:00:00
Collecting certifi>=2017.4.17
Downloading certifi-2022.9.24-py3-none-any.whl (161 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 161.1/161.1 kB 266.0 MB/s eta 0:00:00
Collecting charset-normalizer<3,>=2
Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.4/140.4 kB 274.3 MB/s eta 0:00:00
Collecting pygments<3.0.0,>=2.6.0
Downloading Pygments-2.13.0-py3-none-any.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 262.3 MB/s eta 0:00:00
Collecting commonmark<0.10.0,>=0.9.0
Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.1/51.1 kB 223.5 MB/s eta 0:00:00
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.1-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.2-py3-none-any.whl (57 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.5/57.5 kB 189.9 MB/s eta 0:00:00
Collecting attrs>=17.4.0
Downloading attrs-22.1.0-py2.py3-none-any.whl (58 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB 185.5 MB/s eta 0:00:00
Collecting tzdata
Downloading tzdata-2022.6-py2.py3-none-any.whl (338 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 338.8/338.8 kB 287.6 MB/s eta 0:00:00
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=558a631564197bc5f5f49f343871187041cc1a17505031ec7ff7ffbecccfde49
Stored in directory: /tmp/pip-ephem-wheel-cache-s97ro0je/wheels/5c/6a/fd/17a2b6f8d376e336d46414eeaf656327fd973158159b059046
Successfully built validators
Installing collected packages: pytz, commonmark, zipp, wheel, watchdog, urllib3, tzdata, typing-extensions, tornado, toolz, toml, smmap, six, setuptools, semver, pyrsistent, pyparsing, pympler, pygments, protobuf, pillow, nvidia-cuda-nvrtc-cu11, numpy, MarkupSafe, idna, entrypoints, decorator, click, charset-normalizer, certifi, cachetools, blinker, attrs, validators, rich, requests, pytz-deprecation-shim, python-dateutil, pyarrow, packaging, nvidia-cuda-runtime-cu11, nvidia-cublas-cu11, jsonschema, jinja2, importlib-metadata, gitdb, tzlocal, pydeck, pandas, nvidia-cudnn-cu11, gitpython, torch, altair, streamlit
Attempting uninstall: wheel
Found existing installation: wheel 0.38.4
Uninstalling wheel-0.38.4:
Successfully uninstalled wheel-0.38.4
Attempting uninstall: urllib3
Found existing installation: urllib3 1.26.12
Uninstalling urllib3-1.26.12:
Successfully uninstalled urllib3-1.26.12
Attempting uninstall: toolz
Found existing installation: toolz 0.11.2
Uninstalling toolz-0.11.2:
Successfully uninstalled toolz-0.11.2
Attempting uninstall: setuptools
Found existing installation: setuptools 65.5.0
Uninstalling setuptools-65.5.0:
Successfully uninstalled setuptools-65.5.0
Attempting uninstall: idna
Found existing installation: idna 3.4
Uninstalling idna-3.4:
Successfully uninstalled idna-3.4
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 2.0.4
Uninstalling charset-normalizer-2.0.4:
Successfully uninstalled charset-normalizer-2.0.4
Attempting uninstall: certifi
Found existing installation: certifi 2022.9.24
Uninstalling certifi-2022.9.24:
Successfully uninstalled certifi-2022.9.24
Attempting uninstall: requests
Found existing installation: requests 2.28.1
Uninstalling requests-2.28.1:
Successfully uninstalled requests-2.28.1
Successfully installed MarkupSafe-2.1.1 altair-4.2.0 attrs-22.1.0 blinker-1.5 cachetools-5.2.0 certifi-2022.9.24 charset-normalizer-2.1.1 click-8.1.3 commonmark-0.9.1 decorator-5.1.1 entrypoints-0.4 gitdb-4.0.9 gitpython-3.1.29 idna-3.4 importlib-metadata-5.0.0 jinja2-3.1.2 jsonschema-4.17.0 numpy-1.23.4 nvidia-cublas-cu11-11.10.3.66 nvidia-cuda-nvrtc-cu11-11.7.99 nvidia-cuda-runtime-cu11-11.7.99 nvidia-cudnn-cu11-8.5.0.96 packaging-21.3 pandas-1.5.1 pillow-9.3.0 protobuf-3.20.3 pyarrow-10.0.0 pydeck-0.8.0 pygments-2.13.0 pympler-1.0.1 pyparsing-3.0.9 pyrsistent-0.19.2 python-dateutil-2.8.2 pytz-2022.6 pytz-deprecation-shim-0.1.0.post0 requests-2.28.1 rich-12.6.0 semver-2.13.0 setuptools-65.5.1 six-1.16.0 smmap-5.0.0 streamlit-1.14.1 toml-0.10.2 toolz-0.12.0 torch-1.13.0 tornado-6.2 typing-extensions-4.4.0 tzdata-2022.6 tzlocal-4.2 urllib3-1.26.12 validators-0.20.0 watchdog-2.1.9 wheel-0.38.4 zipp-3.10.0
done
#
# To activate this environment, use
#
# $ conda activate base
#
# To deactivate an active environment, use
#
# $ conda deactivate
Retrieving notices: ...working... [2022-11-14 11:43:47.039103] done
[11:44:18] 🐍 Python dependencies were installed from /app/test-streamlit-conda/environment.yml using conda.
Check if streamlit is installed
──────────────────────────────── Installing Streamlit ──────────────────────────────────
Collecting streamlit
Downloading streamlit-1.14.1-py2.py3-none-any.whl (9.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.2/9.2 MB 93.3 MB/s eta 0:00:00[2022-11-14 11:44:19.783785]
Collecting blinker>=1.0.0
Downloading blinker-1.5-py2.py3-none-any.whl (12 kB)
Collecting pydeck>=0.1.dev5
Downloading pydeck-0.8.0-py2.py3-none-any.whl (4.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.7/4.7 MB 183.1 MB/s eta 0:00:00
Collecting click>=7.0
Downloading click-8.1.3-py3-none-any.whl (96 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 KB 322.3 MB/s eta 0:00:00[2022-11-14 11:44:19.966635]
Collecting pyarrow>=4.0
Downloading pyarrow-10.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (35.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 35.2/35.2 MB 194.1 MB/s eta 0:00:00[2022-11-14 11:44:20.282005]
Collecting numpy
Downloading numpy-1.23.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 270.1 MB/s eta 0:00:00[2022-11-14 11:44:20.703053]
Collecting protobuf<4,>=3.12
Downloading protobuf-3.20.3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 252.2 MB/s eta 0:00:00[2022-11-14 11:44:21.013072]
Collecting packaging>=14.1
Downloading packaging-21.3-py3-none-any.whl (40 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 KB 100.3 MB/s eta 0:00:00[2022-11-14 11:44:21.062339]
Collecting tzlocal>=1.1
Downloading tzlocal-4.2-py3-none-any.whl (19 kB)
Collecting tornado>=5.0
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 344.1 MB/s eta 0:00:00[2022-11-14 11:44:21.181665]
Collecting toml
Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting python-dateutil
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 KB 334.9 MB/s eta 0:00:00[2022-11-14 11:44:21.248640]
Collecting rich>=10.11.0
Downloading rich-12.6.0-py3-none-any.whl (237 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 237.5/237.5 KB 322.2 MB/s eta 0:00:00[2022-11-14 11:44:21.357804]
Collecting gitpython!=3.1.19
Downloading GitPython-3.1.29-py3-none-any.whl (182 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 182.5/182.5 KB 177.3 MB/s eta 0:00:00[2022-11-14 11:44:21.421270]
Collecting importlib-metadata>=1.4
Downloading importlib_metadata-5.0.0-py3-none-any.whl (21 kB)
Collecting watchdog
Downloading watchdog-2.1.9-py3-none-manylinux2014_x86_64.whl (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.4/78.4 KB 227.0 MB/s eta 0:00:00[2022-11-14 11:44:21.577867]
Collecting pympler>=0.9
Downloading Pympler-1.0.1-py3-none-any.whl (164 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.8/164.8 KB 275.4 MB/s eta 0:00:00[2022-11-14 11:44:21.610543]
Collecting requests>=2.4
Downloading requests-2.28.1-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 KB 280.8 MB/s eta 0:00:00[2022-11-14 11:44:21.678410]
Collecting semver
Downloading semver-2.13.0-py2.py3-none-any.whl (12 kB)
Collecting pillow>=6.2.0
Downloading Pillow-9.3.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 299.9 MB/s eta 0:00:00[2022-11-14 11:44:22.019652]
Collecting altair>=3.2.0
Downloading altair-4.2.0-py3-none-any.whl (812 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 812.8/812.8 KB 374.6 MB/s eta 0:00:00[2022-11-14 11:44:22.061011]
Collecting pandas>=0.21.0
Downloading pandas-1.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.1/12.1 MB 308.5 MB/s eta 0:00:00[2022-11-14 11:44:22.287423]
Collecting cachetools>=4.0
Downloading cachetools-5.2.0-py3-none-any.whl (9.3 kB)
Collecting typing-extensions>=3.10.0.0
Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB)
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 toolz
Downloading toolz-0.12.0-py3-none-any.whl (55 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.8/55.8 KB 259.6 MB/s eta 0:00:00[2022-11-14 11:44:22.945680]
Collecting entrypoints
Downloading entrypoints-0.4-py3-none-any.whl (5.3 kB)
Collecting jinja2
Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 KB 247.8 MB/s eta 0:00:00[2022-11-14 11:44:23.015291]
Collecting jsonschema>=3.0
Downloading jsonschema-4.17.0-py3-none-any.whl (83 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.8/83.8 KB 194.2 MB/s eta 0:00:00[2022-11-14 11:44:23.068092]
Collecting gitdb<5,>=4.0.1
Downloading gitdb-4.0.9-py3-none-any.whl (63 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.1/63.1 KB 175.9 MB/s eta 0:00:00[2022-11-14 11:44:23.110242]
Collecting zipp>=0.5
Downloading zipp-3.10.0-py3-none-any.whl (6.2 kB)
Collecting pyparsing!=3.0.5,>=2.0.2
Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 KB 324.0 MB/s eta 0:00:00[2022-11-14 11:44:23.248448]
Collecting pytz>=2020.1
Downloading pytz-2022.6-py2.py3-none-any.whl (498 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 498.1/498.1 KB 353.2 MB/s eta 0:00:00[2022-11-14 11:44:23.337520]
Collecting six>=1.5
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting charset-normalizer<3,>=2
Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
Downloading idna-3.4-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 KB 202.1 MB/s eta 0:00:00[2022-11-14 11:44:23.559136]
Collecting certifi>=2017.4.17
Downloading certifi-2022.9.24-py3-none-any.whl (161 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 161.1/161.1 KB 341.5 MB/s eta 0:00:00[2022-11-14 11:44:23.603004]
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.4/140.4 KB 252.2 MB/s eta 0:00:00[2022-11-14 11:44:23.663340]
Collecting commonmark<0.10.0,>=0.9.0
Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.1/51.1 KB 209.0 MB/s eta 0:00:00[2022-11-14 11:44:23.704585]
Collecting pygments<3.0.0,>=2.6.0
Downloading Pygments-2.13.0-py3-none-any.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 345.3 MB/s eta 0:00:00[2022-11-14 11:44:23.754946]
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.1-cp310-cp310-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.2-py3-none-any.whl (57 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.5/57.5 KB 124.7 MB/s eta 0:00:00[2022-11-14 11:44:24.131315]
Collecting attrs>=17.4.0
Downloading attrs-22.1.0-py2.py3-none-any.whl (58 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 KB 265.4 MB/s eta 0:00:00[2022-11-14 11:44:24.180201]
Collecting tzdata
Downloading tzdata-2022.6-py2.py3-none-any.whl (338 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 338.8/338.8 KB 329.6 MB/s eta 0:00:00[2022-11-14 11:44:24.287531]
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=19579 sha256=92eced29e1281cadf7a6c5d7ded5095a924443c2ea18c4277d11ad8dd144994f
Stored in directory: /tmp/pip-ephem-wheel-cache-_95qo1zo/wheels/f2/ed/dd/d3a556ad245ef9dc570c6bcd2f22886d17b0b408dd3bbb9ac3
Successfully built validators
Installing collected packages: pytz, commonmark, zipp, watchdog, urllib3, tzdata, typing-extensions, tornado, toolz, toml, smmap, six, semver, pyrsistent, pyparsing, pympler, pygments, protobuf, pillow, numpy, MarkupSafe, idna, entrypoints, decorator, click, charset-normalizer, certifi, cachetools, blinker, attrs, validators, rich, requests, pytz-deprecation-shim, python-dateutil, pyarrow, packaging, jsonschema, jinja2, importlib-metadata, gitdb, tzlocal, pydeck, pandas, gitpython, altair, streamlit
Successfully installed MarkupSafe-2.1.1 altair-4.2.0 attrs-22.1.0 blinker-1.5 cachetools-5.2.0 certifi-2022.9.24 charset-normalizer-2.1.1 click-8.1.3 commonmark-0.9.1 decorator-5.1.1 entrypoints-0.4 gitdb-4.0.9 gitpython-3.1.29 idna-3.4 importlib-metadata-5.0.0 jinja2-3.1.2 jsonschema-4.17.0 numpy-1.23.4 packaging-21.3 pandas-1.5.1 pillow-9.3.0 protobuf-3.20.3 pyarrow-10.0.0 pydeck-0.8.0 pygments-2.13.0 pympler-1.0.1 pyparsing-3.0.9 pyrsistent-0.19.2 python-dateutil-2.8.2 pytz-2022.6 pytz-deprecation-shim-0.1.0.post0 requests-2.28.1 rich-12.6.0 semver-2.13.0 six-1.16.0 smmap-5.0.0 streamlit-1.14.1 toml-0.10.2 toolz-0.12.0 tornado-6.2 typing-extensions-4.4.0 tzdata-2022.6 tzlocal-4.2 urllib3-1.26.12 validators-0.20.0 watchdog-2.1.9 zipp-3.10.0
WARNING: You are using pip version 22.0.3; however, version 22.3.1 is available.
You should consider upgrading via the '/home/appuser/venv/bin/python -m pip install --upgrade pip' command.
────────────────────────────────────────────────────────────────────────────────────────
[11:44:36] 📦 Processed dependencies!
Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.
2022-11-14 11:44:57.408 Uncaught app exception
Traceback (most recent call last):
File "/home/appuser/venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
exec(code, module.__dict__)
File "/app/test-streamlit-conda/streamlit_app.py", line 2, in <module>
import torch
ModuleNotFoundError: No module named 'torch'