My colleague was attempting to use a brand-new Anaconda Spyder environment on Windows to run pysweepme, and they got errors related to the ‘imp’ module.
I recommended they downgrade to python 3.9 in a new environment, and that fixed the issue. I knew 3.9 worked on my machine, but after looking around the wiki and github etc, I can’t find out what the latest recommended python version to use is for pysweepme.
We recommend to use pysweepme with Python 3.9.
It might also work with 3.10 and 3.11, though we are not actively maintaining compatibility. Drivers which bring their own dependencies using the LibraryBuilder2 will also require Python 3.9.
We have an item on our agenda to replace the imp module to restore compatibility with Python 3.12, but it’s not quite at the top of our todo list, as SweepMe! and drivers are also using Python 3.9.
I have added a note about the python version to the readme of pysweepme. It will also be updated on pypi once we release a new version. However, I’m hesitating to release a “new” version to pypi right now whose only difference is in meta data and description.
2 Likes