ganymede42/h5pyViewer

Running on Windows , Platform still identified as Linux

Opened this issue · 1 comments

Below error came on Windows

C:\Users\Gelesh\Documents\softwares\hy5viewer\h5pyViewer>py setup.py
File "setup.py", line 98
mod=0755
^
SyntaxError: invalid token

This could be because
Line 97 to check the system platform as Windows failed.

    if platform.system()=='Linux':
      mod=0755 

I had the same error on Ubuntu 20.04 with python3.8.
I can complete the installation with python 2.7.