I have installed python beaver package and wanted to install elasticsearch-curator. That's when I encountered this error:
File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "<string>", line 12, in replacement_run
File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 2310, in load
return self.resolve()
File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 2316, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
ImportError: No module named version
It turned out that python-daemon package with the culprit!
To get rid of, do the following:
# pip uninstall python-daemon
# pip install python-daemon
If you wish, you may install specific version also, say
# pip install python-daemon==1.6.1
# pip install beaver --upgrade
# pip install elasticsearch-curator
File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "<string>", line 12, in replacement_run
File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 2310, in load
return self.resolve()
File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 2316, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
ImportError: No module named version
It turned out that python-daemon package with the culprit!
To get rid of, do the following:
# pip uninstall python-daemon
# pip install python-daemon
If you wish, you may install specific version also, say
# pip install python-daemon==1.6.1
# pip install beaver --upgrade
# pip install elasticsearch-curator
No comments:
Post a Comment