To Solve AttributeError: 'HTMLParser' object has no attribute 'unescape' Error Just upgrade setuptools by this command pip3 install --upgrade setuptools If it does not work, try also: pip3 install --upgrade pip pip3 install --upgrade distlib