I couldn't install sckit.surprise. at deploy. it gave me error

here is the log:

[ UTC ] Logs for playstation-oneri.streamlit.app/
────────────────────────────────────────────────────────────────────────────────────────
[08:01:35] :desktop_computer: Provisioning machine…
[08:01:35] :control_knobs: Preparing system…
[08:01:35] :chains: Spinning up manager process…
[08:01:40] :rocket: Starting up repository: ‘istds-proje-4’, branch: ‘main’, main module: ‘playstation.py’
[08:01:40] :octopus: Cloning repository…
[08:01:40] :octopus: Cloning into ‘/mount/src/istds-proje-4’…

[08:01:40] :octopus: Cloned repository!
[08:01:40] :octopus: Pulling code changes from Github…
[08:01:41] :package: Processing dependencies…

──────────────────────────────────────── uv ───────────────────────────────────────────

Using uv pip install.
Using Python 3.11.12 environment at /home/adminuser/venv
Resolved 42 packages in 843ms
× Failed to download and build scikit-surprise==1.1.1
╰─▶ Build backend failed to determine requirements with build_wheel()
(exit status: 1)

  [stderr]
  <string>:45: _DeprecatedInstaller: setuptools.installer and
  fetch_build_eggs are deprecated.
  !!

  
  ********************************************************************************
          Requirements should be satisfied by a PEP 517 installer.
          If you are using pip, you can try `pip install --use-pep517`.

          By 2025-Oct-31, you need to update your project and remove
  deprecated calls
          or your builds will no longer be supported.
  
  ********************************************************************************

  !!
  /home/adminuser/.cache/uv/builds-v0/.tmpyCX4Du/bin/python: No module
  named pip
  Traceback (most recent call last):
    File
  "/home/adminuser/.cache/uv/builds-v0/.tmpyCX4Du/lib/python3.11/site-packages/setuptools/installer.py",
  line 121, in _fetch_build_egg_no_warn
      subprocess.check_call(cmd)
    File "/usr/local/lib/python3.11/subprocess.py", line 413, in
  check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command
  '['/home/adminuser/.cache/uv/builds-v0/.tmpyCX4Du/bin/python', '-m',
  'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w',
  '/tmp/tmprnkgh9x6', '--quiet', 'numpy>=1.11.2']' returned non-zero exit
  status 1.

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

  Traceback (most recent call last):
    File "<string>", line 14, in <module>
    File
  "/home/adminuser/.cache/uv/builds-v0/.tmpyCX4Du/lib/python3.11/site-packages/setuptools/build_meta.py",
  line 331, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=[])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File
  "/home/adminuser/.cache/uv/builds-v0/.tmpyCX4Du/lib/python3.11/site-packages/setuptools/build_meta.py",
  line 301, in _get_build_requires
      self.run_setup()
    File
  "/home/adminuser/.cache/uv/builds-v0/.tmpyCX4Du/lib/python3.11/site-packages/setuptools/build_meta.py",
  line 512, in run_setup
      super().run_setup(setup_script=setup_script)
    File
  "/home/adminuser/.cache/uv/builds-v0/.tmpyCX4Du/lib/python3.11/site-packages/setuptools/build_meta.py",
  line 317, in run_setup
      exec(code, locals())
    File "<string>", line 45, in <module>
    File
  "/home/adminuser/.cache/uv/builds-v0/.tmpyCX4Du/lib/python3.11/site-packages/setuptools/dist.py",
  line 766, in fetch_build_eggs
      return _fetch_build_eggs(self, requires)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File
  "/home/adminuser/.cache/uv/builds-v0/.tmpyCX4Du/lib/python3.11/site-packages/setuptools/installer.py",
  line 54, in _fetch_build_eggs
      resolved_dists = [_fetch_build_egg_no_warn(dist, req) for req in
  needed_reqs]
  
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File
  "/home/adminuser/.cache/uv/builds-v0/.tmpyCX4Du/lib/python3.11/site-packages/setuptools/installer.py",
  line 54, in <listcomp>
      resolved_dists = [_fetch_build_egg_no_warn(dist, req) for req in
  needed_reqs]
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File
  "/home/adminuser/.cache/uv/builds-v0/.tmpyCX4Du/lib/python3.11/site-packages/setuptools/installer.py",
  line 123, in _fetch_build_egg_no_warn
      raise DistutilsError(str(e)) from e
  distutils.errors.DistutilsError: Command
  '['/home/adminuser/.cache/uv/builds-v0/.tmpyCX4Du/bin/python', '-m',
  'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w',
  '/tmp/tmprnkgh9x6', '--quiet', 'numpy>=1.11.2']' returned non-zero exit
  status 1.

Checking if Streamlit is installed
Installing rich for an improved exception logging
Using uv pip install.
Using Python 3.11.12 environment at /home/adminuser/venv
Resolved 4 packages in 123ms
Prepared 4 packages in 103ms
Installed 4 packages in 12ms

  • markdown-it-py==3.0.0
  • mdurl==0.1.2[2025-06-13 08:01:43.736863]
  • pygments==2.19.1
  • rich==14.0.0

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

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

Using standard pip install.
Collecting streamlit~=1.43.2 (from -r /mount/src/istds-proje-4/requirements.txt (line 1))
Downloading streamlit-1.43.2-py2.py3-none-any.whl.metadata (8.9 kB)
Collecting pandas~=2.2.3 (from -r /mount/src/istds-proje-4/requirements.txt (line 2))
Downloading pandas-2.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (89 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.9/89.9 kB 3.5 MB/s eta 0:00:00[2025-06-13 08:01:44.895756]
Collecting numpy~=2.1.3 (from -r /mount/src/istds-proje-4/requirements.txt (line 3))
Downloading numpy-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.0/62.0 kB 34.1 MB/s eta 0:00:00[2025-06-13 08:01:45.117603]
Collecting scikit-learn~=1.6.1 (from -r /mount/src/istds-proje-4/requirements.txt (line 4))
Downloading scikit_learn-1.6.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (18 kB)
Collecting scikit-surprise==1.1.1 (from -r /mount/src/istds-proje-4/requirements.txt (line 5))
Downloading scikit-surprise-1.1.1.tar.gz (11.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.8/11.8 MB 212.1 MB/s eta 0:00:00[2025-06-13 08:01:45.340972]
Installing build dependencies: started
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
╰─> [53 lines of output]
:45: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

          ********************************************************************************
          Requirements should be satisfied by a PEP 517 installer.
          If you are using pip, you can try `pip install --use-pep517`.
  
          By 2025-Oct-31, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.
          ********************************************************************************
  
  !!
  /home/adminuser/venv/bin/python: No module named pip
  Traceback (most recent call last):
    File "/tmp/pip-build-env-33vqw_ey/overlay/lib/python3.11/site-packages/setuptools/installer.py", line 121, in _fetch_build_egg_no_warn
      subprocess.check_call(cmd)
    File "/usr/local/lib/python3.11/subprocess.py", line 413, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['/home/adminuser/venv/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp_p1l3z1t', '--quiet', 'numpy>=1.11.2']' returned non-zero exit status 1.
  
  The above exception was the direct cause of the following exception:
  
  Traceback (most recent call last):
    File "/home/adminuser/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/home/adminuser/venv/lib/python3.11/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.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
             ^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/pip-build-env-33vqw_ey/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=[])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/pip-build-env-33vqw_ey/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
      self.run_setup()
    File "/tmp/pip-build-env-33vqw_ey/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 512, in run_setup
      super().run_setup(setup_script=setup_script)
    File "/tmp/pip-build-env-33vqw_ey/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 317, in run_setup
      exec(code, locals())
    File "<string>", line 45, in <module>
    File "/tmp/pip-build-env-33vqw_ey/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 766, in fetch_build_eggs
      return _fetch_build_eggs(self, requires)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/pip-build-env-33vqw_ey/overlay/lib/python3.11/site-packages/setuptools/installer.py", line 54, in _fetch_build_eggs
      resolved_dists = [_fetch_build_egg_no_warn(dist, req) for req in needed_reqs]
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/pip-build-env-33vqw_ey/overlay/lib/python3.11/site-packages/setuptools/installer.py", line 54, in <listcomp>
      resolved_dists = [_fetch_build_egg_no_warn(dist, req) for req in needed_reqs]
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/tmp/pip-build-env-33vqw_ey/overlay/lib/python3.11/site-packages/setuptools/installer.py", line 123, in _fetch_build_egg_no_warn
      raise DistutilsError(str(e)) from e
  distutils.errors.DistutilsError: Command '['/home/adminuser/venv/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp_p1l3z1t', '--quiet', 'numpy>=1.11.2']' returned non-zero exit status 1.
  [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.

[notice] A new release of pip is available: 24.0 → 25.1.1
[notice] To update, run: pip install --upgrade pip
Checking if Streamlit is installed
Installing rich for an improved exception logging
Using standard pip install.
Collecting rich>=10.14.0
Downloading rich-14.0.0-py3-none-any.whl.metadata (18 kB)
Collecting markdown-it-py>=2.2.0 (from rich>=10.14.0)
Downloading markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pygments<3.0.0,>=2.13.0 (from rich>=10.14.0)
Downloading pygments-2.19.1-py3-none-any.whl.metadata (2.5 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=10.14.0)
Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
Downloading rich-14.0.0-py3-none-any.whl (243 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 243.2/243.2 kB 10.0 MB/s eta 0:00:00[2025-06-13 08:01:48.496531]
Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5 kB 241.1 MB/s eta 0:00:00[2025-06-13 08:01:48.508523]
Downloading pygments-2.19.1-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 66.3 MB/s eta 0:00:00[2025-06-13 08:01:48.538395]
Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Installing collected packages: pygments, mdurl, markdown-it-py, rich
Attempting uninstall: pygments
Found existing installation: Pygments 2.19.1
Uninstalling Pygments-2.19.1:
Successfully uninstalled Pygments-2.19.1
Attempting uninstall: mdurl
Found existing installation: mdurl 0.1.2
Uninstalling mdurl-0.1.2:
Successfully uninstalled mdurl-0.1.2
Attempting uninstall: markdown-it-py
Found existing installation: markdown-it-py 3.0.0
Uninstalling markdown-it-py-3.0.0:
Successfully uninstalled markdown-it-py-3.0.0
Attempting uninstall: rich
Found existing installation: rich 14.0.0
Uninstalling rich-14.0.0:
Successfully uninstalled rich-14.0.0
Successfully installed markdown-it-py-3.0.0 mdurl-0.1.2 pygments-2.19.1 rich-14.0.0

[notice] A new release of pip is available: 24.0 → 25.1.1
[notice] To update, run: pip install --upgrade pip

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

[08:01:50] :red_exclamation_mark: installer returned a non-zero exit code
[08:01:50] :red_exclamation_mark: Error during processing dependencies! Please fix the error and push an update, or try restarting the app.

OP, did you work out why you got this error? I’m having the same problem?