From db2e650e2a2517b81512d4b5b57ac1fb46a5ff8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Wed, 19 Feb 2020 22:00:10 +0100 Subject: [PATCH] Fix pip installation error, issue #55 --- scripts/_common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index ad14063..5b61ecd 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -23,7 +23,8 @@ install_dependance() { ynh_install_app_dependencies python2.7 python-pip libpython2.7 python-setuptools python-ldap python-urllib3 python-simplejson python-imaging python-mysqldb python-flup expect python-requests python-dev ffmpeg python-memcache \ libjpeg62-turbo-dev zlib1g-dev # For building pillow ynh_add_swap 2000 - sudo -u $seafile_user pip install --user --upgrade Pillow 'moviepy<1.0' certifi idna + # Note that we install imageio to force the dependance, without this imageio 2.8 is installed and it need python3.5 + sudo -u $seafile_user pip install --user --upgrade Pillow 'moviepy<1.0' 'imageio<2.8' certifi idna ynh_del_swap }