elastalert icon indicating copy to clipboard operation
elastalert copied to clipboard

Error mock requires setuptools>=17.1. Aborting installation on CentOS

Open darioajr opened this issue 11 years ago • 8 comments

Extracting elastalert-0.0.63-py2.7.egg to /usr/lib/python2.7/site-packages elastalert 0.0.63 is already the active version in easy-install.pth Installing elastalert-create-index script to /usr/bin Installing elastalert-rule-from-kibana script to /usr/bin Installing elastalert-test-rule script to /usr/bin

Installed /usr/lib/python2.7/site-packages/elastalert-0.0.63-py2.7.egg Processing dependencies for elastalert==0.0.63 Searching for mock Reading https://pypi.python.org/simple/mock/ Best match: mock 1.3.0 Downloading https://pypi.python.org/packages/source/m/mock/mock-1.3.0.tar.gz#md5=73ee8a4afb3ff4da1b4afa287f39fdeb Processing mock-1.3.0.tar.gz Writing /tmp/easy_install-tZTFYV/mock-1.3.0/setup.cfg Running mock-1.3.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-tZTFYV/mock-1.3.0/egg-dist-tmp-5e5y16 mock requires setuptools>=17.1. Aborting installation error: Setup script exited with 1

darioajr avatar Oct 13 '15 18:10 darioajr

Had the same problem. It took some googling to figure out how to update setuptools. This got me past the error: sudo pip install -U setuptools

Now to just resolve the new error =) Using /usr/lib/python2.6/site-packages Finished processing dependencies for elastalert==0.0.63 Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/lib64/python2.6/atexit.py", line 24, in _run_exitfuncs func(_targs, *_kargs) File "/usr/lib64/python2.6/multiprocessing/util.py", line 258, in _exit_function info('process shutting down') TypeError: 'NoneType' object is not callable

svanommen avatar Oct 16 '15 01:10 svanommen

I had the same issue as svanommen on RHEL6.5. I resolved it by downloading and installing a newer version of setuptools (18.4 rather than 17.1.1).

MalcyB avatar Oct 20 '15 15:10 MalcyB

@svanommen ..were you ever able to resolve that latest error you encountered:

TypeError: 'NoneType' object is not callable Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/lib64/python2.6/atexit.py", line 24, in _run_exitfuncs func(_targs, *_kargs) File "/usr/lib64/python2.6/multiprocessing/util.py", line 258, in _exit_functi on info('process shutting down') TypeError: 'NoneType' object is not callable Error in sys.exitfunc: Traceback (most recent call last): File "/usr/lib64/python2.6/atexit.py", line 24, in _run_exitfuncs func(_targs, *_kargs) File "/usr/lib64/python2.6/multiprocessing/util.py", line 258, in _exit_functi on info('process shutting down') TypeError: 'NoneType' object is not callable

zsengineer avatar Nov 11 '15 22:11 zsengineer

Hello, I got the same error, you should upgrade your setuptools: curl https://bootstrap.pypa.io/ez_setup.py -o - | python

khamlaoui avatar Dec 25 '15 19:12 khamlaoui

Did anyone got past this error? I am facing the same issue

arushidogra avatar Mar 12 '16 17:03 arushidogra

Thanks @khamlaoui that helped :tada:

jacopoch avatar Mar 14 '16 14:03 jacopoch

@khamlaoui thx 4 it

liaoaoyang avatar Jun 16 '16 03:06 liaoaoyang

I have an inventory of problems. I think this problem has been solved. If it has been resolved, close it.

nsano-rururu avatar Nov 20 '20 15:11 nsano-rururu