The reason for this error is that ImpImporter has been deprecated by the time of Python 12.
The answer it to use an earlier version of Python. You can do that by using a conda environment and adding the desired python version at the end of the conda create command
Leave a Reply