Gtting the following error while deploying the app

Please take a moment to search the forum and documentation before posting a new topic.
If you’re creating a debugging post, please include the following info:

  1. Are you running your app locally or is it deployed?
  2. If your app is deployed:
    a. Is it deployed on Community Cloud or another hosting platform?
    b. Share the link to the public deployed app.
  3. Share the link to your app’s public GitHub repository (including a requirements file).
  4. Share the full text of the error message (not a screenshot).
  5. Share the Streamlit and Python versions.

My app runs locally but is not being deployed on the streamlit community cloud due to following error

[17:20:30] ❗️ installer returned a non-zero exit code
[17:20:30] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.
[17:22:04] ❗️ Streamlit server consistently failed status checks
[17:22:04] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.
sklearn/utils/murmurhash.pyx:50:6: Function signature does not match previous declaration
      Traceback (most recent call last):
        File "/tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1345, in cythonize_one_helper
          return cythonize_one(*m)
                 ^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
          raise CompileError(None, pyx_file)
      Cython.Compiler.Errors.CompileError: sklearn/utils/murmurhash.pyx
      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:245:34: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:257:28: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:263:35: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:271:37: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:278:33: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:284:30: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:968:31: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:999:38: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:1014:37: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:1029:45: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:1039:47: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:1046:48: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
      multiprocessing.pool.RemoteTraceback:
      """
      Traceback (most recent call last):
        File "/usr/local/lib/python3.12/multiprocessing/pool.py", line 125, in worker
          result = (True, func(*args, **kwds))
                          ^^^^^^^^^^^^^^^^^^^
        File "/usr/local/lib/python3.12/multiprocessing/pool.py", line 48, in mapstar
          return list(map(*args))
                 ^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1345, in cythonize_one_helper
          return cythonize_one(*m)
                 ^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
          raise CompileError(None, pyx_file)
      Cython.Compiler.Errors.CompileError: sklearn/_loss/_loss.pyx
      """
      
      The above exception was the direct cause of the following exception:
      
      Traceback (most recent call last):
        File "/home/adminuser/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      [ 1/64] Cythonizing sklearn/__check_build/_check_build.pyx
      [ 2/64] Cythonizing sklearn/_isotonic.pyx
      [ 3/64] Cythonizing sklearn/_loss/_loss.pyx
      [ 4/64] Cythonizing sklearn/cluster/_dbscan_inner.pyx
      [ 5/64] Cythonizing sklearn/cluster/_hierarchical_fast.pyx
      [ 6/64] Cythonizing sklearn/cluster/_k_means_common.pyx
      [ 7/64] Cythonizing sklearn/cluster/_k_means_elkan.pyx
      [ 8/64] Cythonizing sklearn/cluster/_k_means_lloyd.pyx
      [ 9/64] Cythonizing sklearn/cluster/_k_means_minibatch.pyx
      [10/64] Cythonizing sklearn/datasets/_svmlight_format_fast.pyx
      [11/64] Cythonizing sklearn/decomposition/_cdnmf_fast.pyx
      [12/64] Cythonizing sklearn/decomposition/_online_lda_fast.pyx
      [13/64] Cythonizing sklearn/ensemble/_gradient_boosting.pyx
      [14/64] Cythonizing sklearn/ensemble/_hist_gradient_boosting/_binning.pyx
      [15/64] Cythonizing sklearn/ensemble/_hist_gradient_boosting/_bitset.pyx
      [16/64] Cythonizing sklearn/ensemble/_hist_gradient_boosting/_gradient_boosting.pyx
      [17/64] Cythonizing sklearn/ensemble/_hist_gradient_boosting/_predictor.pyx
      [18/64] Cythonizing sklearn/ensemble/_hist_gradient_boosting/common.pyx
      [19/64] Cythonizing sklearn/ensemble/_hist_gradient_boosting/histogram.pyx
      [20/64] Cythonizing sklearn/ensemble/_hist_gradient_boosting/splitting.pyx
      [21/64] Cythonizing sklearn/ensemble/_hist_gradient_boosting/utils.pyx
      [22/64] Cythonizing sklearn/feature_extraction/_hashing_fast.pyx
      [23/64] Cythonizing sklearn/linear_model/_cd_fast.pyx
      [24/64] Cythonizing sklearn/linear_model/_sag_fast.pyx
      [25/64] Cythonizing sklearn/linear_model/_sgd_fast.pyx
      [26/64] Cythonizing sklearn/manifold/_barnes_hut_tsne.pyx
      [27/64] Cythonizing sklearn/manifold/_utils.pyx
      [28/64] Cythonizing sklearn/metrics/_dist_metrics.pyx
      [29/64] Cythonizing sklearn/metrics/_pairwise_distances_reduction/_argkmin.pyx
      [30/64] Cythonizing sklearn/metrics/_pairwise_distances_reduction/_base.pyx
      [31/64] Cythonizing sklearn/metrics/_pairwise_distances_reduction/_datasets_pair.pyx
      [32/64] Cythonizing sklearn/metrics/_pairwise_distances_reduction/_middle_term_computer.pyx
      [33/64] Cythonizing sklearn/metrics/_pairwise_distances_reduction/_radius_neighbors.pyx
      [34/64] Cythonizing sklearn/metrics/_pairwise_fast.pyx
      [35/64] Cythonizing sklearn/metrics/cluster/_expected_mutual_info_fast.pyx
      [36/64] Cythonizing sklearn/neighbors/_ball_tree.pyx
      [37/64] Cythonizing sklearn/neighbors/_kd_tree.pyx
      [38/64] Cythonizing sklearn/neighbors/_partition_nodes.pyx
      [39/64] Cythonizing sklearn/neighbors/_quad_tree.pyx
      [40/64] Cythonizing sklearn/preprocessing/_csr_polynomial_expansion.pyx
      [41/64] Cythonizing sklearn/svm/_liblinear.pyx
      [42/64] Cythonizing sklearn/svm/_libsvm.pyx
      [43/64] Cythonizing sklearn/svm/_libsvm_sparse.pyx
      [44/64] Cythonizing sklearn/svm/_newrand.pyx
      [45/64] Cythonizing sklearn/tree/_criterion.pyx
      [46/64] Cythonizing sklearn/tree/_splitter.pyx
      [47/64] Cythonizing sklearn/tree/_tree.pyx
      [48/64] Cythonizing sklearn/tree/_utils.pyx
      [49/64] Cythonizing sklearn/utils/_cython_blas.pyx
      [50/64] Cythonizing sklearn/utils/_fast_dict.pyx
      [51/64] Cythonizing sklearn/utils/_heap.pyx
      [52/64] Cythonizing sklearn/utils/_isfinite.pyx
      [53/64] Cythonizing sklearn/utils/_logistic_sigmoid.pyx
      [54/64] Cythonizing sklearn/utils/_openmp_helpers.pyx
      [55/64] Cythonizing sklearn/utils/_random.pyx
      [56/64] Cythonizing sklearn/utils/_readonly_array_wrapper.pyx
      [57/64] Cythonizing sklearn/utils/_seq_dataset.pyx
      [58/64] Cythonizing sklearn/utils/_sorting.pyx
      [59/64] Cythonizing sklearn/utils/_typedefs.pyx
      [60/64] Cythonizing sklearn/utils/_vector_sentinel.pyx
      [61/64] Cythonizing sklearn/utils/_weight_vector.pyx
      [62/64] Cythonizing sklearn/utils/arrayfuncs.pyx
      [63/64] Cythonizing sklearn/utils/murmurhash.pyx
      [64/64] Cythonizing sklearn/utils/sparsefuncs_fast.pyx
          main()
        File "/home/adminuser/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/adminuser/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
          return hook(metadata_directory, config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 377, in prepare_metadata_for_build_wheel
          self.run_setup()
        File "/tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 522, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 320, in run_setup
          exec(code, locals())
        File "<string>", line 669, in <module>
        File "<string>", line 663, in setup_package
        File "<string>", line 597, in configure_extension_modules
        File "/tmp/pip-install-9wjwxzva/scikit-learn_aa4ab87f55864bd185c561673ce7c8c7/sklearn/_build_utils/__init__.py", line 98, in cythonize_extensions
          return cythonize(
                 ^^^^^^^^^^
        File "/tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1145, in cythonize
          result.get(99999)  # seconds
          ^^^^^^^^^^^^^^^^^
        File "/usr/local/lib/python3.12/multiprocessing/pool.py", line 774, in get
          raise self._value
      Cython.Compiler.Errors.CompileError: sklearn/_loss/_loss.pyx
      [end of output]
```sklearn/utils/murmurhash.pyx:50:6: Function signature does not match previous declaration

      Traceback (most recent call last):

        File "/tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1345, in cythonize_one_helper

          return cythonize_one(*m)

                 ^^^^^^^^^^^^^^^^^

        File "/tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one

          raise CompileError(None, pyx_file)

      Cython.Compiler.Errors.CompileError: sklearn/utils/murmurhash.pyx

      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:245:34: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.

      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:257:28: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.

      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:263:35: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.

      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:271:37: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.

      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:278:33: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.

      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:284:30: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.

      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:968:31: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.

      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:999:38: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.

      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:1014:37: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.

      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:1029:45: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.

      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:1039:47: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.

      warning: /tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd:1046:48: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.

      multiprocessing.pool.RemoteTraceback:

      """

      Traceback (most recent call last):

        File "/usr/local/lib/python3.12/multiprocessing/pool.py", line 125, in worker

          result = (True, func(*args, **kwds))

                          ^^^^^^^^^^^^^^^^^^^

        File "/usr/local/lib/python3.12/multiprocessing/pool.py", line 48, in mapstar

          return list(map(*args))

                 ^^^^^^^^^^^^^^^^

        File "/tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1345, in cythonize_one_helper

          return cythonize_one(*m)

                 ^^^^^^^^^^^^^^^^^

        File "/tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one

          raise CompileError(None, pyx_file)

      Cython.Compiler.Errors.CompileError: sklearn/_loss/_loss.pyx

      """

      

      The above exception was the direct cause of the following exception:

      

      Traceback (most recent call last):

        File "/home/adminuser/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>

      [ 1/64] Cythonizing sklearn/__check_build/_check_build.pyx

      [ 2/64] Cythonizing sklearn/_isotonic.pyx

      [ 3/64] Cythonizing sklearn/_loss/_loss.pyx

      [ 4/64] Cythonizing sklearn/cluster/_dbscan_inner.pyx

      [ 5/64] Cythonizing sklearn/cluster/_hierarchical_fast.pyx

      [ 6/64] Cythonizing sklearn/cluster/_k_means_common.pyx

      [ 7/64] Cythonizing sklearn/cluster/_k_means_elkan.pyx

      [ 8/64] Cythonizing sklearn/cluster/_k_means_lloyd.pyx

      [ 9/64] Cythonizing sklearn/cluster/_k_means_minibatch.pyx

      [10/64] Cythonizing sklearn/datasets/_svmlight_format_fast.pyx

      [11/64] Cythonizing sklearn/decomposition/_cdnmf_fast.pyx

      [12/64] Cythonizing sklearn/decomposition/_online_lda_fast.pyx

      [13/64] Cythonizing sklearn/ensemble/_gradient_boosting.pyx

      [14/64] Cythonizing sklearn/ensemble/_hist_gradient_boosting/_binning.pyx

      [15/64] Cythonizing sklearn/ensemble/_hist_gradient_boosting/_bitset.pyx

      [16/64] Cythonizing sklearn/ensemble/_hist_gradient_boosting/_gradient_boosting.pyx

      [17/64] Cythonizing sklearn/ensemble/_hist_gradient_boosting/_predictor.pyx

      [18/64] Cythonizing sklearn/ensemble/_hist_gradient_boosting/common.pyx

      [19/64] Cythonizing sklearn/ensemble/_hist_gradient_boosting/histogram.pyx

      [20/64] Cythonizing sklearn/ensemble/_hist_gradient_boosting/splitting.pyx

      [21/64] Cythonizing sklearn/ensemble/_hist_gradient_boosting/utils.pyx

      [22/64] Cythonizing sklearn/feature_extraction/_hashing_fast.pyx

      [23/64] Cythonizing sklearn/linear_model/_cd_fast.pyx

      [24/64] Cythonizing sklearn/linear_model/_sag_fast.pyx

      [25/64] Cythonizing sklearn/linear_model/_sgd_fast.pyx

      [26/64] Cythonizing sklearn/manifold/_barnes_hut_tsne.pyx

      [27/64] Cythonizing sklearn/manifold/_utils.pyx

      [28/64] Cythonizing sklearn/metrics/_dist_metrics.pyx

      [29/64] Cythonizing sklearn/metrics/_pairwise_distances_reduction/_argkmin.pyx

      [30/64] Cythonizing sklearn/metrics/_pairwise_distances_reduction/_base.pyx

      [31/64] Cythonizing sklearn/metrics/_pairwise_distances_reduction/_datasets_pair.pyx

      [32/64] Cythonizing sklearn/metrics/_pairwise_distances_reduction/_middle_term_computer.pyx

      [33/64] Cythonizing sklearn/metrics/_pairwise_distances_reduction/_radius_neighbors.pyx

      [34/64] Cythonizing sklearn/metrics/_pairwise_fast.pyx

      [35/64] Cythonizing sklearn/metrics/cluster/_expected_mutual_info_fast.pyx

      [36/64] Cythonizing sklearn/neighbors/_ball_tree.pyx

      [37/64] Cythonizing sklearn/neighbors/_kd_tree.pyx

      [38/64] Cythonizing sklearn/neighbors/_partition_nodes.pyx

      [39/64] Cythonizing sklearn/neighbors/_quad_tree.pyx

      [40/64] Cythonizing sklearn/preprocessing/_csr_polynomial_expansion.pyx

      [41/64] Cythonizing sklearn/svm/_liblinear.pyx

      [42/64] Cythonizing sklearn/svm/_libsvm.pyx

      [43/64] Cythonizing sklearn/svm/_libsvm_sparse.pyx

      [44/64] Cythonizing sklearn/svm/_newrand.pyx

      [45/64] Cythonizing sklearn/tree/_criterion.pyx

      [46/64] Cythonizing sklearn/tree/_splitter.pyx

      [47/64] Cythonizing sklearn/tree/_tree.pyx

      [48/64] Cythonizing sklearn/tree/_utils.pyx

      [49/64] Cythonizing sklearn/utils/_cython_blas.pyx

      [50/64] Cythonizing sklearn/utils/_fast_dict.pyx

      [51/64] Cythonizing sklearn/utils/_heap.pyx

      [52/64] Cythonizing sklearn/utils/_isfinite.pyx

      [53/64] Cythonizing sklearn/utils/_logistic_sigmoid.pyx

      [54/64] Cythonizing sklearn/utils/_openmp_helpers.pyx

      [55/64] Cythonizing sklearn/utils/_random.pyx

      [56/64] Cythonizing sklearn/utils/_readonly_array_wrapper.pyx

      [57/64] Cythonizing sklearn/utils/_seq_dataset.pyx

      [58/64] Cythonizing sklearn/utils/_sorting.pyx

      [59/64] Cythonizing sklearn/utils/_typedefs.pyx

      [60/64] Cythonizing sklearn/utils/_vector_sentinel.pyx

      [61/64] Cythonizing sklearn/utils/_weight_vector.pyx

      [62/64] Cythonizing sklearn/utils/arrayfuncs.pyx

      [63/64] Cythonizing sklearn/utils/murmurhash.pyx

      [64/64] Cythonizing sklearn/utils/sparsefuncs_fast.pyx

          main()

        File "/home/adminuser/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main

          json_out['return_val'] = hook(**hook_input['kwargs'])

                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

        File "/home/adminuser/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel

          return hook(metadata_directory, config_settings)

                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

        File "/tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 377, in prepare_metadata_for_build_wheel

          self.run_setup()

        File "/tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 522, in run_setup

          super().run_setup(setup_script=setup_script)

        File "/tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 320, in run_setup

          exec(code, locals())

        File "<string>", line 669, in <module>

        File "<string>", line 663, in setup_package

        File "<string>", line 597, in configure_extension_modules

        File "/tmp/pip-install-9wjwxzva/scikit-learn_aa4ab87f55864bd185c561673ce7c8c7/sklearn/_build_utils/__init__.py", line 98, in cythonize_extensions

          return cythonize(

                 ^^^^^^^^^^

        File "/tmp/pip-build-env-0okzw647/overlay/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1145, in cythonize

          result.get(99999)  # seconds

          ^^^^^^^^^^^^^^^^^

        File "/usr/local/lib/python3.12/multiprocessing/pool.py", line 774, in get

          raise self._value

      Cython.Compiler.Errors.CompileError: sklearn/_loss/_loss.pyx

      [end of output]

github repo link : https://github.com/ParthSarnobat/Streamlit-cancer-prediction

:point_up:

scikit_learn==1.2.2 is too old for python 3.12. Specify a more recent scikit-learn or use an older python.