An idiot mistake, the error prompt: Error: cannot get XMLSec1 pre-processor and compiler flags; do you have the libxmlsec1development package installed?
But I didn’t know that it libxmlsec1was a system library, it should be installed with brew, and I also installed it with pip. . . . .
Solution
brew install libxmlsec1