Sounds like there is no gas getting to, or flame, at the thermocouple. Sometimes the thermocouple is located off to one side or the other of the pilot flame, making it difficult to function. A little persuasion of the thermocouple to center it over the pilot flame may help.
__________________
|