centos7 安装seafile7 出现 captcha错误

from .core import SetupView, BackupTokensView, SetupCompleteView, QRGeneratorView
File “/opt/seafile/seafile-pro-server-7.1.22/seahub/seahub/two_factor/views/core.py”, line 31, in
from seahub.auth.forms import AuthenticationForm
File “/opt/seafile/seafile-pro-server-7.1.22/seahub/seahub/auth/forms.py”, line 18, in
from captcha.fields import CaptchaField

使用 pip3 install --timeout=3600 Pillow pylibmc captcha jinja2 sqlalchemy psd-tools django-pylibmc django-simple-captcha
安装 出现
Collecting psd-tools
Using cached 6fff0ddde8e34/psd-tools-1.9.30.tar.gz (256 kB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing metadata (pyproject.toml) … done
Requirement already satisfied: django-pylibmc in /home/epoches/anaconda3/lib/python3.7/site-packages (0.6.1)
Requirement already satisfied: django-simple-captcha in /home/epoches/anaconda3/lib/python3.7/site-packages (0.5.20)
Requirement already satisfied: pandas_datareader in /home/epoches/anaconda3/lib/python3.7/site-packages (0.10.0)
Requirement already satisfied: MarkupSafe>=0.23 in /home/epoches/anaconda3/lib/python3.7/site-packages (from jinja2) (1.1.0)
Collecting docopt>=0.6.0 (from psd-tools)
Using cached pypi.tuna.tsinghua.edu.cn/packages/a2/55/8f8cab2afd404cf578136ef2cc5dfb50baa1761b68c9da1fb1e4eed343c9/docopt-0.6.2.tar.gz (25 kB)
Preparing metadata (setup.py) … done
Collecting attrs>=23.0.0 (from psd-tools)
Using cached //pypi.tuna.tsinghua.edu.cn/packages/e0/44/827b2a91a5816512fcaf3cc4ebc465ccd5d598c45cefa6703fcf4a79018f/attrs-23.2.0-py3-none-any.whl (60 kB)
INFO: pip is looking at multiple versions of psd-tools to determine which version is compatible with other requirements. This could take a while.
Collecting psd-tools
Using cached ://pypi.tuna.tsinghua.edu.cn/packages/2c/5c/c24cb5d3c59304a49486148e65e82748c4e2dc4d344b27c3827019bdb002/psd-tools-1.9.29.tar.gz (255 kB)
Installing build dependencies … done
Getting requirements to build wheel … error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
Traceback (most recent call last):
File “/home/epoches/anaconda3/lib/python3.7/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py”, line 353, in
main()
File “/home/epoches/anaconda3/lib/python3.7/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/epoches/anaconda3/lib/python3.7/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-kro2_v1t/overlay/lib/python3.7/site-packages/setuptools/build_meta.py”, line 341, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[‘wheel’])
File “/tmp/pip-build-env-kro2_v1t/overlay/lib/python3.7/site-packages/setuptools/build_meta.py”, line 323, in _get_build_requires
self.run_setup()
File “/tmp/pip-build-env-kro2_v1t/overlay/lib/python3.7/site-packages/setuptools/build_meta.py”, line 338, in run_setup
exec(code, locals())
File “”, line 16, in
File “/tmp/pip-build-env-kro2_v1t/overlay/lib/python3.7/site-packages/Cython/Build/Dependencies.py”, line 1017, in cythonize
aliases=aliases)
File “/tmp/pip-build-env-kro2_v1t/overlay/lib/python3.7/site-packages/Cython/Build/Dependencies.py”, line 845, in create_extension_list
for file in nonempty(sorted(extended_iglob(filepattern)), “‘%s’ doesn’t match any files” % filepattern):
File “/tmp/pip-build-env-kro2_v1t/overlay/lib/python3.7/site-packages/Cython/Build/Dependencies.py”, line 117, in nonempty
raise ValueError(error_msg)
ValueError: ‘src/psd_tools/compression/_rle.pyx’ doesn’t match any files
[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.
错误

根据版本手动安装一下这个python模块

已经用anaconda 建立了虚拟环境,并单独安装 提示如下
INFO: pip is looking at multiple versions of psd-tools to determine which version is compatible with other requirements. This could take a while.
Collecting psd-tools
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/2c/5c/c24cb5d3c59304a49486148e65e82748c4e2dc4d344b27c3827019bdb002/psd-tools-1.9.29.tar.gz (255 kB)
Installing build dependencies … done
Getting requirements to build wheel … error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.

Traceback (most recent call last):
File “/home/epoches/anaconda3/envs/seafile/lib/python3.7/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py”, line 353, in
main()
File “/home/epoches/anaconda3/envs/seafile/lib/python3.7/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/epoches/anaconda3/envs/seafile/lib/python3.7/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-m7moh_e2/overlay/lib/python3.7/site-packages/setuptools/build_meta.py”, line 341, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[‘wheel’])
File “/tmp/pip-build-env-m7moh_e2/overlay/lib/python3.7/site-packages/setuptools/build_meta.py”, line 323, in _get_build_requires
self.run_setup()
File “/tmp/pip-build-env-m7moh_e2/overlay/lib/python3.7/site-packages/setuptools/build_meta.py”, line 338, in run_setup
exec(code, locals())
File “”, line 16, in
File “/tmp/pip-build-env-m7moh_e2/overlay/lib/python3.7/site-packages/Cython/Build/Dependencies.py”, line 1017, in cythonize
aliases=aliases)
File “/tmp/pip-build-env-m7moh_e2/overlay/lib/python3.7/site-packages/Cython/Build/Dependencies.py”, line 845, in create_extension_list
for file in nonempty(sorted(extended_iglob(filepattern)), “‘%s’ doesn’t match any files” % filepattern):
File “/tmp/pip-build-env-m7moh_e2/overlay/lib/python3.7/site-packages/Cython/Build/Dependencies.py”, line 117, in nonempty
raise ValueError(error_msg)
ValueError: ‘src/psd_tools/compression/_rle.pyx’ doesn’t match any files
[end of output]