Following official installation instructions, apt installation successful but when using it such as
seaf-cli status
shows error message
Traceback (most recent call last):
File "/usr/bin/seaf-cli", line 99, in <module>
import seafile
File "/usr/lib/python2.7/dist-packages/seafile/__init__.py", line 2, in <module>
from rpcclient import SeafileRpcClient as RpcClient
File "/usr/lib/python2.7/dist-packages/seafile/rpcclient.py", line 1, in <module>
from pysearpc import searpc_func, SearpcError, NamedPipeClient
ImportError: No module named pysearpc
Closer inspection shows that I’ve installed it with python 2. But in the official instruction page it says " note: from seafile version 7.0.8, seaf-cli only support python3.5 or above on Debian/Ubuntu."
When I get into python 3 and import pysearpc
there’s no problem. So how do I install seafile-cli
with python 3? Or is it even where the problem is?
Thank you!