I am trying to install curator plugin , following step in doc: 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
wget 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 -O click-5.1.tar.gz
wget 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 ?
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 -O unittest2-1.1.0.tar.gz
then execute elasticsearch-curator , it will install all
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.
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