我已经装了Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019,但不清楚为何还报上述的错误,如果有知道的,请不吝赐教。
from avro.datafile import DataFileReader
from avro.io import DatumReader
reader = DataFileReader(open("C:\\.avro", "rb"), DatumReader())
schema = reader.datum_reader.writers_schema
print(schema)
for user in reader:
print(user)
reader.close()