(CNN) -

Wildfires on Spain's Canary Islands have forced close to 5,000 people from their homes, the local government said Saturday.

Weather conditions are complicating efforts to control the flames, which are burning on two of the islands -- La Gomera and Tenerife.

"The crews ... are having trouble stopping the spread of the fires," said Javier Gonzalez Ortiz, an area economy, security and housing minister.

He cited winds, high temperatures and low humidity.

Helicopters are helping to work both fires and shelters have been set up to assist those forced from their homes, the government said. The blazes have also forced some road closures.

Approximately 2,500 people were evacuated on La Gomera, while the number on Tenerife was reported as slightly more than 2,220.

The Spanish Canary Islands are located off the northwest coast of Africa.