You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`
Installing collected packages: tablib
Running setup.py install for tablib
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/odf/attrconverters.py", line 51
raise ValueError, "'%s' not allowed" % str(arg)
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/odf/odfmanifest.py", line 114
print "%-40s %-40s" % (file['media-type'], file['full-path'])
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/odf/element.py", line 119
raise IllegalChild, "%s cannot be child of %s" % (newChild.tagName, self.tagName)
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/odf/opendocument.py", line 37
UNIXPERMS = 0100644 << 16L # -rw-r--r--
^
SyntaxError: invalid token
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/odf/load.py", line 77
except AttributeError, v:
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/odf/draw.py", line 33
raise ValueError, "Style's family must be either 'graphic' or 'presentation'"
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/xlwt/Workbook.py", line 528
0x00L, sheet.visibility, sheet.name, self.encoding
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/xlwt/antlr.py", line 87
print "error: ", fmt % tuple(args)
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/xlwt/ExcelFormulaLexer.py", line 126
print t
^
SyntaxError: Missing parentheses in call to 'print'
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/xlwt/Style.py", line 581
if debug: print "+++ %s.%s = %r # %s; was %r" % (section, k, value, v, orig)
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/xlwt/CompoundDoc.py", line 25
print 'NOTE: header says that must be', self.total_ssat_sectors, 'short sectors'
^
SyntaxError: Missing parentheses in call to 'print'
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/xlwt/ExcelFormula.py", line 20
except ANTLRException, e:
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/xlwt/BIFFRecords.py", line 193
file_hist_flags = 0x00L
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/xlwt/ExcelFormulaParser.py", line 525
raise Exception, "%d parameters for function: %s" % (arg_count, func_tok.text)
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/yaml/scanner.py", line 1427
except UnicodeDecodeError, exc:
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/yaml/resolver.py", line 171
re.compile(ur'''^(?:yes|Yes|YES|no|No|NO
|true|True|TRUE|false|False|FALSE
|on|On|ON|off|Off|OFF)$''', re.X),
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/yaml/constructor.py", line 138
except TypeError, exc:
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/yaml/reader.py", line 193
except UnicodeDecodeError, exc:
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/dbfpy/dbfnew.py", line 163
print "*** created tst.dbf: ***"
^
SyntaxError: Missing parentheses in call to 'print'
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/xlrd/xldate.py", line 116
def xldate_from_date_tuple((year, month, day), datemode):
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/xlrd/sheet.py", line 840
print "GCW:", showgcw
^
SyntaxError: Missing parentheses in call to 'print'
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/xlrd/formatting.py", line 168
print "nearest_colour_index for %r is %r -> %r; best_metric is %d" \
^
SyntaxError: Missing parentheses in call to 'print'
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/xlrd/timemachine.py", line 28
False = 0
^
SyntaxError: can't assign to keyword
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/xlrd/compdoc.py", line 61
print "DID=%d name=%r etype=%d DIDs(left=%d right=%d root=%d parent=%d kids=%r) first_SID=%d tot_size=%d" \
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/xlrd/formula.py", line 410
print "!!! get_externsheet_local_range: refx=%d, not in range(%d)" \
^
SyntaxError: invalid syntax
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/xlrd/__init__.py", line 1187
print "EXTERNSHEET(b7-):"
^
SyntaxError: invalid syntax
`
Although I read in one of the answers on one of the other issues that 'it does not harm' I think this [hate-mode on] is a very lame answer and [/hate-mode] should be solved. This is python3.4 bdw.
The text was updated successfully, but these errors were encountered:
I have (now had) same issue using tablib 0.11.4 under python3.5. /win7
In my case it was the package inside the ..site-packages/tablib/pakages/xlrd which is not compatible with python 3.x.
I copied the xlrd from \Python35-32\Lib\site-packages\xlrd into and replaced \Python35-32\Lib\site-packages/tablib/pakages/xlrd with this copy
and it works.
So it seems tablib is not properly built for python3
pip install git+https://github.com/kennethreitz/tablib gives:
`
Installing collected packages: tablib
Running setup.py install for tablib
File "/home/.virtualenvs/skillshare/lib/python3.4/site-packages/tablib/packages/odf/attrconverters.py", line 51
raise ValueError, "'%s' not allowed" % str(arg)
^
SyntaxError: invalid syntax
`
Although I read in one of the answers on one of the other issues that 'it does not harm' I think this [hate-mode on] is a very lame answer and [/hate-mode] should be solved. This is python3.4 bdw.
The text was updated successfully, but these errors were encountered: