Ketos 2.7 is not compatible with python 3.6/3.7 as the tutorial says. It is compatible with 3.8-3.11. I had to update my python version in my env.
** sorry I created this issue under the wrong project! This should be under ketos_tutorial.