python-xbrl icon indicating copy to clipboard operation
python-xbrl copied to clipboard

in python-xbrl v1.1.0, marshmallow version 3.0.0.b7, error: has not object "Serializer"

Open pinnaclesystemsgroup opened this issue 7 years ago • 1 comments

get_xbrl_data.py:Line #3 > from xbrl import XBRLParser, GAAP, GAAPSerializer

xbrl/init.py: Line #8 > from .xbrl import XBRLParser, GAAP, GAAPSerializer, XBRLParserException

Runtime ERROR:

/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /Users/.../PyCharmprojects/xbrlpy/get_xbrl_data.py Traceback (most recent call last): File "/Users/.../PyCharmprojects/xbrlpy/get_xbrl_data.py", line 3, in from xbrl import XBRLParser, GAAP, GAAPSerializer File "/usr/local/lib/python2.7/site-packages/xbrl/init.py", line 8, in from .xbrl import XBRLParser, GAAP, GAAPSerializer, XBRLParserException File "/usr/local/lib/python2.7/site-packages/xbrl/xbrl.py", line 5, in from marshmallow import Serializer, fields ImportError: cannot import name Serializer

pinnaclesystemsgroup avatar Feb 24 '18 03:02 pinnaclesystemsgroup

This maybe fixed now with the upgrade. I'll investigate thanks @pinnaclesystemsgroup

greedo avatar Dec 12 '18 18:12 greedo