PIL ImageTk issue with MATPLOTLIB - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: PIL ImageTk issue with MATPLOTLIB (/thread-39224.html) |
PIL ImageTk issue with MATPLOTLIB - garynewport - Jan-17-2023 I am trying to run my program on a Linux unit, knowing that the code works on OSx and Windows. I keep encountering the same issue, which relates to PIL and the ImageTk.py file - it doesn't exist. I am getting the following error message: I have tried sudo apt-get install python3-pil python3-pil.imagetk and got... I have upgraded matplotlib , python , pip , tkinter and customtkinter (all the tools I am using).I have gone to the location defined by the error message and there is certainly no ImageTk.py (or similar).I have checked the comments online but all the fixes using apt-get result in no package found, whilst PIP only is happy with the installs I know already work.I'm struggling to know where to look now; or what to do. This is a work computer and not a personal one. I have SUDO access and am running Fedora 5.17.12-100.fc34.x86_64. I am running pip 22.3.1 and Python 3.9.13. Matplot is 3.6.3. Since it is Fedora I have replaced apt-get with dnf, to no avail. Any ideas? |