Bug 35728 - Not usable: missing default_locale
Summary: Not usable: missing default_locale
Alias: None
Product: Sisyphus
Classification: Development
Component: python-module-babel (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Grigory Ustinov
QA Contact: qa-sisyphus
Depends on:
Reported: 2018-12-05 09:48 MSK by nbr
Modified: 2021-09-17 14:47 MSK (History)
19 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description nbr 2018-12-05 09:48:35 MSK
from babel import support
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/babel/__init__.py", line 20, in <module>
    from babel.core import UnknownLocaleError, Locale, default_locale, \
  File "/usr/lib/python2.7/site-packages/babel/core.py", line 14, in <module>
    from babel import localedata
  File "/usr/lib/python2.7/site-packages/babel/localedata.py", line 20, in <module>
    from babel._compat import pickle
  File "/usr/lib/python2.7/site-packages/babel/_compat.py", line 70, in <module>
    import decimal
  File "/usr/lib64/python2.7/decimal.py", line 140, in <module>
    import numbers as _numbers
  File "numbers.py", line 24, in <module>
    from babel.core import default_locale, Locale, get_global
ImportError: cannot import name default_locale
Comment 1 Grigory Ustinov 2021-09-17 14:47:20 MSK
Нет такого. Python2 EOL.