nahamsec / JSParser

783 stars 178 forks source link

ModuleNotFoundError: No module named 'StringIO' #31

Open ghost opened 4 years ago

ghost commented 4 years ago

python3 handler.py

Traceback (most recent call last): File "handler.py", line 5, in import safeurl, types, sys, re, mimetypes, glob, jsbeautifier, urlparse, pycurl File "/root/JSParser/safeurl.py", line 18, in import StringIO ModuleNotFoundError: No module named 'StringIO'

was hoping someone has found a fix for this issue

m4ll0k commented 4 years ago

@soupnatzi change line 18 with from io import StringIO

sushantdhopat commented 4 years ago

where line18

sushantdhopat commented 4 years ago

i install it using this command"pip3 install StringIO" give the error not version satisfyy