Closed senvenGOD closed 1 year 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 还是存在报错。
pypi的没更新 不要pip install安装
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 还是存在报错。