fofapro / fofa-py

fofa pro的sdk,python语言版本
MIT License
150 stars 27 forks source link

except urllib2.HTTPError,e:^ SyntaxError: invalid syntax #8

Closed senvenGOD closed 1 year ago

senvenGOD commented 2 years ago

Traceback (most recent call last): File "E:/pythonProject/fofa-py-master/example/thinkphp_example.py", line 2, in import fofa File "C:\Users\18172\AppData\Roaming\Python\Python38\site-packages\fofa__init__.py", line 1, in from fofa.client import Client File "C:\Users\18172\AppData\Roaming\Python\Python38\site-packages\fofa\client.py", line 42 except urllib2.HTTPError,e: ^ SyntaxError: invalid syntax

运行环境 py3.8 win11 已经安装了 fofa 还是存在报错。

bipol4r commented 1 year ago

pypi的没更新 不要pip install安装