I have a piece of code running on Google Colab which requires the pptk package. I've originally created it back in April, using:
!pip install pptk
import pptk
to import the package, which has always worked fine. Up until yesterday, there were never any issues. Just now, however, I tried to run this exact part of the code again, unmodified, and it gave me the following error:
ERROR: Could not find a version that satisfies the requirement pptk (from versions: none)
ERROR: No matching distribution found for pptk
I have looked the error up online, and found that a 'no matching distribution' error commonly has to do with a mismatch in versions. For reference, Google Colab appears to be using Python 3.8.15. I have tried changing the Python version using:
!sudo apt install python3.6
to obtain python3.6 (commonly recommended) or other Python version numbers. It does appear to unpack and install the new versions in response -- however, a new check of the Python version still returns 3.8.15. My assumption here is that Google Colab perhaps uses a set Python version which cannot easily be changed, but I am unsure of this. Colab does not appear to automatically update to the newest Python version either, as if this were the case, it should have been using Python 3.11. This is strange because the lack of automatic updates would imply that Colab has been running on Python 3.8 all this time, and using this version has -- until today -- never posed a problem.
I also looked at whether either pptk or Python have had any version updates between yesterday and today, but this does not appear to be the case. Does anyone know what might be going wrong with the pptk install, or what I can do to fix it?