Automatic Weight Paint will not showing up

I am the 2D Blender. I am trying to add bones to my character. I am trying to get Automatic Weight Paint but whenever I click Ctrl + P that option is not showing up.

It s shown only when parenting to an armature.
Select first tour object then also the armature then ctrl p