Open lucadelu opened 5 years ago
It seems like the required version of Python in the readme is incorrect. It says you need Python 3.4, but you do need at least Python 3.6.
As a workaround, I got it to work with Python 3.5 by removing all type hints for local and class variables. Type hints for function parameters and return values seem to work as long as the typing
package is installed.
IMO it would be best to remove type hints from this project altogether so that it works for people who use the default python installation. @kholkolg
If you have a version older than 3.6, you can also use gpxpy
, which has a very similar API.
Hi Marian, I'm on vacation right now, almost without internet access. I'll check it next week, thanks for your feedback.
Olga Kh.
Dne út 6. 8. 2019 20:21 uživatel Marian Kleineberg notifications@github.com napsal:
It seems like the required version of Python in the readme is incorrect. It says you need Python 3.4, but you do need at least Python 3.6.
As a workaround, I got it to work with Python 3.5 by removing all type hints for local and class variables. Type hints for function parameters and return values seem to work as long as the typing package is installed.
IMO it would be best to remove type hints from this project altogether so that it works for people who use the default python installation. @kholkolg https://github.com/kholkolg
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kholkolg/gpx_parser/issues/1?email_source=notifications&email_token=AJWNSJSDAGGOGUGUH6DCFYLQDGXKJA5CNFSM4GCW7FT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3V3LDA#issuecomment-518763916, or mute the thread https://github.com/notifications/unsubscribe-auth/AJWNSJS5NBP3OFSTIGRPPMDQDGXKJANCNFSM4GCW7FTQ .
I have an error importing the gpx_parser class
thanks Luca