If my system is weak, will I get HPV from the HPV vaccine?

Inactivated vaccines. such as the HPV vaccine, do not contain whole or live viruses and cannot produce the natural disease in an immunocompromised person. A more likely scenario would be poor immune response to the vaccine and ineffective protection from getting the disease via the usual ways.