Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on latest kali linux purple #64

Open
Visalyputra opened this issue Mar 31, 2023 · 4 comments
Open

Error on latest kali linux purple #64

Visalyputra opened this issue Mar 31, 2023 · 4 comments

Comments

@Visalyputra
Copy link

How to solve this error?

Traceback (most recent call last):
File "/usr/local/bin/kunyu", line 33, in
sys.exit(load_entry_point('kunyu==1.7.2', 'console_scripts', 'kunyu')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/kunyu", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/init.py", line 202, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.11/dist-packages/kunyu-1.7.2-py3.11.egg/kunyu/console.py", line 17, in
from kunyu.core.console import KunyuInterpreter
File "/usr/local/lib/python3.11/dist-packages/kunyu-1.7.2-py3.11.egg/kunyu/core/console.py", line 23, in
from kunyu.core.zoomeye import ZoomEye
File "/usr/local/lib/python3.11/dist-packages/kunyu-1.7.2-py3.11.egg/kunyu/core/zoomeye.py", line 25, in
from pocsuite3 import set_paths
File "/usr/local/lib/python3.11/dist-packages/pocsuite3/init.py", line 11, in
from .cli import module_path
File "/usr/local/lib/python3.11/dist-packages/pocsuite3/cli.py", line 12, in
from pocsuite3.lib.core.option import init
File "/usr/local/lib/python3.11/dist-packages/pocsuite3/lib/core/option.py", line 11, in
import socks
File "/usr/local/lib/python3.11/dist-packages/socks.py", line 58, in
from collections import Callable
ImportError: cannot import name 'Callable' from 'collections' (/usr/lib/python3.11/collections/init.py)

@wikiZ
Copy link
Collaborator

wikiZ commented Apr 1, 2023

Probably because your python version is too high,you can use command "pip install kunyu" to solved this issue.

@Visalyputra
Copy link
Author

Probably because your python version is too high,you can use command "pip install kunyu" to solved this issue.

still error above appears even i use the "pip install kunyu" 😢

@Visalyputra
Copy link
Author

The kunyu itself is working when i use the kunyu -h but the kunyu init --apikey --seebug is not working and this error appears.

Traceback (most recent call last):
File "/usr/local/bin/kunyu", line 5, in
from kunyu.console import main
File "/usr/local/lib/python3.11/dist-packages/kunyu/console.py", line 17, in
from kunyu.core.console import KunyuInterpreter
File "/usr/local/lib/python3.11/dist-packages/kunyu/core/console.py", line 23, in
from kunyu.core.zoomeye import ZoomEye
File "/usr/local/lib/python3.11/dist-packages/kunyu/core/zoomeye.py", line 25, in
from pocsuite3 import set_paths
File "/usr/local/lib/python3.11/dist-packages/pocsuite3/init.py", line 11, in
from .cli import module_path
File "/usr/local/lib/python3.11/dist-packages/pocsuite3/cli.py", line 12, in
from pocsuite3.lib.core.option import init
File "/usr/local/lib/python3.11/dist-packages/pocsuite3/lib/core/option.py", line 11, in
import socks
File "/usr/local/lib/python3.11/dist-packages/socks.py", line 58, in
from collections import Callable
ImportError: cannot import name 'Callable' from 'collections' (/usr/lib/python3.11/collections/init.py)

@wikiZ
Copy link
Collaborator

wikiZ commented Apr 13, 2023

You need to get to https://www.zoomeye.org/ Register and get the api-key to initialize in and replace the key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants