pythonのプラグインをインストールする際にまず必要となるsetuptoolsをインストールする際にエラーが出てしまい、進めませんでした。
setuptools 36.5.0 : Python Package Index
[FAQ]PythonのDistributeのインストールに失敗する - 合同会社フィールドワークス
File "/usr/local/python/lib/python2.7/zipfile.py", line 732, in __init__ "Compression requires the (missing) zlib module" RuntimeError: Compression requires the (missing) zlib module
pythonをソースからインストールする際にzlibが入っていないとconfigureでその機能がごっそり削られてしまうようで、zlibを予め入れてから再度pythonをコンパイルすることになります。面倒くさい…。
ということで、
yum install zlib zlib-devel
を管理者権限でやったあとに、pythonを再度コンパイルし直すと、
running install running bdist_egg running egg_info writing setuptools.egg-info/PKG-INFO writing top-level names to setuptools.egg-info/top_level.txt writing dependency_links to setuptools.egg-info/dependency_links.txt writing entry points to setuptools.egg-info/entry_points.txt reading manifest file 'setuptools.egg-info/SOURCES.txt' writing manifest file 'setuptools.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py copying setuptools.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying setuptools.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying setuptools.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-IN FO copying setuptools.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying setuptools.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO creating 'dist/setuptools-0.6c11-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' t o it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing setuptools-0.6c11-py2.7.egg Copying setuptools-0.6c11-py2.7.egg to /usr/local/python-2.7.4/lib/python2.7/sit e-packages Adding setuptools 0.6c11 to easy-install.pth file Installing easy_install script to /usr/local/python/bin Installing easy_install-2.7 script to /usr/local/python/bin Installed /usr/local/python-2.7.4/lib/python2.7/site-packages/setuptools-0.6c11- py2.7.egg Processing dependencies for setuptools==0.6c11 Finished processing dependencies for setuptools==0.6c11