-1

I want to import T_FMT_AMPM from locale lib. But I got error, and that is:

from locale import T_FMT
ImportError: cannot import name 'T_FMT' from 'locale'

So what can I do now? Can u help me ?

NewbieBoy
  • 73
  • 4

1 Answers1

0

Sounds like you have circular import references - The thread below explains a bit more

What can I do about "ImportError: Cannot import name X" or "AttributeError: ... (most likely due to a circular import)"?

You could try refactoring, or one of the other methods mentioned in the thread above

jrynes
  • 187
  • 1
  • 9