python.pil:未找到命令

python.pil:未找到命令,python,ubuntu,python-imaging-library,Python,Ubuntu,Python Imaging Library,我正在尝试按照说明在ubunutu linux上设置Seafile。当我进入第3步安装Seafile Dependencies时,我得到一个错误,说bash:python-pil:command-notfound。我成功地运行了第一行,没有问题,有人知道如何克服这个错误吗?您必须在python pil之前添加一个新行;这不是命令,只是其中一个参数。以sudo apt开头的整个命令都应该是一行;直到最后才按回车键或回车键。像这样: sudo apt install python2.7 libpyt

我正在尝试按照说明在ubunutu linux上设置Seafile。当我进入第3步安装Seafile Dependencies时,我得到一个错误,说
bash:python-pil:command-notfound
。我成功地运行了第一行,没有问题,有人知道如何克服这个错误吗?

您必须在
python pil之前添加一个新行;这不是命令,只是其中一个参数。以
sudo apt
开头的整个命令都应该是一行;直到最后才按回车键或回车键。像这样:

sudo apt install python2.7 libpython2.7 python-setuptools python-pil python-ldap python-urllib3 ffmpeg python-pip python-mysqldb python-memcache python-requests