mxrch / GHunt

🕵️‍♂️ Offensive Google framework.
Other
15.65k stars 1.3k forks source link

TypeError: unsupported operand type(s) for |: 'type' and 'type' #389

Closed Bafomet666 closed 1 year ago

Bafomet666 commented 1 year ago

Such an error after installation, both in python3.9 and in 3.10

File "", line 986, in _find_and_load_unlocked File "", line 664, in _load_unlocked File "", line 627, in _load_backward_compatible File "", line 259, in load_module File "/usr/local/lib/python3.9/dist-packages/ghunt-2.0.1-py3.9.egg/ghunt/init.py", line 1, in File "/usr/local/lib/python3.9/dist-packages/ghunt-2.0.1-py3.9.egg/ghunt/globals.py", line 5, in init_globals File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 664, in _load_unlocked File "", line 627, in _load_backward_compatible File "", line 259, in load_module File "/usr/local/lib/python3.9/dist-packages/ghunt-2.0.1-py3.9.egg/ghunt/objects/utils.py", line 1, in File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 664, in _load_unlocked File "", line 627, in _load_backward_compatible File "", line 259, in load_module File "/usr/local/lib/python3.9/dist-packages/ghunt-2.0.1-py3.9.egg/ghunt/helpers/utils.py", line 77, in TypeError: unsupported operand type(s) for |: 'type' and 'type'

mxrch commented 1 year ago

image

🙃

If it really happens in Python 3.10, I ask to see the stracktrace from Python 3.10 @Bafomet666