Error when running the app

I’m running the app on streamlit platform and it prompts me an error as below, does anyone know what is the cause and a way to improve it? Thanks a lot! This is my app link: SSSIEND/appSSSI.py at main Β· Ce-bit123/SSSIEND (github.com)

The error message is as follows: The β€˜nopython’ keyword argument was not supplied to the β€˜numba.jit’ decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See Deprecation Notices β€” Numba 0.57.1+0.g04e81073b.dirty documentation for details.

Hi @Ce-bit123, and welcome to our forums! :raised_hands:

The error seems to be related to the numba library. The error message is mentioning that the nopython keyword argument was not supplied to the numba.jit decorator.

See the same issue here: NumbaDeprecationWarning with latest dependencies, as "nopython" argument is not supplied to numba.jit Β· Issue #2909 Β· shap/shap Β· GitHub

Can you try to explicitly specify the nopython argument in the numba.jit decorator?


@numba.jit(nopython=True)
def your_function_name(arguments):
    # your function code

Let me know if that works.

Thanks,
Charly

Unfortunately this attempt doesn’t solve the problem of reporting the error, my code is as follows and it doesn’t seem to apply this code.


Is there any other solution, please? Thank you very much.

Can you please share the error log trace in text format? We’ll have another look :slight_smile:


[     UTC     ] Logs for ce-bit123-sssiend-appsssi-kxrpmy.streamlit.app/
────────────────────────────────────────────────────────────────────────────────────────
[03:45:30] πŸš€ Starting up repository: 'sssiend', branch: 'main', main module: 'appSSSI.py'
[03:45:30] πŸ™ Cloning repository...
[03:45:32] πŸ™ Cloning into '/mount/src/sssiend'...
Warning: Permanently added the ED25519 host key for IP address '192.30.255.113' to the list of known hosts.

[03:45:32] πŸ™ Cloned repository!
[03:45:32] πŸ™ Pulling code changes from Github...
[03:45:33] πŸ“¦ Processing dependencies...

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

Collecting pandas==1.0.5
  Downloading pandas-1.0.5-cp38-cp38-manylinux1_x86_64.whl (10.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.0/10.0 MB 89.0 MB/s eta 0:00:00[2023-08-20 03:45:34.405431] 
Collecting streamlit==1.14.1
  Downloading streamlit-1.14.1-py2.py3-none-any.whl (9.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.2/9.2 MB 136.6 MB/s eta 0:00:00[2023-08-20 03:45:34.583779] 
Collecting joblib==0.16.0
  Downloading joblib-0.16.0-py3-none-any.whl (300 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 300.8/300.8 KB 249.1 MB/s eta 0:00:00[2023-08-20 03:45:34.650775] 
Collecting catboost==1.1.1
  Downloading catboost-1.1.1-cp38-none-manylinux1_x86_64.whl (76.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.6/76.6 MB 158.5 MB/s eta 0:00:00[2023-08-20 03:45:35.403824] 
Collecting numpy==1.23.1
  Downloading numpy-1.23.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 240.5 MB/s eta 0:00:00[2023-08-20 03:45:35.909241] 
Collecting shap==0.41.0
  Downloading shap-0.41.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (575 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 575.9/575.9 KB 252.5 MB/s eta 0:00:00[2023-08-20 03:45:36.004699] 
Collecting matplotlib==3.2.2
  Downloading matplotlib-3.2.2-cp38-cp38-manylinux1_x86_64.whl (12.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.4/12.4 MB 125.0 MB/s eta 0:00:00[2023-08-20 03:45:36.371472] 
Collecting streamlit_shap==1.0.2
  Downloading streamlit_shap-1.0.2-py3-none-any.whl (4.8 kB)
Collecting xgboost==1.7.1
  Downloading xgboost-1.7.1-py3-none-manylinux2014_x86_64.whl (193.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 193.6/193.6 MB 140.6 MB/s eta 0:00:00[2023-08-20 03:45:37.764200] 
Collecting pytz>=2017.2
  Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 KB 285.0 MB/s eta 0:00:00[2023-08-20 03:45:38.036953] 
Collecting python-dateutil>=2.6.1
  Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 KB 256.6 MB/s eta 0:00:00[2023-08-20 03:45:38.092243] 
Collecting click>=7.0
  Downloading click-8.1.7-py3-none-any.whl (97 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 KB 252.5 MB/s eta 0:00:00[2023-08-20 03:45:38.156185] 
Collecting semver
  Downloading semver-3.0.1-py3-none-any.whl (17 kB)
Collecting pydeck>=0.1.dev5
  Downloading pydeck-0.8.1b0-py2.py3-none-any.whl (4.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.8/4.8 MB 106.7 MB/s eta 0:00:00[2023-08-20 03:45:38.314258] 
Collecting tzlocal>=1.1
  Downloading tzlocal-5.0.1-py3-none-any.whl (20 kB)
Collecting pympler>=0.9
  Downloading Pympler-1.0.1-py3-none-any.whl (164 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.8/164.8 KB 248.1 MB/s eta 0:00:00[2023-08-20 03:45:38.398076] 
Collecting rich>=10.11.0
  Downloading rich-13.5.2-py3-none-any.whl (239 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 239.7/239.7 KB 246.4 MB/s eta 0:00:00[2023-08-20 03:45:38.525302] 
Collecting pyarrow>=4.0
  Downloading pyarrow-12.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (39.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 39.0/39.0 MB 201.1 MB/s eta 0:00:00[2023-08-20 03:45:38.854471] 
Collecting cachetools>=4.0
  Downloading cachetools-5.3.1-py3-none-any.whl (9.3 kB)
Collecting watchdog
  Downloading watchdog-3.0.0-py3-none-manylinux2014_x86_64.whl (82 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.1/82.1 KB 227.3 MB/s eta 0:00:00[2023-08-20 03:45:39.035516] 
Collecting requests>=2.4
  Downloading requests-2.31.0-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 KB 210.4 MB/s eta 0:00:00[2023-08-20 03:45:39.106334] 
Collecting validators>=0.2
  Downloading validators-0.21.2-py3-none-any.whl (25 kB)
Collecting pillow>=6.2.0
  Downloading Pillow-10.0.0-cp38-cp38-manylinux_2_28_x86_64.whl (3.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 240.7 MB/s eta 0:00:00[2023-08-20 03:45:39.523693] 
Collecting importlib-metadata>=1.4
  Downloading importlib_metadata-6.8.0-py3-none-any.whl (22 kB)
Collecting typing-extensions>=3.10.0.0
  Downloading typing_extensions-4.7.1-py3-none-any.whl (33 kB)
Collecting tornado>=5.0
  Downloading tornado-6.3.3-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (427 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 427.7/427.7 KB 288.9 MB/s eta 0:00:00[2023-08-20 03:45:39.752418] 
Collecting protobuf<4,>=3.12
  Downloading protobuf-3.20.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 287.5 MB/s eta 0:00:00[2023-08-20 03:45:40.104290] 
Collecting packaging>=14.1
  Downloading packaging-23.1-py3-none-any.whl (48 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 KB 158.3 MB/s eta 0:00:00[2023-08-20 03:45:40.160755] 
Collecting gitpython!=3.1.19
  Downloading GitPython-3.1.32-py3-none-any.whl (188 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 188.5/188.5 KB 255.7 MB/s eta 0:00:00[2023-08-20 03:45:40.227636] 
Collecting toml
  Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting altair>=3.2.0
  Downloading altair-5.0.1-py3-none-any.whl (471 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 471.5/471.5 KB 282.5 MB/s eta 0:00:00[2023-08-20 03:45:40.300715] 
Collecting blinker>=1.0.0
  Downloading blinker-1.6.2-py3-none-any.whl (13 kB)
Collecting scipy
  Downloading scipy-1.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.5/34.5 MB 229.1 MB/s eta 0:00:00[2023-08-20 03:45:40.706587] 
Collecting graphviz
  Downloading graphviz-0.20.1-py3-none-any.whl (47 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.0/47.0 KB 165.2 MB/s eta 0:00:00[2023-08-20 03:45:40.800927] 
Collecting six
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting plotly
  Downloading plotly-5.16.1-py2.py3-none-any.whl (15.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.6/15.6 MB 240.6 MB/s eta 0:00:00[2023-08-20 03:45:41.016564] 
Collecting scikit-learn
  Downloading scikit_learn-1.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.1/11.1 MB 219.4 MB/s eta 0:00:00[2023-08-20 03:45:41.401649] 
Collecting numba
  Downloading numba-0.57.1-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (3.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 247.1 MB/s eta 0:00:00[2023-08-20 03:45:41.646001] 
Collecting tqdm>4.25.0
  Downloading tqdm-4.66.1-py3-none-any.whl (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 KB 236.1 MB/s eta 0:00:00[2023-08-20 03:45:41.751063] 
Collecting cloudpickle
  Downloading cloudpickle-2.2.1-py3-none-any.whl (25 kB)
Collecting slicer==0.0.7
  Downloading slicer-0.0.7-py3-none-any.whl (14 kB)
Collecting cycler>=0.10
  Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1
  Downloading pyparsing-3.1.1-py3-none-any.whl (103 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.1/103.1 KB 237.8 MB/s eta 0:00:00[2023-08-20 03:45:41.944956] 
Collecting kiwisolver>=1.0.1
  Downloading kiwisolver-1.4.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 300.0 MB/s eta 0:00:00[2023-08-20 03:45:42.054748] 
Collecting jinja2
  Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 KB 236.4 MB/s eta 0:00:00[2023-08-20 03:45:42.152693] 
Collecting toolz
  Downloading toolz-0.12.0-py3-none-any.whl (55 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.8/55.8 KB 203.3 MB/s eta 0:00:00[2023-08-20 03:45:42.184471] 
Collecting jsonschema>=3.0
  Downloading jsonschema-4.19.0-py3-none-any.whl (83 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.4/83.4 KB 237.3 MB/s eta 0:00:00[2023-08-20 03:45:42.250781] 
Collecting gitdb<5,>=4.0.1
  Downloading gitdb-4.0.10-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 KB 191.7 MB/s eta 0:00:00[2023-08-20 03:45:42.311996] 
Collecting zipp>=0.5
  Downloading zipp-3.16.2-py3-none-any.whl (7.2 kB)
Collecting certifi>=2017.4.17
  Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 KB 274.5 MB/s eta 0:00:00[2023-08-20 03:45:42.523080] 
Collecting urllib3<3,>=1.21.1
  Downloading urllib3-2.0.4-py3-none-any.whl (123 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.9/123.9 KB 158.3 MB/s eta 0:00:00[2023-08-20 03:45:42.595778] 
Collecting idna<4,>=2.5
  Downloading idna-3.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 KB 194.4 MB/s eta 0:00:00[2023-08-20 03:45:42.633557] 
Collecting charset-normalizer<4,>=2
  Downloading charset_normalizer-3.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (199 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.1/199.1 KB 262.3 MB/s eta 0:00:00[2023-08-20 03:45:42.763866] 
Collecting pygments<3.0.0,>=2.13.0
  Downloading Pygments-2.16.1-py3-none-any.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 288.8 MB/s eta 0:00:00[2023-08-20 03:45:42.833717] 
Collecting markdown-it-py>=2.2.0
  Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5 KB 245.6 MB/s eta 0:00:00[2023-08-20 03:45:42.887190] 
Collecting backports.zoneinfo
  Downloading backports.zoneinfo-0.2.1-cp38-cp38-manylinux1_x86_64.whl (74 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.0/74.0 KB 232.2 MB/s eta 0:00:00[2023-08-20 03:45:42.965044] 
Collecting llvmlite<0.41,>=0.40.0dev0
  Downloading llvmlite-0.40.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (42.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.1/42.1 MB 250.4 MB/s eta 0:00:00[2023-08-20 03:45:43.337075] 
Collecting tenacity>=6.2.0
  Downloading tenacity-8.2.3-py3-none-any.whl (24 kB)
Collecting scikit-learn
  Downloading scikit_learn-1.2.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.8/9.8 MB 165.8 MB/s eta 0:00:00[2023-08-20 03:45:43.546589] 
  Downloading scikit_learn-1.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.8/9.8 MB 159.0 MB/s eta 0:00:00[2023-08-20 03:45:43.729871] 
  Downloading scikit_learn-1.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.7/9.7 MB 190.5 MB/s eta 0:00:00[2023-08-20 03:45:43.846272] 
  Downloading scikit_learn-1.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (31.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 31.2/31.2 MB 127.9 MB/s eta 0:00:00[2023-08-20 03:45:44.125126] 
Collecting threadpoolctl>=2.0.0
  Downloading threadpoolctl-3.2.0-py3-none-any.whl (15 kB)
Collecting scikit-learn
  Downloading scikit_learn-1.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (31.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 31.2/31.2 MB 149.7 MB/s eta 0:00:00[2023-08-20 03:45:44.432565] 
  Downloading scikit_learn-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (31.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 31.2/31.2 MB 149.2 MB/s eta 0:00:00[2023-08-20 03:45:44.701370] 
  Downloading scikit_learn-1.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (31.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 31.0/31.0 MB 182.6 MB/s eta 0:00:00[2023-08-20 03:45:45.025225] 
  Downloading scikit_learn-1.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 26.7/26.7 MB 96.7 MB/s eta 0:00:00[2023-08-20 03:45:45.321816] 
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.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting referencing>=0.28.4
  Downloading referencing-0.30.2-py3-none-any.whl (25 kB)
Collecting attrs>=22.2.0
  Downloading attrs-23.1.0-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 KB 233.6 MB/s eta 0:00:00[2023-08-20 03:45:45.729838] 
Collecting pkgutil-resolve-name>=1.3.10
  Downloading pkgutil_resolve_name-1.3.10-py3-none-any.whl (4.7 kB)
Collecting jsonschema-specifications>=2023.03.6
  Downloading jsonschema_specifications-2023.7.1-py3-none-any.whl (17 kB)
Collecting importlib-resources>=1.4.0
  Downloading importlib_resources-6.0.1-py3-none-any.whl (34 kB)
Collecting rpds-py>=0.7.1
  Downloading rpds_py-0.9.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 294.9 MB/s eta 0:00:00[2023-08-20 03:45:46.121225] 
Collecting mdurl~=0.1
  Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Installing collected packages: pytz, zipp, watchdog, validators, urllib3, typing-extensions, tqdm, tornado, toolz, toml, threadpoolctl, tenacity, smmap, slicer, six, semver, rpds-py, pyparsing, pympler, pygments, protobuf, pkgutil-resolve-name, pillow, packaging, numpy, mdurl, MarkupSafe, llvmlite, kiwisolver, joblib, idna, graphviz, cycler, cloudpickle, click, charset-normalizer, certifi, cachetools, blinker, backports.zoneinfo, attrs, tzlocal, scipy, requests, referencing, python-dateutil, pyarrow, plotly, markdown-it-py, jinja2, importlib-resources, importlib-metadata, gitdb, xgboost, scikit-learn, rich, pydeck, pandas, numba, matplotlib, jsonschema-specifications, gitpython, shap, jsonschema, catboost, streamlit_shap, altair, streamlit
Successfully installed MarkupSafe-2.1.3 altair-5.0.1 attrs-23.1.0 backports.zoneinfo-0.2.1 blinker-1.6.2 cachetools-5.3.1 catboost-1.1.1 certifi-2023.7.22 charset-normalizer-3.2.0 click-8.1.7 cloudpickle-2.2.1 cycler-0.11.0 gitdb-4.0.10 gitpython-3.1.32 graphviz-0.20.1 idna-3.4 importlib-metadata-6.8.0 importlib-resources-6.0.1 jinja2-3.1.2 joblib-0.16.0 jsonschema-4.19.0 jsonschema-specifications-2023.7.1 kiwisolver-1.4.4 llvmlite-0.40.1 markdown-it-py-3.0.0 matplotlib-3.2.2 mdurl-0.1.2 numba-0.57.1 numpy-1.23.1 packaging-23.1 pandas-1.0.5 pillow-10.0.0 pkgutil-resolve-name-1.3.10 plotly-5.16.1 protobuf-3.20.3 pyarrow-12.0.1 pydeck-0.8.1b0 pygments-2.16.1 pympler-1.0.1 pyparsing-3.1.1 python-dateutil-2.8.2 pytz-2023.3 referencing-0.30.2 requests-2.31.0 rich-13.5.2 rpds-py-0.9.2 scikit-learn-1.0.2 scipy-1.10.1 semver-3.0.1 shap-0.41.0 six-1.16.0 slicer-0.0.7 smmap-5.0.0 streamlit-1.14.1 streamlit_shap-1.0.2 tenacity-8.2.3 threadpoolctl-3.2.0 toml-0.10.2 toolz-0.12.0 tornado-6.3.3 tqdm-4.66.1 typing-extensions-4.7.1 tzlocal-5.0.1 urllib3-2.0.4 validators-0.21.2 watchdog-3.0.0 xgboost-1.7.1 zipp-3.16.2
WARNING: You are using pip version 22.0.3; however, version 23.2.1 is available.
You should consider upgrading via the '/home/adminuser/venv/bin/python -m pip install --upgrade pip' command.
Checking if Streamlit is installed
2023-08-20 03:46:16.338 INFO    matplotlib.font_manager: generated new fontManager
Traceback (most recent call last):
  File "/home/adminuser/venv/bin/streamlit", line 5, in <module>
    from streamlit.web.cli import main
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/__init__.py", line 57, in <module>
    from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/delta_generator.py", line 46, in <module>
    from streamlit.elements.arrow_altair import ArrowAltairMixin
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/elements/arrow_altair.py", line 35, in <module>
    from altair.vegalite.v4.api import Chart
ModuleNotFoundError: No module named 'altair.vegalite.v4'
Found Streamlit version  in the environment
Streamlit  is present which requires version 8.0.0 of the click library. Installing click 8.0.0
Collecting click==8
  Downloading click-8.0.0-py3-none-any.whl (96 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.9/96.9 KB 7.2 MB/s eta 0:00:00[2023-08-20 03:46:17.584549] 
Installing collected packages: click
  Attempting uninstall: click
    Found existing installation: click 8.1.7
    Uninstalling click-8.1.7:
      Successfully uninstalled click-8.1.7
Successfully installed click-8.0.0
WARNING: You are using pip version 22.0.3; however, version 23.2.1 is available.
You should consider upgrading via the '/home/adminuser/venv/bin/python -m pip install --upgrade pip' command.
Streamlit  is present which requires a version of protobuf<4. Installing a compatible version of protobuf
Collecting protobuf<4,>=3.20
  Downloading protobuf-3.20.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 31.3 MB/s eta 0:00:00[2023-08-20 03:46:19.088848] 
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
Successfully installed protobuf-3.20.3
WARNING: You are using pip version 22.0.3; however, version 23.2.1 is available.
You should consider upgrading via the '/home/adminuser/venv/bin/python -m pip install --upgrade pip' command.
Streamlit  is present which is incompatible with altair>=5.0.0. Installing altair 4.*
Collecting altair<5
  Downloading altair-4.2.2-py3-none-any.whl (813 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 813.6/813.6 KB 23.5 MB/s eta 0:00:00[2023-08-20 03:46:20.540401] 
Collecting numpy
  Downloading numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 238.3 MB/s eta 0:00:00[2023-08-20 03:46:21.018325] 
Collecting entrypoints
  Downloading entrypoints-0.4-py3-none-any.whl (5.3 kB)
Collecting pandas>=0.18
  Downloading pandas-2.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.4/12.4 MB 212.1 MB/s eta 0:00:00[2023-08-20 03:46:21.391272] 
Collecting toolz
  Downloading toolz-0.12.0-py3-none-any.whl (55 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.8/55.8 KB 223.8 MB/s eta 0:00:00[2023-08-20 03:46:21.448986] 
Collecting jinja2
  Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 KB 278.1 MB/s eta 0:00:00[2023-08-20 03:46:21.493213] 
Collecting jsonschema>=3.0
  Downloading jsonschema-4.19.0-py3-none-any.whl (83 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.4/83.4 KB 233.3 MB/s eta 0:00:00[2023-08-20 03:46:21.560848] 
Collecting attrs>=22.2.0
  Downloading attrs-23.1.0-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 KB 217.5 MB/s eta 0:00:00[2023-08-20 03:46:21.619979] 
Collecting importlib-resources>=1.4.0
  Downloading importlib_resources-6.0.1-py3-none-any.whl (34 kB)
Collecting jsonschema-specifications>=2023.03.6
  Downloading jsonschema_specifications-2023.7.1-py3-none-any.whl (17 kB)
Collecting rpds-py>=0.7.1
  Downloading rpds_py-0.9.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 303.9 MB/s eta 0:00:00[2023-08-20 03:46:21.934002] 
Collecting referencing>=0.28.4
  Downloading referencing-0.30.2-py3-none-any.whl (25 kB)
Collecting pkgutil-resolve-name>=1.3.10
  Downloading pkgutil_resolve_name-1.3.10-py3-none-any.whl (4.7 kB)
Collecting tzdata>=2022.1
  Downloading tzdata-2023.3-py2.py3-none-any.whl (341 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 341.8/341.8 KB 297.0 MB/s eta 0:00:00[2023-08-20 03:46:22.165182] 
Collecting pytz>=2020.1
  Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 KB 301.3 MB/s eta 0:00:00[2023-08-20 03:46:22.278150] 
Collecting python-dateutil>=2.8.2
  Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 KB 254.9 MB/s eta 0:00:00[2023-08-20 03:46:22.323986] 
Collecting MarkupSafe>=2.0
  Downloading MarkupSafe-2.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting zipp>=3.1.0
  Downloading zipp-3.16.2-py3-none-any.whl (7.2 kB)
Collecting six>=1.5
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: pytz, zipp, tzdata, toolz, six, rpds-py, pkgutil-resolve-name, numpy, MarkupSafe, entrypoints, attrs, referencing, python-dateutil, jinja2, importlib-resources, pandas, jsonschema-specifications, jsonschema, altair
  Attempting uninstall: pytz
    Found existing installation: pytz 2023.3
    Uninstalling pytz-2023.3:
      Successfully uninstalled pytz-2023.3
  Attempting uninstall: zipp
    Found existing installation: zipp 3.16.2
    Uninstalling zipp-3.16.2:
      Successfully uninstalled zipp-3.16.2
  Attempting uninstall: toolz
    Found existing installation: toolz 0.12.0
    Uninstalling toolz-0.12.0:
      Successfully uninstalled toolz-0.12.0
  Attempting uninstall: six
    Found existing installation: six 1.16.0
    Uninstalling six-1.16.0:
      Successfully uninstalled six-1.16.0
  Attempting uninstall: rpds-py
    Found existing installation: rpds-py 0.9.2
    Uninstalling rpds-py-0.9.2:
      Successfully uninstalled rpds-py-0.9.2
  Attempting uninstall: pkgutil-resolve-name
    Found existing installation: pkgutil_resolve_name 1.3.10
    Uninstalling pkgutil_resolve_name-1.3.10:
      Successfully uninstalled pkgutil_resolve_name-1.3.10
  Attempting uninstall: numpy
    Found existing installation: numpy 1.23.1
    Uninstalling numpy-1.23.1:
      Successfully uninstalled numpy-1.23.1
  Attempting uninstall: MarkupSafe
    Found existing installation: MarkupSafe 2.1.3
    Uninstalling MarkupSafe-2.1.3:
      Successfully uninstalled MarkupSafe-2.1.3
  Attempting uninstall: attrs
    Found existing installation: attrs 23.1.0
    Uninstalling attrs-23.1.0:
      Successfully uninstalled attrs-23.1.0
  Attempting uninstall: referencing
    Found existing installation: referencing 0.30.2
    Uninstalling referencing-0.30.2:
      Successfully uninstalled referencing-0.30.2
  Attempting uninstall: python-dateutil
    Found existing installation: python-dateutil 2.8.2
    Uninstalling python-dateutil-2.8.2:
      Successfully uninstalled python-dateutil-2.8.2
  Attempting uninstall: jinja2
    Found existing installation: Jinja2 3.1.2
    Uninstalling Jinja2-3.1.2:
      Successfully uninstalled Jinja2-3.1.2
  Attempting uninstall: importlib-resources
    Found existing installation: importlib-resources 6.0.1
    Uninstalling importlib-resources-6.0.1:
      Successfully uninstalled importlib-resources-6.0.1
  Attempting uninstall: pandas
    Found existing installation: pandas 1.0.5
    Uninstalling pandas-1.0.5:
      Successfully uninstalled pandas-1.0.5
  Attempting uninstall: jsonschema-specifications
    Found existing installation: jsonschema-specifications 2023.7.1
    Uninstalling jsonschema-specifications-2023.7.1:
      Successfully uninstalled jsonschema-specifications-2023.7.1
  Attempting uninstall: jsonschema
    Found existing installation: jsonschema 4.19.0
    Uninstalling jsonschema-4.19.0:
      Successfully uninstalled jsonschema-4.19.0
  Attempting uninstall: altair
    Found existing installation: altair 5.0.1
    Uninstalling altair-5.0.1:
      Successfully uninstalled altair-5.0.1
Successfully installed MarkupSafe-2.1.3 altair-4.2.2 attrs-23.1.0 entrypoints-0.4 importlib-resources-6.0.1 jinja2-3.1.2 jsonschema-4.19.0 jsonschema-specifications-2023.7.1 numpy-1.24.4 pandas-2.0.3 pkgutil-resolve-name-1.3.10 python-dateutil-2.8.2 pytz-2023.3 referencing-0.30.2 rpds-py-0.9.2 six-1.16.0 toolz-0.12.0 tzdata-2023.3 zipp-3.16.2
WARNING: You are using pip version 22.0.3; however, version 23.2.1 is available.
You should consider upgrading via the '/home/adminuser/venv/bin/python -m pip install --upgrade pip' command.

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

[03:46:31] 🐍 Python dependencies were installed from /mount/src/sssiend/requirements.txt using pip.
Check if streamlit is installed
Streamlit is already installed
[03:46:32] πŸ“¦ Processed dependencies!
2023-08-20 03:46:34.039 INFO    matplotlib.font_manager: generated new fontManager

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





  A new version of Streamlit is available.

  See what's new at https://discuss.streamlit.io/c/announcements

  Enter the following command to upgrade:
  $ pip install streamlit --upgrade

/home/adminuser/venv/lib/python3.8/site-packages/shap/utils/_clustering.py:35: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  def _pt_shuffle_rec(i, indexes, index_mask, partition_tree, M, pos):
/home/adminuser/venv/lib/python3.8/site-packages/shap/utils/_clustering.py:54: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  def delta_minimization_order(all_masks, max_swap_size=100, num_passes=2):
/home/adminuser/venv/lib/python3.8/site-packages/shap/utils/_clustering.py:63: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  def _reverse_window(order, start, length):
/home/adminuser/venv/lib/python3.8/site-packages/shap/utils/_clustering.py:69: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  def _reverse_window_score_gain(masks, order, start, length):
/home/adminuser/venv/lib/python3.8/site-packages/shap/utils/_clustering.py:77: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  def _mask_delta_score(m1, m2):
/home/adminuser/venv/lib/python3.8/site-packages/shap/links.py:5: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  def identity(x):
/home/adminuser/venv/lib/python3.8/site-packages/shap/links.py:10: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  def _identity_inverse(x):
/home/adminuser/venv/lib/python3.8/site-packages/shap/links.py:15: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  def logit(x):
/home/adminuser/venv/lib/python3.8/site-packages/shap/links.py:20: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  def _logit_inverse(x):
/home/adminuser/venv/lib/python3.8/site-packages/shap/utils/_masked_model.py:363: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  def _build_fixed_single_output(averaged_outs, last_outs, outputs, batch_positions, varying_rows, num_varying_rows, link, linearizing_weights):
/home/adminuser/venv/lib/python3.8/site-packages/shap/utils/_masked_model.py:385: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  def _build_fixed_multi_output(averaged_outs, last_outs, outputs, batch_positions, varying_rows, num_varying_rows, link, linearizing_weights):
/home/adminuser/venv/lib/python3.8/site-packages/shap/utils/_masked_model.py:428: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  def _init_masks(cluster_matrix, M, indices_row_pos, indptr):
/home/adminuser/venv/lib/python3.8/site-packages/shap/utils/_masked_model.py:439: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  def _rec_fill_masks(cluster_matrix, indices_row_pos, indptr, indices, M, ind):
/home/adminuser/venv/lib/python3.8/site-packages/shap/maskers/_tabular.py:186: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  def _single_delta_mask(dind, masked_inputs, last_mask, data, x, noop_code):
/home/adminuser/venv/lib/python3.8/site-packages/shap/maskers/_tabular.py:197: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  def _delta_masking(masks, x, curr_delta_inds, varying_rows_out,
/home/adminuser/venv/lib/python3.8/site-packages/shap/maskers/_image.py:175: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  def _jit_build_partition_tree(xmin, xmax, ymin, ymax, zmin, zmax, total_ywidth, total_zwidth, M, clustering, q):
/home/adminuser/venv/lib/python3.8/site-packages/shap/explainers/_partition.py:676: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  def lower_credit(i, value, M, values, clustering):
The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
IPython could not be loaded!
2023-08-20 03:53:19.629 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 28, in <module>
    clf = joblib.load("clfSSSIENDxgboost.pkl")
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 585, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 504, in _unpickle
    obj = unpickler.load()
  File "/usr/local/lib/python3.8/pickle.py", line 1212, in load
    dispatch[key[0]](self)
KeyError: 0
[03:56:08] πŸ™ Pulling code changes from Github...
[03:56:09] πŸ“¦ Processing dependencies...
[03:56:09] πŸ“¦ Processed dependencies!
[03:56:10] πŸ”„ Updated app!
[03:57:28] πŸ™ Pulling code changes from Github...
[03:57:29] πŸ“¦ Processing dependencies...
[03:57:29] πŸ“¦ Processed dependencies!
[03:57:31] πŸ”„ Updated app!
[04:01:52] πŸ™ Pulling code changes from Github...
[04:01:53] πŸ“¦ Processing dependencies...
[04:01:53] πŸ“¦ Processed dependencies!
[04:01:55] πŸ”„ Updated app!
[04:02:08] πŸ™ Pulling code changes from Github...
[04:02:09] πŸ“¦ Processing dependencies...
[04:02:09] πŸ“¦ Processed dependencies!
[04:02:10] πŸ”„ Updated app!
2023-08-20 04:02:18.156 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 34, in <module>
    clf = joblib.load("clfSSSIENDxgboost.pkl")
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 585, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 504, in _unpickle
    obj = unpickler.load()
  File "/usr/local/lib/python3.8/pickle.py", line 1212, in load
    dispatch[key[0]](self)
KeyError: 0
[04:11:26] πŸ™ Pulling code changes from Github...
[04:11:27] πŸ“¦ Processing dependencies...
[04:11:27] πŸ“¦ Processed dependencies!
[04:11:29] πŸ”„ Updated app!
[04:13:02] πŸ™ Pulling code changes from Github...
2023-08-20 04:13:03.098 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 9, in <module>
    from numba.typed import list
ImportError: cannot import name 'list' from 'numba.typed' (/home/adminuser/venv/lib/python3.8/site-packages/numba/typed/__init__.py)
[04:13:03] πŸ“¦ Processing dependencies...
[04:13:03] πŸ“¦ Processed dependencies!
[04:13:04] πŸ”„ Updated app!
[04:15:11] πŸ™ Pulling code changes from Github...
[04:15:12] πŸ“¦ Processing dependencies...
[04:15:12] πŸ“¦ Processed dependencies!
[04:15:13] πŸ”„ Updated app!
2023-08-20 04:15:38.928 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 9, in <module>
    from numba.typed import list
ImportError: cannot import name 'list' from 'numba.typed' (/home/adminuser/venv/lib/python3.8/site-packages/numba/typed/__init__.py)
2023-08-20 04:16:09.730 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 9, in <module>
    from numba.typed import list
ImportError: cannot import name 'list' from 'numba.typed' (/home/adminuser/venv/lib/python3.8/site-packages/numba/typed/__init__.py)
[04:17:45] πŸ™ Pulling code changes from Github...
2023-08-20 04:17:46.413 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 9, in <module>
    import numba.typed.list
ModuleNotFoundError: No module named 'numba.typed.list'
[04:17:46] πŸ“¦ Processing dependencies...
[04:17:46] πŸ“¦ Processed dependencies!
[04:17:47] πŸ”„ Updated app!
[04:18:39] πŸ™ Pulling code changes from Github...
[04:18:40] πŸ“¦ Processing dependencies...
[04:18:40] πŸ“¦ Processed dependencies!
[04:18:41] πŸ”„ Updated app!
[04:19:00] πŸ™ Pulling code changes from Github...
[04:19:01] πŸ“¦ Processing dependencies...
[04:19:01] πŸ“¦ Processed dependencies!
[04:19:03] πŸ”„ Updated app!
[04:19:18] πŸ™ Pulling code changes from Github...
2023-08-20 04:19:19.039 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 9, in <module>
    from numba import list
ImportError: cannot import name 'list' from 'numba' (/home/adminuser/venv/lib/python3.8/site-packages/numba/__init__.py)
[04:19:19] πŸ“¦ Processing dependencies...
[04:19:19] πŸ“¦ Processed dependencies!
[04:19:20] πŸ”„ Updated app!
[04:22:36] πŸ™ Pulling code changes from Github...
[04:22:37] πŸ“¦ Processing dependencies...
[04:22:37] πŸ“¦ Processed dependencies!
[04:22:38] πŸ”„ Updated app!
2023-08-20 04:23:06.540 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 31, in <module>
    clf = joblib.load("clfSSSIENDxgboost.pkl")
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 585, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 504, in _unpickle
    obj = unpickler.load()
  File "/usr/local/lib/python3.8/pickle.py", line 1212, in load
    dispatch[key[0]](self)
KeyError: 0
[04:26:00] πŸ™ Pulling code changes from Github...
[04:26:01] πŸ“¦ Processing dependencies...
[04:26:01] πŸ“¦ Processed dependencies!
[04:26:03] πŸ”„ Updated app!
[04:26:51] πŸ™ Pulling code changes from Github...
[04:26:52] πŸ“¦ Processing dependencies...
[04:26:52] πŸ“¦ Processed dependencies!
[04:26:54] πŸ”„ Updated app!
[04:27:30] πŸ™ Pulling code changes from Github...
[04:27:31] πŸ“¦ Processing dependencies...
[04:27:31] πŸ“¦ Processed dependencies!
[04:27:34] πŸ”„ Updated app!
2023-08-20 04:27:34.098 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 29, in <module>
    clf = joblib.load("clfSSSIENDxgboost.pkl")
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 585, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 504, in _unpickle
    obj = unpickler.load()
  File "/usr/local/lib/python3.8/pickle.py", line 1212, in load
    dispatch[key[0]](self)
KeyError: 0
[04:32:24] πŸ™ Pulling code changes from Github...
[04:32:26] πŸ“¦ Processing dependencies...
[04:32:26] πŸ“¦ Processed dependencies!
2023-08-20 04:32:28.188 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 28, in <module>
    clf = joblib.load("clfSSSIENDxgboost.pkl")
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 585, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 504, in _unpickle
    obj = unpickler.load()
  File "/usr/local/lib/python3.8/pickle.py", line 1212, in load
    dispatch[key[0]](self)
KeyError: 0
[04:32:28] πŸ”„ Updated app!
[04:33:33] πŸ™ Pulling code changes from Github...
[04:33:34] πŸ“¦ Processing dependencies...
[04:33:34] πŸ“¦ Processed dependencies!
[04:33:36] πŸ”„ Updated app!
2023-08-20 04:34:21.074 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 28, in <module>
    clf = joblib.load("clfSSSIENDxgboost.pkl")
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 585, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 504, in _unpickle
    obj = unpickler.load()
  File "/usr/local/lib/python3.8/pickle.py", line 1212, in load
    dispatch[key[0]](self)
KeyError: 0
[04:41:58] πŸ™ Pulling code changes from Github...
[04:41:59] πŸ“¦ Processing dependencies...
[04:41:59] πŸ“¦ Processed dependencies!
[04:42:01] πŸ”„ Updated app!
[04:43:04] πŸ™ Pulling code changes from Github...
[04:43:05] πŸ“¦ Processing dependencies...
[04:43:05] πŸ“¦ Processed dependencies!
[04:43:07] πŸ”„ Updated app!
[04:43:33] πŸ™ Pulling code changes from Github...
[04:43:34] πŸ“¦ Processing dependencies...
[04:43:34] πŸ“¦ Processed dependencies!
[04:43:36] πŸ”„ Updated app!
[04:44:05] πŸ™ Pulling code changes from Github...
[04:44:07] πŸ“¦ Processing dependencies...
[04:44:07] πŸ“¦ Processed dependencies!
[04:44:09] πŸ”„ Updated app!
[04:44:57] πŸ™ Pulling code changes from Github...
[04:44:59] πŸ“¦ Processing dependencies...
[04:44:59] πŸ“¦ Processed dependencies!
[04:45:01] πŸ”„ Updated app!
[04:45:22] πŸ™ Pulling code changes from Github...
[04:45:23] πŸ“¦ Processing dependencies...
[04:45:23] πŸ“¦ Processed dependencies!
[04:45:24] πŸ”„ Updated app!
[04:46:25] πŸ™ Pulling code changes from Github...
[04:46:26] πŸ“¦ Processing dependencies...
[04:46:26] πŸ“¦ Processed dependencies!
[04:46:29] πŸ”„ Updated app!
[05:04:03] πŸ™ Pulling code changes from Github...
[05:04:04] πŸ“¦ Processing dependencies...
[05:04:04] πŸ“¦ Processed dependencies!
[05:04:06] πŸ”„ Updated app!
2023-08-20 05:04:11.815 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 28, in <module>
    clf = joblib.load("clfSSSIENDxgboost.pkl")
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 585, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 504, in _unpickle
    obj = unpickler.load()
  File "/usr/local/lib/python3.8/pickle.py", line 1212, in load
    dispatch[key[0]](self)
KeyError: 0
2023-08-20 07:13:02.113 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 28, in <module>
    clf = joblib.load("clfSSSIENDxgboost.pkl")
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 585, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 504, in _unpickle
    obj = unpickler.load()
  File "/usr/local/lib/python3.8/pickle.py", line 1212, in load
    dispatch[key[0]](self)
KeyError: 0
[07:22:25] πŸ™ Pulling code changes from Github...
[07:22:26] πŸ“¦ Processing dependencies...
[07:22:26] πŸ“¦ Processed dependencies!
[07:22:29] πŸ”„ Updated app!
[07:27:37] πŸ™ Pulling code changes from Github...
[07:27:38] πŸ“¦ Processing dependencies...
[07:27:38] πŸ“¦ Processed dependencies!
[07:27:41] πŸ”„ Updated app!
2023-08-20 07:27:51.028 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 31, in <module>
    clf = joblib.load("clfSSSIENDxgboost.pkl")
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 585, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 504, in _unpickle
    obj = unpickler.load()
  File "/usr/local/lib/python3.8/pickle.py", line 1212, in load
    dispatch[key[0]](self)
KeyError: 0
[07:30:29] πŸ™ Pulling code changes from Github...
[07:30:30] πŸ“¦ Processing dependencies...
[07:30:30] πŸ“¦ Processed dependencies!
[07:30:33] πŸ”„ Updated app!
[07:31:12] πŸ™ Pulling code changes from Github...
[07:31:13] πŸ“¦ Processing dependencies...
[07:31:13] πŸ“¦ Processed dependencies!
[07:31:16] πŸ”„ Updated app!
2023-08-20 07:31:19.860 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 30, in <module>
    clf = joblib.load("clfSSSIENDxgboost.pkl")
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 585, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 504, in _unpickle
    obj = unpickler.load()
  File "/usr/local/lib/python3.8/pickle.py", line 1212, in load
    dispatch[key[0]](self)
KeyError: 0
[07:35:34] πŸ™ Pulling code changes from Github...
2023-08-20 07:35:35.096 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 26, in <module>
    assert not clf.nopython_signatures
NameError: name 'clf' is not defined
[07:35:35] πŸ“¦ Processing dependencies...
[07:35:35] πŸ“¦ Processed dependencies!
[07:35:37] πŸ”„ Updated app!
[07:36:17] πŸ™ Pulling code changes from Github...
[07:36:18] πŸ“¦ Processing dependencies...
[07:36:18] πŸ“¦ Processed dependencies!
[07:36:21] πŸ”„ Updated app!
2023-08-20 07:36:23.260 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 30, in <module>
    clf = joblib.load("clfSSSIENDxgboost.pkl")
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 585, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 504, in _unpickle
    obj = unpickler.load()
  File "/usr/local/lib/python3.8/pickle.py", line 1212, in load
    dispatch[key[0]](self)
KeyError: 0
[07:37:08] πŸ™ Pulling code changes from Github...
2023-08-20 07:37:09.796 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 26, in <module>
    assert not nopython_signatures
NameError: name 'nopython_signatures' is not defined
[07:37:09] πŸ“¦ Processing dependencies...
[07:37:09] πŸ“¦ Processed dependencies!
[07:37:12] πŸ”„ Updated app!
[07:39:38] πŸ™ Pulling code changes from Github...
[07:39:40] πŸ“¦ Processing dependencies...
[07:39:40] πŸ“¦ Processed dependencies!
[07:39:42] πŸ”„ Updated app!
2023-08-20 07:39:44.103 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 30, in <module>
    clf = joblib.load("clfSSSIENDxgboost.pkl")
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 585, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 504, in _unpickle
    obj = unpickler.load()
  File "/usr/local/lib/python3.8/pickle.py", line 1212, in load
    dispatch[key[0]](self)
KeyError: 0
[07:40:36] πŸ™ Pulling code changes from Github...
[07:40:37] πŸ“¦ Processing dependencies...
[07:40:37] πŸ“¦ Processed dependencies!
[07:40:40] πŸ”„ Updated app!
2023-08-20 07:40:48.714 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 30, in <module>
    clf = joblib.load("clfSSSIENDxgboost.pkl")
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 585, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 504, in _unpickle
    obj = unpickler.load()
  File "/usr/local/lib/python3.8/pickle.py", line 1212, in load
    dispatch[key[0]](self)
KeyError: 0
2023-08-20 07:41:34.664 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 30, in <module>
    clf = joblib.load("clfSSSIENDxgboost.pkl")
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 585, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 504, in _unpickle
    obj = unpickler.load()
  File "/usr/local/lib/python3.8/pickle.py", line 1212, in load
    dispatch[key[0]](self)
KeyError: 0
[07:42:12] πŸ™ Pulling code changes from Github...
[07:42:13] πŸ“¦ Processing dependencies...
[07:42:13] πŸ“¦ Processed dependencies!
[07:42:16] πŸ”„ Updated app!
2023-08-20 07:55:48.163 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 30, in <module>
    clf = joblib.load("clfSSSIENDxgboost.pkl")
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 585, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 504, in _unpickle
    obj = unpickler.load()
  File "/usr/local/lib/python3.8/pickle.py", line 1212, in load
    dispatch[key[0]](self)
KeyError: 0
[08:01:21] πŸ™ Pulling code changes from Github...
[08:01:22] πŸ“¦ Processing dependencies...
[08:01:22] πŸ“¦ Processed dependencies!
[08:01:24] πŸ”„ Updated app!
[08:31:00] πŸ™ Pulling code changes from Github...
[08:31:01] πŸ“¦ Processing dependencies...
[08:31:01] πŸ“¦ Processed dependencies!
[08:31:04] πŸ”„ Updated app!
2023-08-20 08:31:14.269 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/sssiend/appSSSI.py", line 29, in <module>
    clf = joblib.load("clfSSSIENDxgboost.pkl")
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 585, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/adminuser/venv/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 504, in _unpickle
    obj = unpickler.load()
  File "/usr/local/lib/python3.8/pickle.py", line 1212, in load
    dispatch[key[0]](self)
KeyError: 0

Thank you!

Thanks, @Ce-bit123

The error you’re getting appears to be unrelated to the initial numba issue you mentioned. Based on the logs, the app seems to be failing to load a model using joblib.load

clf = joblib.load("clfSSSIENDxgboost.pkl")

The error is a KeyError: 0, which may occur during the unpickling process in the joblib library.

Can you maybe verify the file and/or re-create and save the model?

Thanks,
Charly

Thanks, that’s been fixed.

Glad to hear, @Ce-bit123!

Was it due to the KeyError: 0 error?

If so, I’ll mark it as the solution. :blush:

Thanks,
Charly

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