If you're using the Postgres app on macOS, download and install PostgreSQL 17. It already includes pgvector. Once installed, set the database on your app to the port where PostgreSQL 17 lives.
Solved the problem for me.