SPartan icon indicating copy to clipboard operation
SPartan copied to clipboard

Error when running in Kali

Open thebandit19 opened this issue 5 years ago • 4 comments

Hello,

I'm trying to run Spartan in Kali 2018.4 and i get the following error : SPartan.py:733: SyntaxWarning: name 'authed' is assigned to before global declaration global authed Traceback (most recent call last): File "SPartan.py", line 25, in import argparse,requests,sys,os,threading,bs4,warnings,random File "/usr/local/lib/python2.7/dist-packages/bs4/init.py", line 30, in from .builder import builder_registry, ParserRejectedMarkup File "/usr/local/lib/python2.7/dist-packages/bs4/builder/init.py", line 314, in from . import _html5lib File "/usr/local/lib/python2.7/dist-packages/bs4/builder/_html5lib.py", line 70, in class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder): AttributeError: 'module' object has no attribute '_base'

Please advise

thebandit19 avatar Mar 19 '19 10:03 thebandit19

i am getting the same error

ankushgoel27 avatar Mar 30 '19 09:03 ankushgoel27

I solved it by doing the following:

pip install --upgrade beautifulsoup4

paragonsec avatar Apr 08 '19 19:04 paragonsec

pip install --upgrade html5lib can solve this issue

securiteinfo avatar Apr 14 '19 15:04 securiteinfo

https://github.com/MayankPandey01/Sparty-2.0

williamcaput avatar Sep 22 '22 21:09 williamcaput