Try to create virtual environment with venv in python. And then upgrade/downgrade dependencies. Make sure to use venv, it can be automated with pyCHarm