daohu527 / cyber_record

cyber_record offline parse tool
Apache License 2.0
52 stars 19 forks source link

AttributeError: 'Record' object has no attribute '_write_file_header_record' #28

Closed yy7410 closed 2 years ago

yy7410 commented 2 years ago

运行test_write_record.py报错 AttributeError: 'Record' object has no attribute '_write_file_header_record'

daohu527 commented 2 years ago

version

what's your version of cyber_record, you can use below cmd to find the version of it.

pip3 list | grep cyber_record

update

the latest version is 0.1.1 which will support _write_file_header_record, other versions may only support read. You can update the version by.

pip3 install cyber_record  --no-deps

by the way, there is a protobuf error with setup.py, you should force install by above cmd, I will fix it asap!

yy7410 commented 2 years ago

谢谢,升级0.1.1版本解决了错误

daohu527 commented 2 years ago

30 fix install protobuf dependency version error.

Close this ticket based on the comments above. If the problem persists, feel free to reopen it. Thank you.