Fix pip installation error, issue #55

This commit is contained in:
Josué Tille 2020-02-19 22:00:10 +01:00
parent 16d5f0588f
commit db2e650e2a
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -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
}