Seafile 7.0 升级到 7.1 Python3 环境问题(已解决)

解决方法:pip3 install --upgrade pip
谢谢3楼大佬的帮助

各位大佬~
Centos7环境Seafile7.0升级到7.1时报错
按官方步骤
1、yum install python3 python3-setuptools python3-pip -y
2、pip3 install --timeout=3600 Pillow pylibmc captcha jinja2 sqlalchemy psd-tools django-pylibmc django-simple-captcha python3-ldap
提示:(好像是安装psd-tools报的错)
/usr/local/lib64/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_de precated_api.h:17:2: 警告:#warning "Using deprecated NumPy API, disable it with " “#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION” [-Wcpp]
#warning "Using deprecated NumPy API, disable it with "
^
imagecodecs/_aec.c:602:20: 致命错误:libaec.h:没有那个文件或目录
#include “libaec.h”
^
编译中断。
error: command ‘gcc’ failed with exit status 1

----------------------------------------

Command “/usr/bin/python3 -u -c “import setuptools, tokenize;file=’/tmp/pip- build-4hhy2xcw/imagecodecs/setup.py’;f=getattr(tokenize, ‘open’, open)(file) ;code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exe c’))” install --record /tmp/pip-uzug571x-record/install-record.txt --single-vers ion-externally-managed --compile” failed with error code 1 in /tmp/pip-build-4hh y2xcw/imagecodecs/

有知道的回复下,谢谢

psd-tools 不是必须的。你可以去掉

我也遇到了这样的问题,最后更新了pip3后解决了。你可以试一下。
pip3 install --upgrade pip

1 个赞

感谢,按您的方法解决了。

来留下个脚印