Most local media reports put the number of dead at eight. Local officials were not immediately available for comment.
Andhra Pradesh Chief Minister Kiran Kumar Reddy assured the injured would receive the best medical treatment, while offering his condolences.
India's dilapidated railway system has a notoriously bad record, with hundreds of accidents reported annually.
In 2012 a government report said that almost 15,000 people were killed every year on India's railways. It described the deaths as an annual "massacre" due to poor safety standards.
An express train ploughed into a crowd of Hindu pilgrims in eastern India in August, killing 37 and triggering a riot that left one of the drivers dead and carriages ablaze.
Already a subscriber? Log in.
Limited time offer:
Cancel anytime. No ads. Auto-renewal. Unlimited access to the web and app. Personalised features. Members rewards.
Follow us on our official WhatsApp channel for breaking news alerts and key updates!