All manufacturing - no matter what is being manufactured - uses energy. Energy to locate the materials, transport, actually make the product, sell the product, etc. PV systems are manufactured and before they're 100% 'renewable' the energy used to manufacture the system must be paid back to the environment.
For the first 1.5 to 2 years after you buy your solar PV system, the environmental effects of manufacture are being reimbursed to the environment. Once the impact of manufacture has been paid back, your solar PV system is 100% 'clean'.
This means that you can also calculate that the amount of energy saved over a 30 year life of your solar PV system will be roughly 15 - 20 times the amount of energy used to manufacture it.