Try using a Virtual environment, then in this virtual environment install all what you need to run your program if this didn't work try a higher version of python in a virtual environment too, you can install multiple versions of python on your machine and use whichever one you like for your project.