mushorg / conpot

ICS/SCADA honeypot
GNU General Public License v2.0
1.22k stars 413 forks source link

run conpot #448

Closed emaldahasi closed 5 years ago

emaldahasi commented 5 years ago

Greeting,, there still problem once run conpot , I tried to update the version of python from 2.7.12 to 3 using the link of site (https://conpot.readthedocs.io/en/latest/installation/ubuntu.html), its updated (I means I have now two folders 1- for python 2.7.12 and there are two folders inside it (site and dist) 2- for python 3.5 and there are one folder inside it (dist) but if I wrote the command python -V to check the version , it gave me the oldest version 2.7.12

also I tried to copy folder site from folder python 2.7.12 to python 3.5 still the same issue

I trired remove folder python 2.7.12 , still the same issue

The issue below:

waleed@waleed-VirtualBox:~$ sudo conpot [sudo] password for waleed: Traceback (most recent call last): File "/usr/local/bin/conpot", line 4, in import('pkg_resources').run_script('conpot==0.6.0', 'conpot') File "/home/waleed/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 666, in run_script self.require(requires)[0].run_script(script_name, ns) File "/home/waleed/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 1444, in run_script .format(**locals()), pkg_resources.ResolutionError: Script 'scripts/conpot' not found in metadata at '/home/waleed/.local/lib/python2.7/site-packages/conpot-0.6.0-py2.7.egg-info'

waleed@waleed-VirtualBox:~$ python -V Python 2.7.12

xandfury commented 5 years ago

You need to run conpot in Python 3.5+. Python 2.7 is not supported anymore