greedo / python-xbrl

xbrl parser written in Python :bulb:
https://pypi.python.org/pypi/python-xbrl
Apache License 2.0
220 stars 76 forks source link

cannot import name Serializer #21

Closed imseppl closed 9 years ago

imseppl commented 9 years ago

Hi there, I have installed the latest version of marshmallow and when trying to run python-xbrl, I get this error:

import xbrl Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python2.7/dist-packages/xbrl/init.py", line 8, in from .xbrl import XBRLParser, GAAP, GAAPSerializer, XBRLParserException File "/usr/local/lib/python2.7/dist-packages/xbrl/xbrl.py", line 5, in from marshmallow import Serializer, fields ImportError: cannot import name Serializer

greedo commented 9 years ago

@imseppl you are right looks like in Marshmallow 1.0.0 they now use Schema

Should be fixed with ddc1d6984f5e14d8bc46d29dcc7be384c32ac569

imseppl commented 9 years ago

Thank you!!!

paultibbetts commented 8 years ago

Hey @greedo, just ran into this, installed using pip install python-xbrl, I don't think the PIP package has been updated to include this fix

fnielsen commented 8 years ago

I can confirm that the PYPI package still has this fundamental problem with xbrl-1.1.0 and marshmallow-2.9.1.

rschmard commented 8 years ago

I'm still having problems with the latest PYPI package too. Has this been resolved?

erm3nda commented 8 years ago

http://stackoverflow.com/a/33876061/2480481