Python Module and parser library issues

@acidbat
in your error message File "/usr/share/offsec-awae-wheels/beautifulsoup4-4.9.1-py2-none-any.whl/bs4/__init__.py", especially the beautifulsoup4-4.9.1-py2-none-any.whl part, means:
this package is part of beautifulsoup version 4, 4.9.1 to be specific, but it is THE ONE THAT IS SUITABLE FOR PYTHON2, not picky about your OS, nor your processor architecture

partially disagree with @HadesSec, i don’t think this -py2 means the exploit script is written in python2, but i do think it means this beautifulsoup that comes with offsec-awae install, is only made for use with python2
edit: i see what exploit are you dealing with now haha! yeah the exploit script is in python3

then i guess you should install beautifulsoup4-4.9.1-py2-none-any.whl’s brother i.e. beautifulsoup4-4.9.1-py3-none-any.whl? link here