-
-
Notifications
You must be signed in to change notification settings - Fork 703
Closed
Labels
Description
Hello,
New release (0.11.0) is broken for Python 2.x users, below you can find steps to reproduce:
~/.virtualenvs/tmp-455f8c1518baad7 via tmp-455f8c1518baad7
β python --version
Python 2.7.14
~/.virtualenvs/tmp-455f8c1518baad7 via tmp-455f8c1518baad7
β pip install arrow
Collecting arrow
Collecting python-dateutil (from arrow)
Using cached python_dateutil-2.6.1-py2.py3-none-any.whl
Collecting six>=1.5 (from python-dateutil->arrow)
Using cached six-1.11.0-py2.py3-none-any.whl
Installing collected packages: six, python-dateutil, arrow
Successfully installed arrow-0.11.0 python-dateutil-2.6.1 six-1.11.0
~/.virtualenvs/tmp-455f8c1518baad7 via tmp-455f8c1518baad7
β python
Python 2.7.14 (default, Sep 25 2017, 09:53:22)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import arrow
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/ng/.virtualenvs/tmp-455f8c1518baad7/lib/python2.7/site-packages/arrow/__init__.py", line 3, in <module>
from .arrow import Arrow
File "/Users/ng/.virtualenvs/tmp-455f8c1518baad7/lib/python2.7/site-packages/arrow/arrow.py", line 19, in <module>
from arrow import util, locales, parser, formatter
File "/Users/ng/.virtualenvs/tmp-455f8c1518baad7/lib/python2.7/site-packages/arrow/parser.py", line 12, in <module>
from backports.functools_lru_cache import lru_cache # pragma: no cover
ImportError: No module named backports.functools_lru_cache
>>>
Could you fix this please?
ivankravets, nurgasemetey and WilliamQLiu