alewis Posted May 23, 2023 Posted May 23, 2023 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
Krydos Posted May 25, 2023 Posted May 25, 2023 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+
alewis Posted May 26, 2023 Author Posted May 26, 2023 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
Krydos Posted May 26, 2023 Posted May 26, 2023 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
alewis Posted May 26, 2023 Author Posted May 26, 2023 Thank you very much - website is all working now.
Recommended Posts