pyexcel / pyexcel-io

One interface to read and write the data in various excel formats, import the data into and export the data from databases
http://io.pyexcel.org
Other
58 stars 20 forks source link

python2.7.5 SyntaxError: invalid syntax #108

Closed Shadow-Hu closed 3 years ago

Shadow-Hu commented 3 years ago

File "/usr/lib/python2.7/site-packages/pyexcel_xls/init.py", line 12, in from pyexcel_io.io import get_data as read_data File "/usr/lib/python2.7/site-packages/pyexcel_io/init.py", line 12, in import pyexcel_io.plugins as plugins File "/usr/lib/python2.7/site-packages/pyexcel_io/plugins.py", line 83 f"{location}-{file_type}"

chfw commented 3 years ago

You need to use pyexcel-io and its plugins whose version are lower than 0.6.0 because you are on python 2.