I keep getting this error when I run UV SYNC or UV RUN MAIN
error: Failed to prepare distributions
Caused by: Failed to download and build psycopg2-binary==2.9.9
Caused by: Build backend failed to build wheel through build_wheel (exit status: 1)
Operation not permitted'
1 error generated.
It appears you are missing some prerequisite to build the package from source.
You may install a binary package by installing 'psycopg2-binary' from PyPI.
If you want to install psycopg2 from source, please install the packages
required for the build and try again.
I keep getting this error when I run UV SYNC or UV RUN MAIN
error: Failed to prepare distributions Caused by: Failed to download and build
psycopg2-binary==2.9.9
Caused by: Build backend failed to build wheel throughbuild_wheel
(exit status: 1)Operation not permitted' 1 error generated.
It appears you are missing some prerequisite to build the package from source.
You may install a binary package by installing 'psycopg2-binary' from PyPI. If you want to install psycopg2 from source, please install the packages required for the build and try again.
For further information please check the 'doc/src/install.rst' file (also at https://www.psycopg.org/docs/install.html).
Any help on this?