The instructions on the rasa installation page are not correct nor are the dependencies and module.I have written to Rasa ,reply is awaited
In my case I have python 3.10.10 with pip 22.0.4 and I do not have errors with the package psycopg2
. Good luck.