# Offline install of curator plugin failing

**URL:** https://discuss.elastic.co/t/offline-install-of-curator-plugin-failing/37818
**Category:** Elasticsearch
**Created:** [December 23, 2015, 6:19am UTC](https://discuss.elastic.co/t/offline-install-of-curator-plugin-failing/37818 "2015-12-23T06:19:41Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![sampath\_methuku](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@sampath\_methuku](https://discuss.elastic.co/u/sampath_methuku)
#### Post date: [December 23, 2015, 6:19am UTC](https://discuss.elastic.co/t/offline-install-of-curator-plugin-failing/37818/1 "2015-12-23T06:19:41Z")

</div>

I am trying to install curator plugin , following step in doc: [https://www.elastic.co/guide/en/elasticsearch/client/curator/current/installation.html](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/installation.html)

downloaded required packages and copied to elastic search host  
wget [https://pypi.python.org/packages/source/u/urllib3/urllib3-1.12.tar.gz](https://pypi.python.org/packages/source/u/urllib3/urllib3-1.12.tar.gz)  
wget [https://github.com/elastic/elasticsearch-py/archive/1.8.0.tar.gz](https://github.com/elastic/elasticsearch-py/archive/1.8.0.tar.gz) -O elasticsearch-py.tar.gz  
wget [https://pypi.python.org/packages/source/c/click/click-5.1.tar.gz](https://pypi.python.org/packages/source/c/click/click-5.1.tar.gz) -O click-5.1.tar.gz  
wget [https://github.com/elastic/curator/archive/v3.4.0.tar.gz](https://github.com/elastic/curator/archive/v3.4.0.tar.gz) -O elasticsearch-curator.tar.gz

but while installing using pip following installation failed, since it is trying to downalod some packages from internet

```
pip install elasticsearch-py.tar.gz
 

    Processing ./elasticsearch-py.tar.gz
    Requirement already satisfied (use --upgrade to upgrade): urllib3<2.0,>=1.8 in /usr/lib/python2.6/site-packages (from elasticsearch==1.8.0)
    Collecting unittest2 (from elasticsearch==1.8.0)
      Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x2c098d0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/unittest2/

```

is there any way to install this packages offline ?

---

<div class="post-metadata">

### Author: ![NiteshBarnwal](https://avatars.discourse-cdn.com/v4/letter/n/e495f1/32.png) [@NiteshBarnwal](https://discuss.elastic.co/u/NiteshBarnwal)
#### Post date: [December 23, 2015, 6:37pm UTC](https://discuss.elastic.co/t/offline-install-of-curator-plugin-failing/37818/2 "2015-12-23T18:37:02Z")

</div>

your server is not allowed to connect to internet.

Download unittest2

> wget [https://pypi.python.org/packages/source/u/unittest2/unittest2-1.1.0.tar.gz](https://pypi.python.org/packages/source/u/unittest2/unittest2-1.1.0.tar.gz) -O unittest2-1.1.0.tar.gz

then execute elasticsearch-curator , it will install all

---

<div class="post-metadata">

### Author: ![sampath\_methuku](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@sampath\_methuku](https://discuss.elastic.co/u/sampath_methuku)
#### Post date: [December 24, 2015, 9:05am UTC](https://discuss.elastic.co/t/offline-install-of-curator-plugin-failing/37818/3 "2015-12-24T09:05:45Z")

</div>

I have download unittest2 and placed in same directory of elasticsearch-py.tar.gz , but while running `pip install elasticsearch-py.tar.gz` still it is trying to connect to internet.

`pip install elasticsearch-py.tar.gz Processing ./elasticsearch-py.tar.gz Requirement already satisfied (use --upgrade to upgrade): urllib3<2.0,>=1.8 in /usr/lib/python2.6/site-packages (from elasticsearch==1.8.0) Collecting unittest2 (from elasticsearch==1.8.0) Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x2d6da50>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/unittest2/`

is there any way to specify in `pip install elasticsearch-py.tar.gz` command use local unittest2-1.1.0.tar.gz file, instead of searching internet?

i have tried install unittest using pip install even that also failed.

`pip install unittest2-1.1.0.tar.gz Processing ./unittest2-1.1.0.tar.gz Complete output from command python setup.py egg_info: Download error on https://pypi.python.org/simple/traceback2/: [Errno 110] Connection timed out -- Some packages may not be found! Couldn't find index page for 'traceback2' (maybe misspelled?) Download error on https://pypi.python.org/simple/: [Errno 110] Connection timed out -- Some packages may not be found! No local packages or download links found for traceback2`

please help me to overcome this issue.

---

<div class="post-metadata">

### Author: ![NiteshBarnwal](https://avatars.discourse-cdn.com/v4/letter/n/e495f1/32.png) [@NiteshBarnwal](https://discuss.elastic.co/u/NiteshBarnwal)
#### Post date: [December 24, 2015, 9:17am UTC](https://discuss.elastic.co/t/offline-install-of-curator-plugin-failing/37818/4 "2015-12-24T09:17:58Z")

</div>

You need to install the dependencies first

> [@sampath\_methuku](#):
>
> Complete output from command python setup.py egg\_info: Download error on [https://pypi.python.org/simple/traceback2/:](https://pypi.python.org/simple/traceback2/:) [Errno 110] Connection timed out -- Some packages may not be found!

wget [https://pypi.python.org/packages/source/t/traceback2/traceback2-1.4.0.tar.gz](https://pypi.python.org/packages/source/t/traceback2/traceback2-1.4.0.tar.gz) -O traceback2-1.4.0.tar.gz

---

<div class="post-metadata">

### Author: ![sampath\_methuku](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@sampath\_methuku](https://discuss.elastic.co/u/sampath_methuku)
#### Post date: [December 24, 2015, 10:22am UTC](https://discuss.elastic.co/t/offline-install-of-curator-plugin-failing/37818/5 "2015-12-24T10:22:29Z")

</div>

> [@NiteshBarnwal](#):
>
> pip install elasticsearch-py.tar.gz

Thank you very much, while installing traceback2-1.4.0.tar.gz it failed for dependency package ,but one by one i have installed in the following order ,

pip install pbr-1.8.1.tar.gz  
pip install linecache2-1.0.0.tar.gz  
pip install traceback2-1.4.0.tar.gz  
pip install six-1.9.0.tar.gz  
pip install argparse-1.4.0.tar.gz  
pip install unittest2-1.1.0.tar.gz  
pip install elasticsearch-py.tar.gz  
pip install elasticsearch-curator.tar.gz

finally successfully installed curator offline ,

Thank you very much Nitesh

---

<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 5, 2017, 11:28pm UTC](https://discuss.elastic.co/t/offline-install-of-curator-plugin-failing/37818/6 "2017-07-05T23:28:53Z")

</div>


