Home > Software engineering >  I have a problem when I convert python file to exe
I have a problem when I convert python file to exe

Time:02-04

when I click on the program to run it I see the message say : Traceback (most recent call last):

  File "employee manager.py", line 388, in <module>
  File "tkcalendar\dateentry.py", line 128, in __init__
  File "tkcalendar\calendar_.py", line 258, in __init__
  File "babel\dates.py", line 351, in get_day_names
  File "babel\core.py", line 652, in days
  File "babel\core.py", line 363, in _data
  File "babel\localedata.py", line 140, in load
  File "babel\localedata.py", line 146, in load
ModuleNotFoundError: No module named 'babel.numbers'

I need to open the program

CodePudding user response:

A: More information is most likely needed to solve this

Also, it says: ModuleNotFoundError: No module named 'babel.numbers' "numbers" is a subscription of babel. If you want to grab a numbers subscription, try doing: from babel import numbers.

Good Luck! I will try to correspond as needed!

CodePudding user response:

How to install python application with tkcalendar module by pyinstaller?

I don't speak English well..sorry. i think this link help you.

  • Related