Solving pip failed to build msgspec in Linux
This Tip Try to Solve pip failed to build msgspec on GNU/Linux – Step by step Tutorial.
You have just to Download and Install it from Local Repo.

Installing Msgspec
Then to Solve pip failed to build msgspec in Linux
First, clone the Repo:git clone https://github.com/jcrist/msgspec.git
Access:cd msgspec
And Install:pip install .
And you are done! :)