Проблема с библиотекой babel на windows
Я использую версию babel 2.14.0 Запустил и выводит это:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\user\Desktop\Python\job_proj\aiogram-gbb\bot\__main__.py", line 21, in <module>
main()
File "C:\Users\user\Desktop\Python\job_proj\aiogram-gbb\bot\__main__.py", line 17, in main
return run_polling(dispatcher=dispatcher, bot=bot)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\Desktop\Python\job_proj\aiogram-gbb\bot\runners.py", line 46, in run_polling
return dispatcher.run_polling(bot)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\Desktop\Python\job_proj\aiogram-gbb\.venv\Lib\site-packages\aiogram\dispatcher\dispatcher.py", line 587, in run_polling
return asyncio.run(
^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\user\Desktop\Python\job_proj\aiogram-gbb\.venv\Lib\site-packages\aiogram\dispatcher\dispatcher.py", line 526, in start_polling
await self.emit_startup(bot=bots[-1], **workflow_data)
File "C:\Users\user\Desktop\Python\job_proj\aiogram-gbb\.venv\Lib\site-packages\aiogram\dispatcher\router.py", line 230, in emit_startup
await self.startup.trigger(*args, **kwargs)
File "C:\Users\user\Desktop\Python\job_proj\aiogram-gbb\.venv\Lib\site-packages\aiogram\dispatcher\event\event.py", line 42, in trigger
await handler.call(*args, **kwargs)
File "C:\Users\user\Desktop\Python\job_proj\aiogram-gbb\.venv\Lib\site-packages\aiogram\dispatcher\event\handler.py", line 43, in call
return await wrapped()
^^^^^^^^^^^^^^^
File "C:\Users\user\Desktop\Python\job_proj\aiogram-gbb\.venv\Lib\site-packages\aiogram_i18n\cores\base.py", line 46, in startup
self.locales.update(self.find_locales())
^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\Desktop\Python\job_proj\aiogram-gbb\.venv\Lib\site-packages\aiogram_i18n\cores\fluent_runtime_core.py", line 61, in find_locales
translations[locale] = FluentBundle(
^^^^^^^^^^^^^
File "C:\Users\user\Desktop\Python\job_proj\aiogram-gbb\.venv\Lib\site-packages\fluent\runtime\bundle.py", line 47, in __init__
self._babel_locale = self._get_babel_locale()
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\Desktop\Python\job_proj\aiogram-gbb\.venv\Lib\site-packages\fluent\runtime\bundle.py", line 110, in _get_babel_locale
return babel.Locale.default()
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\Desktop\Python\job_proj\aiogram-gbb\.venv\Lib\site-packages\babel\core.py", line 230, in default
return cls.parse(locale_string)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\Desktop\Python\job_proj\aiogram-gbb\.venv\Lib\site-packages\babel\core.py", line 328, in parse
raise TypeError(f"Unexpected value for identifier: {identifier!r}")
TypeError: Unexpected value for identifier: None
все что я установил:
aiofiles~=23.2.1
aiogram~=3.2.0
aiogram_i18n~=1.3.3
aiohttp~=3.9.1
aiosignal~=1.3.1
annotated-types~=0.6.0
async-timeout~=4.0.3
asyncpg~=0.29.0
attrs~=23.1.0
Babel~=2.14.0
certifi~=2023.11.17
click~=8.1.7
colorama~=0.4.6
fluent.runtime~=0.4.0
fluent.syntax~=0.19.0
frozenlist~=1.4.1
greenlet~=3.0.3
idna~=3.6
magic-filter~=1.0.12
msgspec~=0.18.5
multidict~=6.0.4
pydantic~=2.5.3
pydantic-settings~=2.1.0
pydantic_core~=2.14.6
python-dotenv~=1.0.0
pytz~=2023.3.post1
redis~=5.0.1
SQLAlchemy~=2.0.24
typing_extensions~=4.9.0
yarl~=1.9.4