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

can not run conpot #565

Open
K0zero opened this issue Feb 7, 2022 · 3 comments
Open

can not run conpot #565

K0zero opened this issue Feb 7, 2022 · 3 comments
Labels

Comments

@K0zero
Copy link

K0zero commented Feb 7, 2022

ubuntu16.04 python3.6
i use pip install the conpot instead of docker
but when i use conpot the error came

Traceback (most recent call last):
  File "/usr/local/bin/conpot", line 4, in <module>
    __import__('pkg_resources').run_script('conpot==0.6.0', 'conpot')
  File "/home/zky/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 656, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/home/zky/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1443, in run_script
    .format(**locals()),
pkg_resources.ResolutionError: Script 'scripts/conpot' not found in metadata at '/home/zky/.local/lib/python3.6/site-packages/conpot-0.6.0.dist-info'

i have watched others' issues but their question were different of mine
Script 'scripts/conpot' not found in metadata at '/home/zky/.local/lib/python3.6/site-packages/conpot-0.6.0.dist-info'

@K0zero K0zero added the bug label Feb 7, 2022
@glaslos
Copy link
Member

glaslos commented Feb 20, 2022

Can you provide the exact commands you use?
I just tried successfully with:

pip install conpot
conpot

@K0zero
Copy link
Author

K0zero commented Feb 22, 2022

yes,i only used the command -- pip3 install conpot
by the way, i did not use the root.

@Harshiths1
Copy link

Harshiths1 commented Oct 19, 2023

Try the following command after pulling from docker as i have also tried many times using pip install and pip3 still does not work but tried using

sudo docker run -it -p 81:81 -p 103:103 -p 503:503 -p 160:160/udp --network=bridge
honeynet/conpot

and it worked so let me know if it does for you too

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

No branches or pull requests

3 participants