Skip to content

Instantly share code, notes, and snippets.

@ohsawa0515
Created November 4, 2014 08:23
Show Gist options
  • Save ohsawa0515/e7c387517e4d1d8ac77c to your computer and use it in GitHub Desktop.
Save ohsawa0515/e7c387517e4d1d8ac77c to your computer and use it in GitHub Desktop.
root> pip uninstall elasticsearch
Uninstalling elasticsearch:
/usr/lib/python2.6/site-packages/elasticsearch-1.2.0.dist-info/DESCRIPTION.rst
/usr/lib/python2.6/site-packages/elasticsearch-1.2.0.dist-info/METADATA
/usr/lib/python2.6/site-packages/elasticsearch-1.2.0.dist-info/RECORD
/usr/lib/python2.6/site-packages/elasticsearch-1.2.0.dist-info/WHEEL
/usr/lib/python2.6/site-packages/elasticsearch-1.2.0.dist-info/metadata.json
/usr/lib/python2.6/site-packages/elasticsearch-1.2.0.dist-info/top_level.txt
/usr/lib/python2.6/site-packages/elasticsearch/__init__.py
/usr/lib/python2.6/site-packages/elasticsearch/__init__.pyc
/usr/lib/python2.6/site-packages/elasticsearch/client/__init__.py
/usr/lib/python2.6/site-packages/elasticsearch/client/__init__.pyc
/usr/lib/python2.6/site-packages/elasticsearch/client/cat.py
/usr/lib/python2.6/site-packages/elasticsearch/client/cat.pyc
/usr/lib/python2.6/site-packages/elasticsearch/client/cluster.py
/usr/lib/python2.6/site-packages/elasticsearch/client/cluster.pyc
/usr/lib/python2.6/site-packages/elasticsearch/client/indices.py
/usr/lib/python2.6/site-packages/elasticsearch/client/indices.pyc
/usr/lib/python2.6/site-packages/elasticsearch/client/nodes.py
/usr/lib/python2.6/site-packages/elasticsearch/client/nodes.pyc
/usr/lib/python2.6/site-packages/elasticsearch/client/snapshot.py
/usr/lib/python2.6/site-packages/elasticsearch/client/snapshot.pyc
/usr/lib/python2.6/site-packages/elasticsearch/client/utils.py
/usr/lib/python2.6/site-packages/elasticsearch/client/utils.pyc
/usr/lib/python2.6/site-packages/elasticsearch/compat.py
/usr/lib/python2.6/site-packages/elasticsearch/compat.pyc
/usr/lib/python2.6/site-packages/elasticsearch/connection/__init__.py
/usr/lib/python2.6/site-packages/elasticsearch/connection/__init__.pyc
/usr/lib/python2.6/site-packages/elasticsearch/connection/base.py
/usr/lib/python2.6/site-packages/elasticsearch/connection/base.pyc
/usr/lib/python2.6/site-packages/elasticsearch/connection/esthrift/Rest.py
/usr/lib/python2.6/site-packages/elasticsearch/connection/esthrift/Rest.pyc
/usr/lib/python2.6/site-packages/elasticsearch/connection/esthrift/__init__.py
/usr/lib/python2.6/site-packages/elasticsearch/connection/esthrift/__init__.pyc
/usr/lib/python2.6/site-packages/elasticsearch/connection/esthrift/constants.py
/usr/lib/python2.6/site-packages/elasticsearch/connection/esthrift/constants.pyc
/usr/lib/python2.6/site-packages/elasticsearch/connection/esthrift/ttypes.py
/usr/lib/python2.6/site-packages/elasticsearch/connection/esthrift/ttypes.pyc
/usr/lib/python2.6/site-packages/elasticsearch/connection/http_requests.py
/usr/lib/python2.6/site-packages/elasticsearch/connection/http_requests.pyc
/usr/lib/python2.6/site-packages/elasticsearch/connection/http_urllib3.py
/usr/lib/python2.6/site-packages/elasticsearch/connection/http_urllib3.pyc
/usr/lib/python2.6/site-packages/elasticsearch/connection/memcached.py
/usr/lib/python2.6/site-packages/elasticsearch/connection/memcached.pyc
/usr/lib/python2.6/site-packages/elasticsearch/connection/pooling.py
/usr/lib/python2.6/site-packages/elasticsearch/connection/pooling.pyc
/usr/lib/python2.6/site-packages/elasticsearch/connection/thrift.py
/usr/lib/python2.6/site-packages/elasticsearch/connection/thrift.pyc
/usr/lib/python2.6/site-packages/elasticsearch/connection_pool.py
/usr/lib/python2.6/site-packages/elasticsearch/connection_pool.pyc
/usr/lib/python2.6/site-packages/elasticsearch/exceptions.py
/usr/lib/python2.6/site-packages/elasticsearch/exceptions.pyc
/usr/lib/python2.6/site-packages/elasticsearch/helpers/__init__.py
/usr/lib/python2.6/site-packages/elasticsearch/helpers/__init__.pyc
/usr/lib/python2.6/site-packages/elasticsearch/helpers/test.py
/usr/lib/python2.6/site-packages/elasticsearch/helpers/test.pyc
/usr/lib/python2.6/site-packages/elasticsearch/serializer.py
/usr/lib/python2.6/site-packages/elasticsearch/serializer.pyc
/usr/lib/python2.6/site-packages/elasticsearch/transport.py
/usr/lib/python2.6/site-packages/elasticsearch/transport.pyc
Proceed (y/n)? y
Successfully uninstalled elasticsearch
root> pip install elasticsearch
Downloading/unpacking elasticsearch
Downloading elasticsearch-1.2.0-py2.py3-none-any.whl (51kB): 51kB downloaded
Requirement already satisfied (use --upgrade to upgrade): urllib3>=1.8,<2.0 in /usr/lib/python2.6/site-packages (from elasticsearch)
Installing collected packages: elasticsearch
Successfully installed elasticsearch
Cleaning up...
root> curator --version
Traceback (most recent call last):
File "/usr/bin/curator", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>
working_set.require(__requires__)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: elasticsearch>=1.0.0,<2.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment