# Curator installation problems

**URL:** https://discuss.elastic.co/t/curator-installation-problems/24710
**Category:** Elasticsearch
**Created:** [July 1, 2015, 10:35am UTC](https://discuss.elastic.co/t/curator-installation-problems/24710 "2015-07-01T10:35:31Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Yzord](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yzord/32/44824_2.png) [@Yzord](https://discuss.elastic.co/u/Yzord)
#### Post date: [July 1, 2015, 10:35am UTC](https://discuss.elastic.co/t/curator-installation-problems/24710/1 "2015-07-01T10:35:31Z")

</div>

I have successfully running an ELK server on my RHEL6 machine for months now, but it is filling up my HDD very quick now with the indices, so i wanted to start using Curator which seems to do the trick by deleting old indices before my HDD gets full.

So i did a "yum install python-pip" and "pip --version" gives me

> [@](#):
>
> pip 1.3.1 from /usr/lib/python2.6/site-packages (python 2.6)

After that I did a "pip install elasticsearch-curator", but that didn't go well i'm afraid:

[http://pastebin.com/mDqjkxVU](http://pastebin.com/mDqjkxVU) (log is to big to paste it in here)

When i read the log, i suddenly see that it is going to download elasticsearch

[quote]Downloading/unpacking elasticsearch\>=1.0.0,\<2.0.0 (from elasticsearch-curator)  
Downloading elasticsearch-1.6.0.tar.gz (63kB): 63kB downloaded  
Running setup.py egg\_info for package elasticsearch[/quote]

Why is he doing that? I already have it all setup, so i don't want it to get screwed by a new setup.

And is there a way to setup Curator for me? I don't understand much from pip, because it is new to me, so hopefully someone can help me with this.

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [July 1, 2015, 10:41am UTC](https://discuss.elastic.co/t/curator-installation-problems/24710/2 "2015-07-01T10:41:53Z")

</div>

It looks like you're missing the pbr package. Perhaps you can try installing it with pip first?

> When i read the log, i suddenly see that it is going to download elasticsearch

Yes, the elasticsearch _Python package_. Not Elasticsearch itself.

---

<div class="post-metadata">

### Author: ![Yzord](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yzord/32/44824_2.png) [@Yzord](https://discuss.elastic.co/u/Yzord)
#### Post date: [July 1, 2015, 10:53am UTC](https://discuss.elastic.co/t/curator-installation-problems/24710/3 "2015-07-01T10:53:10Z")

</div>

Thank you for your reply.

I also saw a yum install method on

[https://www.elastic.co/guide/en/elasticsearch/client/curator/current/installation.html](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/installation.html)

Is it better to use that instead of the original pip method?

---

<div class="post-metadata">

### Author: ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)
#### Post date: [July 1, 2015, 12:21pm UTC](https://discuss.elastic.co/t/curator-installation-problems/24710/4 "2015-07-01T12:21:41Z")

</div>

Generally it isn't, but you may run into the same kind of errors.

Since you've already started with pip, you will have to uninstall each of the packages this attempt with pip made before you can attempt the yum install method. This is because the yum install method will be installing python packages in those same locations and they'd collide.

```
pip uninstall packagename

```

And you'll have to start with `elasticsearch-curator` and work your way back through each (though curator may not have been completely installed).

---

<div class="post-metadata">

### Author: ![Yzord](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yzord/32/44824_2.png) [@Yzord](https://discuss.elastic.co/u/Yzord)
#### Post date: [July 1, 2015, 12:57pm UTC](https://discuss.elastic.co/t/curator-installation-problems/24710/5 "2015-07-01T12:57:57Z")

</div>

> [@theuntergeek](#):
>
> [http://pastebin.com/mDqjkxVU](http://pastebin.com/mDqjkxVU)

I tried to uninstall the packages, but i received these errors:

[quote][root@havok ~]# pip uninstall elasticsearch-curator  
Cannot uninstall requirement elasticsearch-curator, not installed  
Storing complete log in /root/.pip/pip.log  
[root@havok ~]# pip uninstall click  
Cannot uninstall requirement click, not installed  
Storing complete log in /root/.pip/pip.log  
[root@havok ~]# pip uninstall urllib3  
Cannot uninstall requirement urllib3, not installed  
Storing complete log in /root/.pip/pip.log  
[root@havok ~]# pip uninstall unittest2  
Cannot uninstall requirement unittest2, not installed  
Storing complete log in /root/.pip/pip.log[/quote]

While i do find the following packages under /tmp/pip-build-root:

- click
- elastisearch
- elasticsearch-curator
- unittest2
- urllib3

Can i safely delete these? Also i did a "pip install pbr" and it successfully installed it. After that i did a "pip install elasticsearch-curator" and this is the outcome:

> **[install EC - Pastebin.com](https://pastebin.com/wWg7WGAG)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

And the last few lines are:

[quote][pbr] Reusing existing SOURCES.txt  
SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/linecache2/tests/inspect\_fodder2.py', 102, 25, 'def keyworded(\*arg1, arg2=1):\n'))

Successfully installed elasticsearch-curator elasticsearch click urllib3 unittest2 argparse six traceback2 linecache2  
Cleaning up...[/quote]

Does this mean that it is installed successfully and that the SyntaxError can be ignored?

---

<div class="post-metadata">

### Author: ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)
#### Post date: [July 1, 2015, 2:44pm UTC](https://discuss.elastic.co/t/curator-installation-problems/24710/6 "2015-07-01T14:44:23Z")

</div>

It should be easy enough to try:

```
curator --help

```

You may run into [this error](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/entrypoint-fix.html). Do the recommended fix if you do, and curator should be functional for you.

---

<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: [July 6, 2017, 12:04am UTC](https://discuss.elastic.co/t/curator-installation-problems/24710/7 "2017-07-06T00:04:12Z")

</div>


