Issue #6 open
Sebastian Rahlf
repo owner created an issue

The module currently does not work python 3.1 (and above). This should be fixed for the next major release!

Comments (15)

  1. peterbe

    I get this error after installing the tip in a Python 3.5 virtualenv:

    In [2]: from amazonproduct import API
       ...: api = API(locale='us')
       ...:
       ...:
    ---------------------------------------------------------------------------
    NameError                                 Traceback (most recent call last)
    <ipython-input-2-5de5988f78ff> in <module>()
          1 from amazonproduct import API
    ----> 2 api = API(locale='us')
          3
    
    /Users/peterbe/virtualenvs/songsearch/lib/python3.5/site-packages/python_amazon_product_api-0.3.dev0-py3.5.egg/amazonproduct/api.py in __init__(self, access_key_id, secret_access_key, locale, associate_tag, processor, cfg)
        130
        131         # instantiate processor class
    --> 132         if isinstance(processor, (str, unicode)):
        133             self._processor_module = processor
        134             self.processor = load_class('%s.Processor' % processor)()
    
    NameError: name 'unicode' is not defined
    
    In [3]:
    
  2. ThomasProctor

    It looks like the pypi version hasn't been updated since commit 3a79a1c, way back in 2014. There have been lots of changes since, including support for the python that everybody is using.

    Any idea on when updates will get pushed to pypi?

  3. Log in to comment