d:; cd 'd:\veighna_studio\Lib\site-packages\vnpy'; & 'd:\veighna_studio\python.exe' 'c:\Users\Administratorlb.vscode\extensions\ms-python.debugpy-2024.8.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '52655' '--' 'd:\veighna_studio\Lib\site-packages\vnpy\trader\engine.py'
Traceback (most recent call last):
File "d:\veighna_studio\Lib\site-packages\vnpy\trader\engine.py", line 3, in <module>
import smtplib
File "d:\veighna_studio\lib\smtplib.py", line 47, in <module>
import email.utils
File "d:\veighna_studio\lib\email\utils.py", line 33, in <module>
from email._parseaddr import quote
File "d:\veighna_studio\lib\email_parseaddr.py", line 16, in <module>
import time, calendar
File "d:\veighna_studio\lib\calendar.py", line 10, in <module>
import locale as _locale
File "d:\veighna_studio\Lib\site-packages\vnpy\trader\locale__init__.py", line 7, in <module>
translations: gettext.GNUTranslations = gettext.translation("vnpy", localedir=localedir, fallback=True)
File "d:\veighna_studio\lib\gettext.py", line 587, in translation
mofiles = find(domain, localedir, languages, all=True)
File "d:\veighna_studio\lib\gettext.py", line 558, in find
for nelang in _expand_lang(lang):
File "d:\veighna_studio\lib\gettext.py", line 213, in _expand_lang
loc = locale.normalize(loc)
AttributeError: partially initialized module 'locale' has no attribute 'normalize' (most likely due to a circular import)