Here s another way to look at it even using lca life cycle assessment wikipedia.
Carbon footprint of solar panel manufacturing.
Solar panels payback the energy in 1.
As solar panel manufacturing becomes more efficient its carbon footprint shrinks significantly.
So perhaps someday powering photovoltaic panel manufacturing with wind solar and geothermal energy will end concerns about the carbon footprint of photovoltaics.
Making and using solar panels emits zero co2 in a 100 renewable energy system.
To create a solar panel caustic materials will emit greenhouse gases.
A 2016 study reports that the overall emissions produced in this process decreased by 17 to 24 percent every time install capacity has doubled in the last 40 years.
Water is yet another issue.
By scott cramer although the use of solar panels is green many solar panel manufacturing processes are not.
For instance concentrated solar power csp has a footprint of 20 grams of carbon dioxide co2 per kilowatt hour kwh of electricity produced in addition to consuming vast amounts.