1、查看你是不是有多个python
whereis python
root@gyyf:/opt/seafile/seafile-server-latest# whereis python
python: /usr/bin/python3.8-config /usr/bin/python3.8 /usr/lib/python2.7 /usr/lib/python3.9 /usr/lib/python3.8 /etc/python3.8 /usr/local/lib/python3.8 /usr/include/python3.8
2、移除一个
root@gyyf:/opt/seafile/seafile-server-latest# apt remove python3-openssl -y
哒哒,好了,……