Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The error "psycopg2.ProgrammingError" indicating that it can't adapt the type "Point" means that the PostgreSQL database is unable to handle or interpret the datatype 'Point' used in the query. This error generally occurs when trying to insert or update a record containing geo-spatial data with the datatype 'Point' in the PostgreSQL database using psycopg2 driver. This error is usually caused by missing or incorrect syntax when defining the column with the 'Point' datatype or by not loading the PostGIS extension required to handle geospatial data.