Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: invalid syntax #1

Open
koenvdc opened this issue Sep 29, 2017 · 2 comments
Open

SyntaxError: invalid syntax #1

koenvdc opened this issue Sep 29, 2017 · 2 comments

Comments

@koenvdc
Copy link

koenvdc commented Sep 29, 2017

I tried the python script but I get an error when running. I installed the latest python for windows 3.6 Installing the script went fine but I get an error while executing. Also when calling the helpfile I get the same error. Any idees?

C:\Users\kvdc\Downloads>pip install insightgenesisgpxCollecting insightgenesisgpxDownloading InsightGenesisGPX-0.1.tar.gzInstalling collected packages: insightgenesisgpxRunning setup.py install for insightgenesisgpx ... doneSuccessfully installed insightgenesisgpx-0.1

C:\Users\kvdc\Downloads>insightgenesisgpx.py G:\Sonar\RECORD\Patrick\sept trips\HD_HV_VR.gpx G:\Sonar\RECORD\Patrick\sept trips\HD_HV_VR_NEW.gpx
File "C:\Users\kvdc\Downloads\insightgenesisgpx.py", line 7^SyntaxError: invalid syntax

C:\Users\kvdc\Downloads>insightgenesisgpx.py -h
File "C:\Users\kvdc\Downloads\insightgenesisgpx.py", line 7^SyntaxError: invalid syntax
 

@jkibele
Copy link
Owner

jkibele commented Sep 29, 2017

Hi there,

I suspect the problem is the Python version. This package was written for Python 2.7.xxx (2.7.13 should be fine). A lot of people haven't been willing to make the jump to Python 3 yet, and I'm one of them. ...and I never tested this package on Python 3.

The only other thing I can think of is that there may be some weird line ending problems (text files are a bit different on Windows that Mac and Linux). Good luck, and please let me know if you figure out what the problem was.

@koenvdc
Copy link
Author

koenvdc commented Oct 1, 2017

Hi Jared,
I also tried Python 2.7.14, same result. can't even open the help.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants