alexmojaki / heartrate

Simple real time visualisation of the execution of a Python program.
MIT License
1.76k stars 123 forks source link

how should python2.7 use this tool #12

Closed ghost closed 2 years ago

ghost commented 2 years ago

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.

alexmojaki commented 2 years ago

Sorry, Python 2 just isn't supported.