cmars / pystdf

Python module for working with STDF files
GNU General Public License v2.0
145 stars 83 forks source link

Install error #15

Closed zoudf closed 5 years ago

zoudf commented 5 years ago

OS: ubuntu server 16.04 python: 2.7.12 install log:

azou@UbuntuTest:~/ink/pystdf-master$ sudo python setup.py install [sudo] password for azou: running install running build running build_py running build_scripts running install_lib byte-compiling /usr/local/lib/python2.7/dist-packages/pystdf/V4.py to V4.pyc File "/usr/local/lib/python2.7/dist-packages/pystdf/V4.py", line 169 class Atr(RecordType, metaclass=StdfRecordMeta): ^ SyntaxError: invalid syntax

running install_scripts changing mode of /usr/local/bin/stdf2excel to 755 changing mode of /usr/local/bin/stdf_slice to 755 changing mode of /usr/local/bin/rec_index to 755 changing mode of /usr/local/bin/stdf2xml to 755 changing mode of /usr/local/bin/stdf2text to 755 running install_egg_info Removing /usr/local/lib/python2.7/dist-packages/pystdf-1.3.2.egg-info Writing /usr/local/lib/python2.7/dist-packages/pystdf-1.3.2.egg-info

cmars commented 5 years ago

Sorry, only python 3 is supported.