downgrade python to a particular version code example
Example 1: how to downgrade a package python
pip install --upgrade [package]==[version]
Example 2: downgrade python version windows
Uninstall your current version and install the version needed from https://www.python.org/downloads/