seafile 11安装出错

按安装说明安装依赖时执行出错,

sudo pip3 install django==3.2.* future==0.18.* mysqlclient==2.1.* pymysql pillow==10.0.* pylibmc captcha==0.4 markupsafe==2.0.1 jinja2 sqlalchemy==2.0.18 psd-tools django-pylibmc django_simple_captcha==0.5.* djangosaml2==1.5.* pysaml2==7.2.* pycryptodome==3.16.* cffi==1.15.1 python-ldap==3.4.3 lxml

错误信息:
Collecting django==3.2.*
Using cached Django-3.2.25-py3-none-any.whl (7.9 MB)
Requirement already satisfied: future==0.18.* in /usr/lib/python3/dist-packages (0.18.2)
Collecting mysqlclient==2.1.*
Using cached mysqlclient-2.1.1.tar.gz (88 kB)
Preparing metadata (setup.py) … done
Collecting pymysql
Using cached PyMySQL-1.1.1-py3-none-any.whl (44 kB)
Collecting pillow==10.0.*
Using cached Pillow-10.0.1-cp310-cp310-manylinux_2_28_x86_64.whl (3.6 MB)
Collecting pylibmc
Using cached pylibmc-1.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)
Collecting captcha==0.4
Using cached captcha-0.4-py3-none-any.whl (102 kB)
Requirement already satisfied: markupsafe==2.0.1 in /usr/lib/python3/dist-packages (2.0.1)
Collecting jinja2
Using cached jinja2-3.1.4-py3-none-any.whl (133 kB)
Collecting sqlalchemy==2.0.18
Using cached SQLAlchemy-2.0.18-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB)
Collecting psd-tools
Using cached psd_tools-1.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (684 kB)
Collecting django-pylibmc
Using cached django_pylibmc-0.6.1-py2.py3-none-any.whl (8.8 kB)
Collecting django_simple_captcha==0.5.*
Using cached django_simple_captcha-0.5.20-py2.py3-none-any.whl (93 kB)
Collecting djangosaml2==1.5.*
Using cached djangosaml2-1.5.8.tar.gz (360 kB)
Installing build dependencies … error
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 2
╰─> [79 lines of output]
Collecting setuptools>=40.8.0
Downloading setuptools-75.1.0-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 1.0/1.2 MB 4.4 kB/s eta 0:00:52
ERROR: Exception:
Traceback (most recent call last):
File “/tmp/pip-standalone-pip-ux7ggloe/env_pip.zip/pip/_vendor/urllib3/response.py”, line 438, in _error_catcher
yield
File “/tmp/pip-standalone-pip-ux7ggloe/env_pip.zip/pip/_vendor/urllib3/response.py”, line 519, in read
data = self._fp.read(amt) if not fp_closed else b""
File “/tmp/pip-standalone-pip-ux7ggloe/env_pip.zip/pip/_vendor/cachecontrol/filewrapper.py”, line 90, in read
data = self.__fp.read(amt)
File “/usr/lib/python3.10/http/client.py”, line 466, in read
s = self.fp.read(amt)
File “/usr/lib/python3.10/socket.py”, line 705, in readinto
return self._sock.recv_into(b)
File “/usr/lib/python3.10/ssl.py”, line 1303, in recv_into
return self.read(nbytes, buffer)
File “/usr/lib/python3.10/ssl.py”, line 1159, in read
return self._sslobj.read(len, buffer)
TimeoutError: The read operation timed out

  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/cli/base_command.py", line 165, in exc_logging_wrapper
      status = run_func(*args)
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/cli/req_command.py", line 205, in wrapper
      return func(self, options, args)
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/commands/install.py", line 339, in run
      requirement_set = resolver.resolve(
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/resolution/resolvelib/resolver.py", line 94, in resolve
      result = self._result = resolver.resolve(
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_vendor/resolvelib/resolvers.py", line 481, in resolve
      state = resolution.resolve(requirements, max_rounds=max_rounds)
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_vendor/resolvelib/resolvers.py", line 348, in resolve
      self._add_to_criteria(self.state.criteria, r, parent=None)
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_vendor/resolvelib/resolvers.py", line 172, in _add_to_criteria
      if not criterion.candidates:
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_vendor/resolvelib/structs.py", line 151, in __bool__
      return bool(self._sequence)
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__
      return any(self)
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in <genexpr>
      return (c for c in iterator if id(c) not in self._incompatible_ids)
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built
      candidate = func()
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/resolution/resolvelib/factory.py", line 215, in _make_candidate_from_link
      self._link_candidate_cache[link] = LinkCandidate(
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/resolution/resolvelib/candidates.py", line 288, in __init__
      super().__init__(
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/resolution/resolvelib/candidates.py", line 158, in __init__
      self.dist = self._prepare()
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/resolution/resolvelib/candidates.py", line 227, in _prepare
      dist = self._prepare_distribution()
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/resolution/resolvelib/candidates.py", line 299, in _prepare_distribution
      return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/operations/prepare.py", line 487, in prepare_linked_requirement
      return self._prepare_linked_requirement(req, parallel_builds)
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/operations/prepare.py", line 532, in _prepare_linked_requirement
      local_file = unpack_url(
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/operations/prepare.py", line 214, in unpack_url
      file = get_http_url(
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/operations/prepare.py", line 94, in get_http_url
      from_path, content_type = download(link, temp_dir.path)
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/network/download.py", line 146, in __call__
      for chunk in chunks:
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/cli/progress_bars.py", line 304, in _rich_progress_bar
      for chunk in iterable:
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_internal/network/utils.py", line 63, in response_chunks
      for chunk in response.raw.stream(
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_vendor/urllib3/response.py", line 576, in stream
      data = self.read(amt=amt, decode_content=decode_content)
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_vendor/urllib3/response.py", line 512, in read
      with self._error_catcher():
    File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
      self.gen.throw(typ, value, traceback)
    File "/tmp/pip-standalone-pip-ux7ggloe/__env_pip__.zip/pip/_vendor/urllib3/response.py", line 443, in _error_catcher
      raise ReadTimeoutError(self._pool, None, "Read timed out.")
  pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 2
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

应该还是系统python3环境的问题,建议使用docker部署