This is what I have coded from the machine learning tutorial that can be found here
We recommend that you install an enable a virtual environment first. You can use for instance virtualenv and use python 3.9. Install everything from the requirements file.
pip install -r requirements.txt