'VIM YouCompleteMe error serching py librarys

i was installing YCM in VIM and got this error:

Searching Python 3.8 libraries... ERROR: Python headers are missing in /usr/include/python3.8

i have tried with py 3.8 3.7 and 3.9 and the same is ouputing.

Some help would be appriciated(did i speel it right?).



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source