# Elasticsearch Curator not install with Error

**URL:** https://discuss.elastic.co/t/elasticsearch-curator-not-install-with-error/118562
**Category:** Elasticsearch
**Created:** [February 6, 2018, 6:49am UTC](https://discuss.elastic.co/t/elasticsearch-curator-not-install-with-error/118562 "2018-02-06T06:49:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![omid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/omid/32/33595_2.png) [@omid](https://discuss.elastic.co/u/omid)
#### Post date: [February 6, 2018, 6:49am UTC](https://discuss.elastic.co/t/elasticsearch-curator-not-install-with-error/118562/1 "2018-02-06T06:49:25Z")

</div>

im would install Elasticsearch Curator ...  
but error  
im step by step with this link

> **[Removing Old Records for Logstash / Elasticsearch / Kibana](http://www.ragingcomputer.com/2014/02/removing-old-records-for-logstash-elasticsearch-kibana)**
>
> Edit: This post is pretty old and Elasticsearch/Logstash/Kibana have evolved a lot since it was written. Part 4 of 4 - Part 1 - Part 2 - Part 3 Now that you've got all your logs flying through logstash into elasticsearch, how to remove old records...

  
and install " **sudo apt-get install python-pip**" success !  
but **not** install " **pip install elasticsearch-curator**"  
When I get this command, I get this error

```
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 317, in run
    requirement_set.prepare_files(finder)
  File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 360, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 512, in _prepare_file
    finder, self.upgrade, require_hashes)
  File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 273, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 442, in find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 400, in find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 545, in _get_pages
    page = self._get_page(location)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 648, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 757, in get_page
    "Cache-Control": "max-age=600",
  File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 480, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 378, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/usr/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/adapter.py", line 46, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/adapters.py", line 376, in send
    timeout=timeout
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 610, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 228, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
```

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [February 6, 2018, 6:57am UTC](https://discuss.elastic.co/t/elasticsearch-curator-not-install-with-error/118562/2 "2018-02-06T06:57:21Z")

</div>

Why are you using a blog post that is 4 years old instead of the [official installation guide](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/installation.html)?

---

<div class="post-metadata">

### Author: ![omid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/omid/32/33595_2.png) [@omid](https://discuss.elastic.co/u/omid)
#### Post date: [February 6, 2018, 7:11am UTC](https://discuss.elastic.co/t/elasticsearch-curator-not-install-with-error/118562/3 "2018-02-06T07:11:17Z")

</div>

thanks, my problem fixed .

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 6, 2018, 7:11am UTC](https://discuss.elastic.co/t/elasticsearch-curator-not-install-with-error/118562/4 "2018-03-06T07:11:19Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
