Hi Michael - On Mon, Sep 28, 2020 at 8:19 PM Michael A. Smith <[email protected]> wrote:
> Where did you find that avro-python3 is recommended? I would like to > update that. > here: https://stackoverflow.com/a/43606979/165071 > avro-python3 is deprecated. Your should use the avro library instead. > > If the avro library for python doesn't work, please let me know. > Yes, it does not work for me with python 3.8.0 - please see below On Mon, Sep 28, 2020 at 12:43 Alexander Farber <[email protected]> > wrote: > >> With python 3.8.5 and avro 1.10.0 installed via pip I have tried running >> the following script: >> >> import os, avro >> from avro.datafile import DataFileReader, DataFileWriter >> from avro.io import DatumReader, DatumWriter >> >> reader = DataFileReader(open("48.avro", "rb"), DatumReader()) >> for d in reader: >> print(d) >> reader.close() >> >> Unfortunately, nothing is printed by the script. >> >> https://stackoverflow.com/questions/64105500/how-to-use-avro-python3-on-windows-10-to-parse-files >> > Michael, how could I debug this issue? I am an avro and python newbie Greetings from Germany Alex
