pythonpython-3.xwindowswarc

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


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'


Solution

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