Error "No module named '__builtin__'" when importing warc

967 Views Asked by At

How to use warc package in python 3 ?

I installed warc with no problem. But when I call import warc I am getting the error:

Exception has occurred: ModuleNotFoundError No module named 'builtin'

1

There are 1 best solutions below

0
Greg Lindahl On BEST ANSWER

The module __builin__ is a python 2 name. If you want a python3-compatible package that reads warcs, I suggest 'warcio'.