Traceback (most recent call last):
File "D:/mainV6_G10_for_wenqiang.py", line 25, in
import heartrate; heartrate.trace(browser=True)
File "C:\Users\zhangwenqiang\AppData\Roaming\Python\Python27\site-packages\heartrate__init__.py", line 1, in
from heartrate.core import trace
File "C:\Users\zhangwenqiang\AppData\Roaming\Python\Python27\site-packages\heartrate\core.py", line 7, in
from functools import lru_cache
ImportError: cannot import name lru_cache
Traceback (most recent call last): File "D:/mainV6_G10_for_wenqiang.py", line 25, in
import heartrate; heartrate.trace(browser=True)
File "C:\Users\zhangwenqiang\AppData\Roaming\Python\Python27\site-packages\heartrate__init__.py", line 1, in
from heartrate.core import trace
File "C:\Users\zhangwenqiang\AppData\Roaming\Python\Python27\site-packages\heartrate\core.py", line 7, in
from functools import lru_cache
ImportError: cannot import name lru_cache
lru_cache does not seem to work with python2.7.