alewis Posted May 23 Share Posted May 23 Hello I have migrated my website to Heliohost and it is almost working, but it needs the Python module Pillow (aka Python Imaging Library). Please could you install that? I'm on Tommy, and using python 2.7. [It's either pip install Pillow, or (depending on the distro) install via package manager - on my own machine I use apt-get install python-pil] Many thanks! Andy Quote Link to comment Share on other sites More sharing options...
wolstech Posted May 24 Share Posted May 24 Krydos has to do this. Quote Link to comment Share on other sites More sharing options...
Krydos Posted Thursday at 07:47 PM Share Posted Thursday at 07:47 PM On 5/23/2023 at 3:30 PM, alewis said: I'm on Tommy, and using python 2.7 Is this intentional, or are you just using /usr/bin/python? Are you aware that Tommy supports Python 3.6 and Python 3.10? Does your script really require 2.7 and won't run on 3+? I could install Pillow 6.2.2 on Python 2.7, but the latest version of Pillow is 9.3 and requires Python 3.10+ Quote Link to comment Share on other sites More sharing options...
alewis Posted Friday at 10:18 AM Author Share Posted Friday at 10:18 AM Hello Krydos My code is quite old, it has been hosted elsewhere for a number of years. That's why it is written in Python 2.7. I could update it to Python 3, but if you can install Pillow 6.2.2 that will be fine. In its current home it is using Pillow 5.1.0. Many thanks Andy Quote Link to comment Share on other sites More sharing options...
Krydos Posted Friday at 05:29 PM Share Posted Friday at 05:29 PM No, you're definitely welcome to use Python 2.7. I just wanted to make sure that it was intentional. Pillow 6.2.2 has been installed on Tommy's Python 2.7. You can check the current modules and their versions at https://tommy.kairion.eu.org/pyinfo/info2.7.py Quote Link to comment Share on other sites More sharing options...
alewis Posted Friday at 10:36 PM Author Share Posted Friday at 10:36 PM Thank you very much - website is all working now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.