Error while deploy my ML project

This is my complete log:

[     UTC     ] Logs for model-deployment-iris.streamlit.app/
────────────────────────────────────────────────────────────────────────────────────────
[19:49:46] 🖥 Provisioning machine...
[19:49:46] 🎛 Preparing system...
[19:49:46] ⛓ Spinning up manager process...
[19:49:52] 🚀 Starting up repository: 'model_deployment', branch: 'main', main module: 'app.py'
[19:49:52] 🐙 Cloning repository...
[19:49:53] 🐙 Cloning into '/mount/src/model_deployment'...
Warning: Permanently added the ED25519 host key for IP address '192.30.255.112' to the list of known hosts.
[19:49:53] 🐙 Cloned repository!
[19:49:53] 🐙 Pulling code changes from Github...
[19:49:54] 📦 Processing dependencies...

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

Collecting joblib==0.14.1
  Downloading joblib-0.14.1-py2.py3-none-any.whl (294 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 294.9/294.9 KB 10.7 MB/s eta 0:00:00[2024-02-17 19:49:55.252761] 
Collecting streamlit==1.7.0
  Downloading streamlit-1.7.0-py2.py3-none-any.whl (9.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.9/9.9 MB 195.3 MB/s eta 0:00:00[2024-02-17 19:49:55.442836] 
Collecting scikit-learn==0.23.1
  Downloading scikit-learn-0.23.1.tar.gz (7.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.2/7.2 MB 112.9 MB/s eta 0:00:00[2024-02-17 19:49:55.852206] 
  Installing build dependencies: started
  Installing build dependencies: still running...
  Installing build dependencies: still running...
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting pandas==1.0.5
  Downloading pandas-1.0.5.tar.gz (5.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.0/5.0 MB 220.9 MB/s eta 0:00:00[2024-02-17 19:52:31.921970] 
  Installing build dependencies: started
  Installing build dependencies: still running...
  Installing build dependencies: still running...
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
[19:49:52] 🚀 Starting up repository: 'model_deployment', branch: 'main', main module: 'app.py'
[19:49:52] 🐙 Cloning repository...
[19:49:53] 🐙 Cloning into '/mount/src/model_deployment'...
Warning: Permanently added the ED25519 host key for IP address '192.30.255.112' to the list of known hosts.
[19:49:53] 🐙 Cloned repository!
[19:49:53] 🐙 Pulling code changes from Github...
[19:49:54] 📦 Processing dependencies...

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

Collecting joblib==0.14.1
  Downloading joblib-0.14.1-py2.py3-none-any.whl (294 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 294.9/294.9 KB 10.7 MB/s eta 0:00:00[2024-02-17 19:49:55.252761] 
Collecting streamlit==1.7.0
  Downloading streamlit-1.7.0-py2.py3-none-any.whl (9.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.9/9.9 MB 195.3 MB/s eta 0:00:00[2024-02-17 19:49:55.442836] 
Collecting scikit-learn==0.23.1
  Downloading scikit-learn-0.23.1.tar.gz (7.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.2/7.2 MB 112.9 MB/s eta 0:00:00[2024-02-17 19:49:55.852206] 
  Installing build dependencies: started
  Installing build dependencies: still running...
  Installing build dependencies: still running...
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting pandas==1.0.5
  Downloading pandas-1.0.5.tar.gz (5.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.0/5.0 MB 220.9 MB/s eta 0:00:00[2024-02-17 19:52:31.921970] 
  Installing build dependencies: started
  Installing build dependencies: still running...
  Installing build dependencies: still running...
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [315 lines of output]
      <string>:18: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      <string>:55: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
      warning: pandas/_libs/algos_take_helper.pxi:51:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:178:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:305:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:432:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:559:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:686:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:813:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:940:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:1067:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:1194:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:1321:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:1448:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:1575:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:1702:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:1829:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:1956:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:2083:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:2210:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos_take_helper.pxi:2337:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
      warning: pandas/_libs/algos.pyx:117:42: Unknown type declaration 'bint' in annotation, ignoring
      warning: pandas/_libs/groupby.pyx:1104:26: Unreachable code
      performance hint: pandas/_libs/hashing.pyx:106:5: Exception check on 'u32to8_le' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare 'u32to8_le' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on 'u32to8_le' to allow an error code to be returned.
      performance hint: pandas/_libs/hashing.pyx:124:5: Exception check on '_sipround' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare '_sipround' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on '_sipround' to allow an error code to be returned.
      performance hint: pandas/_libs/hashing.pyx:168:21: Exception check after calling '_sipround' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare '_sipround' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on '_sipround' to allow an error code to be returned.
      performance hint: pandas/_libs/hashing.pyx:179:17: Exception check after calling '_sipround' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare '_sipround' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on '_sipround' to allow an error code to be returned.
      performance hint: pandas/_libs/hashing.pyx:185:17: Exception check after calling '_sipround' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare '_sipround' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on '_sipround' to allow an error code to be returned.
      performance hint: pandas/_libs/hashtable_class_helper.pxi:22:5: Exception check on 'append_data_float64' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare 'append_data_float64' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on 'append_data_float64' to allow an error code to be returned.
      performance hint: pandas/_libs/hashtable_class_helper.pxi:31:5: Exception check on 'append_data_int64' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare 'append_data_int64' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on 'append_data_int64' to allow an error code to be returned.
      performance hint: pandas/_libs/hashtable_class_helper.pxi:44:5: Exception check on 'append_data_string' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare 'append_data_string' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on 'append_data_string' to allow an error code to be returned.
      performance hint: pandas/_libs/hashtable_class_helper.pxi:57:5: Exception check on 'append_data_uint64' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare 'append_data_uint64' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on 'append_data_uint64' to allow an error code to be returned.
      performance hint: pandas/_libs/hashtable_class_helper.pxi:545:39: Exception check after calling 'append_data_float64' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare 'append_data_float64' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on 'append_data_float64' to allow an error code to be returned.
      performance hint: pandas/_libs/hashtable_class_helper.pxi:658:39: Exception check after calling 'append_data_float64' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare 'append_data_float64' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on 'append_data_float64' to allow an error code to be returned.
      performance hint: pandas/_libs/hashtable_class_helper.pxi:852:38: Exception check after calling 'append_data_uint64' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare 'append_data_uint64' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on 'append_data_uint64' to allow an error code to be returned.
      performance hint: pandas/_libs/hashtable_class_helper.pxi:962:38: Exception check after calling 'append_data_uint64' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare 'append_data_uint64' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on 'append_data_uint64' to allow an error code to be returned.
      performance hint: pandas/_libs/hashtable_class_helper.pxi:1156:37: Exception check after calling 'append_data_int64' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare 'append_data_int64' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on 'append_data_int64' to allow an error code to be returned.
      performance hint: pandas/_libs/hashtable_class_helper.pxi:1269:37: Exception check after calling 'append_data_int64' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare 'append_data_int64' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on 'append_data_int64' to allow an error code to be returned.
      performance hint: pandas/_libs/hashtable.pyx:166:33: Exception check after calling 'append_data_int64' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare 'append_data_int64' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on 'append_data_int64' to allow an error code to be returned.
      performance hint: pandas/_libs/parsers.pyx:1614:5: Exception check on '_to_fw_string_nogil' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare '_to_fw_string_nogil' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on '_to_fw_string_nogil' to allow an error code to be returned.
      performance hint: pandas/_libs/parsers.pyx:1609:27: Exception check after calling '_to_fw_string_nogil' will always require the GIL to be acquired.
      Possible solutions:
          1. Declare '_to_fw_string_nogil' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
          2. Use an 'int' return type on '_to_fw_string_nogil' to allow an error code to be returned.
      performance hint: pandas/_libs/parsers.pyx:1702:42: Exception check after calling 'double_converter' will always require the GIL to be acquired. Declare 'double_converter' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
      performance hint: pandas/_libs/parsers.pyx:1726:38: Exception check after calling 'double_converter' will always require the GIL to be acquired. Declare 'double_converter' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
      
      Error compiling Cython file:
      ------------------------------------------------------------
      ...
                  object cached_typ = None
      
              arr = self.arr
              chunk = self.dummy
              dummy_buf = chunk.data
              chunk.data = arr.data
                   ^
      ------------------------------------------------------------
      
      pandas/_libs/reduction.pyx:101:13: Assignment to a read-only property
      
      Error compiling Cython file:
      ------------------------------------------------------------
      ...
                          # On the first pass, we check the output shape to see
                          #  if this looks like a reduction.
                          _check_result_array(res, len(self.dummy))
      
                      PyArray_SETITEM(result, PyArray_ITER_DATA(it), res)
                      chunk.data = chunk.data + self.increment
                           ^
      ------------------------------------------------------------
      
      pandas/_libs/reduction.pyx:140:21: Assignment to a read-only property
      
      Error compiling Cython file:
      ------------------------------------------------------------
      ...
                      PyArray_SETITEM(result, PyArray_ITER_DATA(it), res)
                      chunk.data = chunk.data + self.increment
                      PyArray_ITER_NEXT(it)
              finally:
                  # so we don't free the wrong memory
                  chunk.data = dummy_buf
                       ^
      ------------------------------------------------------------
      
      pandas/_libs/reduction.pyx:144:17: Assignment to a read-only property
      
      Error compiling Cython file:
      ------------------------------------------------------------
      ...
                      PyArray_SETITEM(result, PyArray_ITER_DATA(it), res)
                      chunk.data = chunk.data + self.increment
                      PyArray_ITER_NEXT(it)
              finally:
                  # so we don't free the wrong memory
                  chunk.data = dummy_buf
                       ^
      ------------------------------------------------------------
      
      pandas/_libs/reduction.pyx:144:17: Assignment to a read-only property
      
      Error compiling Cython file:
      ------------------------------------------------------------
      ...
      
              self.orig_data = self.buf.data
              self.orig_len = self.buf.shape[0]
              self.orig_stride = self.buf.strides[0]
      
              self.buf.data = self.values.data
                      ^
      ------------------------------------------------------------
      
      pandas/_libs/reduction.pyx:437:16: Assignment to a read-only property
      
      Error compiling Cython file:
      ------------------------------------------------------------
      ...
      
              self.buf.data = self.values.data
              self.buf.strides[0] = self.stride
      
          cdef advance(self, Py_ssize_t k):
              self.buf.data = <char*>self.buf.data + self.stride * k
                      ^
      ------------------------------------------------------------
      
      pandas/_libs/reduction.pyx:441:16: Assignment to a read-only property
      
      Error compiling Cython file:
      ------------------------------------------------------------
      ...
      
          cdef move(self, int start, int end):
              """
              For slicing
              """
              self.buf.data = self.values.data + self.stride * start
                      ^
      ------------------------------------------------------------
      
      pandas/_libs/reduction.pyx:447:16: Assignment to a read-only property
      
      Error compiling Cython file:
      ------------------------------------------------------------
      ...
              self.buf.shape[0] = length
      
          cdef reset(self):
      
              self.buf.shape[0] = self.orig_len
              self.buf.data = self.orig_data
                      ^
      ------------------------------------------------------------
      
      pandas/_libs/reduction.pyx:456:16: Assignment to a read-only property
      
      Error compiling Cython file:
      ------------------------------------------------------------
      ...
              # move blocks
              for i in range(self.nblocks):
                  arr = self.blocks[i]
      
                  # axis=1 is the frame's axis=0
                  arr.data = self.base_ptrs[i] + arr.strides[1] * start
                     ^
      ------------------------------------------------------------
      
      pandas/_libs/reduction.pyx:573:15: Assignment to a read-only property
      
      Error compiling Cython file:
      ------------------------------------------------------------
      ...
              # reset blocks
              for i in range(self.nblocks):
                  arr = self.blocks[i]
      
                  # axis=1 is the frame's axis=0
                  arr.data = self.base_ptrs[i]
                     ^
      ------------------------------------------------------------
      
      pandas/_libs/reduction.pyx:592:15: Assignment to a read-only property
      Compiling pandas/_libs/algos.pyx because it changed.
      Compiling pandas/_libs/groupby.pyx because it changed.
      Compiling pandas/_libs/hashing.pyx because it changed.
      Compiling pandas/_libs/hashtable.pyx because it changed.
      Compiling pandas/_libs/index.pyx because it changed.
      Compiling pandas/_libs/indexing.pyx because it changed.
      Compiling pandas/_libs/internals.pyx because it changed.
      Compiling pandas/_libs/interval.pyx because it changed.
      Compiling pandas/_libs/join.pyx because it changed.
      Compiling pandas/_libs/lib.pyx because it changed.
      Compiling pandas/_libs/missing.pyx because it changed.
      Compiling pandas/_libs/parsers.pyx because it changed.
      Compiling pandas/_libs/reduction.pyx because it changed.
      Compiling pandas/_libs/ops.pyx because it changed.
      Compiling pandas/_libs/ops_dispatch.pyx because it changed.
      Compiling pandas/_libs/properties.pyx because it changed.
      Compiling pandas/_libs/reshape.pyx because it changed.
      Compiling pandas/_libs/sparse.pyx because it changed.
      Compiling pandas/_libs/tslib.pyx because it changed.
      Compiling pandas/_libs/tslibs/c_timestamp.pyx because it changed.
      Compiling pandas/_libs/tslibs/ccalendar.pyx because it changed.
      Compiling pandas/_libs/tslibs/conversion.pyx because it changed.
      Compiling pandas/_libs/tslibs/fields.pyx because it changed.
      Compiling pandas/_libs/tslibs/frequencies.pyx because it changed.
      Compiling pandas/_libs/tslibs/nattype.pyx because it changed.
      Compiling pandas/_libs/tslibs/np_datetime.pyx because it changed.
      Compiling pandas/_libs/tslibs/offsets.pyx because it changed.
      Compiling pandas/_libs/tslibs/parsing.pyx because it changed.
      Compiling pandas/_libs/tslibs/period.pyx because it changed.
      Compiling pandas/_libs/tslibs/resolution.pyx because it changed.
      Compiling pandas/_libs/tslibs/strptime.pyx because it changed.
      Compiling pandas/_libs/tslibs/timedeltas.pyx because it changed.
      Compiling pandas/_libs/tslibs/timestamps.pyx because it changed.
      Compiling pandas/_libs/tslibs/timezones.pyx because it changed.
      Compiling pandas/_libs/tslibs/tzconversion.pyx because it changed.
      Compiling pandas/_libs/testing.pyx because it changed.
      Compiling pandas/_libs/window/aggregations.pyx because it changed.
      Compiling pandas/_libs/window/indexers.pyx because it changed.
      Compiling pandas/_libs/writers.pyx because it changed.
      Compiling pandas/io/sas/sas.pyx because it changed.
      [ 1/40] Cythonizing pandas/_libs/algos.pyx
      [ 2/40] Cythonizing pandas/_libs/groupby.pyx
      [ 3/40] Cythonizing pandas/_libs/hashing.pyx
      [ 4/40] Cythonizing pandas/_libs/hashtable.pyx
      [ 5/40] Cythonizing pandas/_libs/index.pyx
      [ 6/40] Cythonizing pandas/_libs/indexing.pyx
      [ 7/40] Cythonizing pandas/_libs/internals.pyx
      [ 8/40] Cythonizing pandas/_libs/interval.pyx
      [ 9/40] Cythonizing pandas/_libs/join.pyx
      [10/40] Cythonizing pandas/_libs/lib.pyx
      [11/40] Cythonizing pandas/_libs/missing.pyx
      [12/40] Cythonizing pandas/_libs/ops.pyx
      [13/40] Cythonizing pandas/_libs/ops_dispatch.pyx
      [14/40] Cythonizing pandas/_libs/parsers.pyx
      [15/40] Cythonizing pandas/_libs/properties.pyx
      [16/40] Cythonizing pandas/_libs/reduction.pyx
      Traceback (most recent call last):
        File "/home/adminuser/venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
          main()
        File "/home/adminuser/venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/home/adminuser/venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-atg1lhft/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/tmp/pip-build-env-atg1lhft/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-atg1lhft/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 480, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-atg1lhft/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 757, in <module>
        File "<string>", line 542, in maybe_cythonize
        File "/tmp/pip-build-env-atg1lhft/overlay/lib/python3.9/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
          cythonize_one(*args)
        File "/tmp/pip-build-env-atg1lhft/overlay/lib/python3.9/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
          raise CompileError(None, pyx_file)
      Cython.Compiler.Errors.CompileError: pandas/_libs/reduction.pyx
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: You are using pip version 22.0.3; however, version 24.0 is available.
You should consider upgrading via the '/home/adminuser/venv/bin/python -m pip install --upgrade pip' command.
Checking if Streamlit is installed

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

[19:55:38] ❗️ installer returned a non-zero exit code
[19:55:38] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[19:57:12] ❗️ Streamlit server consistently failed status checks
[19:57:12] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.
  • Any reason you are using such ancient versions of pandas and scikit-learn libraries?
  • Please share a link to your public github repo.

I tried a tutorial to deploy my ML model. The rquirements.txt file contains these versions. I tried with the latest versions too. But failed.

For those old packages you should be using python<=3.8.

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