Sufficient daylight is enough for solar panels to generate power. As an example in Europe, Iceland has the highest number of solar panels per capita, even though it experiences partial darkness for several months.