greedo / python-xbrl

xbrl parser written in Python :bulb:

Home Page:https://pypi.python.org/pypi/python-xbrl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError: cannot import name 'Serializer'

post2web opened this issue · comments

After importing:
from xbrl import XBRLParser
I get error:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
 in ()
----> 1 from xbrl import XBRLParser

/usr/local/lib/python3.5/site-packages/xbrl/__init__.py in ()
      6 version = (1, 1, 0)
      7 
----> 8 from .xbrl import XBRLParser, GAAP, GAAPSerializer, XBRLParserException

/usr/local/lib/python3.5/site-packages/xbrl/xbrl.py in ()
      3 
      4 import re
----> 5 from marshmallow import Serializer, fields
      6 import datetime
      7 import collections

ImportError: cannot import name 'Serializer'

post2web.... greedo addressed the issue
#21

you can either get an older veersion of Marshmallow or pull greedo's updates.

Thanks, greedo!

Since this will be fixed with a new release to PyPI, I'm closing this @post2web