avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jorge Perez (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-2085) Cant Import avro.schema from pip install python 3.6
Date Sun, 01 Oct 2017 03:17:00 GMT
Jorge Perez created AVRO-2085:

             Summary: Cant Import avro.schema from pip install python 3.6
                 Key: AVRO-2085
                 URL: https://issues.apache.org/jira/browse/AVRO-2085
             Project: Avro
          Issue Type: Bug
          Components: python
    Affects Versions: 1.8.2
            Reporter: Jorge Perez

I tried importing avro.schema, and I receive the error posted below but I made a pull request
that solves that issue. https://github.com/apache/avro/pull/253

(gavro) [gavro] python                                                                   
Python 3.6.2 (default, Jul 20 2017, 03:52:27) 
[GCC 7.1.1 20170630] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import avro
>>> import avro.schema
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/archangel/VENV/gavro/lib/python3.6/site-packages/avro/schema.py", line 340
    except Exception, e:
SyntaxError: invalid syntax
(gavro) [gavro] pip freeze | ack avro                                                    

This message was sent by Atlassian JIRA

View raw message