huxuan / iptvtools

A set of scripts that help to better the IPTV experience.
https://iptvtools.readthedocs.io/
MIT License
182 stars 50 forks source link

Can't run script on raspberry pi #2

Closed gabbello closed 4 years ago

gabbello commented 4 years ago

When I try to run the script I get: pi@raspberrypi2:~/.local/bin $ ./iptv-filter Traceback (most recent call last): File "./iptv-filter", line 7, in <module> from iptvtools.iptv_filter import main File "/home/pi/.local/lib/python3.5/site-packages/iptvtools/iptv_filter.py", line 14, in <module> from .constants import helps File "/home/pi/.local/lib/python3.5/site-packages/iptvtools/constants/helps.py", line 12 f'Configuration file to unify title and id information, defaults to ' ^ SyntaxError: invalid syntax

huxuan commented 4 years ago

@gabbello Seems the Literal String Interpolation is only supported after Python 3.6, will it be easy to upgrade Python on raspberry pi?

gabbello commented 4 years ago

Looks like I need to build it myself, which probably would take quite some time.

huxuan commented 4 years ago

Since Python 3.5 is released 5 years ago and will reach the end of life in less than one year [1]. I am not going to support it then. I would suggest to upgrade to Python 3.6 or even newer version.

I will close this is issue, if you still have any concern, please feel free to leave comments or even reopen it again.

[1] https://devguide.python.org/#status-of-python-branches

gabbello commented 4 years ago

ok, thank you. Just to let you know it works fine with 3.6

huxuan commented 4 years ago

@gabbello Thanks for the feedback! IPTVTools is still at an early stage. Any suggestions or comments are welcome!