excel - Error in formula.py in xlwt3 python -


i'm trying write in xls or xlsx, trying use xlwt3 gives me following error message when import:

traceback (most recent call last): file "/users/tcp/documents/python/working/menu.py", line 6, in <module> import xlwt3 file "/library/frameworks/python.framework/versions/3.3/lib/python3.3/site-packages/xlwt3/__init__.py", line 3, in <module> .workbook import workbook file "/library/frameworks/python.framework/versions/3.3/lib/python3.3/site-packages/xlwt3/workbook.py", line 5, in <module> .worksheet import worksheet file "/library/frameworks/python.framework/versions/3.3/lib/python3.3/site-packages/xlwt3/worksheet.py", line 7, in <module> .row import row file "/library/frameworks/python.framework/versions/3.3/lib/python3.3/site-packages/xlwt3/row.py", line 8, in <module> . import formula file "/library/frameworks/python.framework/versions/3.3/lib/python3.3/site-packages/xlwt3/formula.py", line 6, in <module> class formula(object): valueerror: '__init__' in __slots__ conflicts class variable 

is there solution or other tool?

using in macos , xlwt3-0.1.2

__init__ should not listed in __slots__ attribute of class; slots cannot refer methods each slot implemented descriptor object instead.

there pull request in project repository fixes specific problem. removes "__init__" string __slots__ definition.

do note authors of package have abandoned project:

development stopped - 03.01.2011

i doubt there ever stable version of xlwt3.


Comments

Popular posts from this blog

design - Custom Styling Qt Quick Controls -

Unable to remove the www from url on https using .htaccess -