Description
pip install kudu-python appears to be broken on EL6 / CentOS 6 due to end-of-life of Python 2.6. The latest versions of pip (10.x) don't seem to work on Python 2.6 and pip can't seem to find pytest-runner when I install it (maybe I am missing something):
[mpercy@vc1320 lib64]$ pip install --user pytest-runner You are using pip version 7.1.0, however version 10.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Collecting pytest-runner /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Downloading https://files.pythonhosted.org/packages/72/a4/d7a5738a3096f22a98bec1609e237b250ebff04e5ea2930305d485337263/pytest_runner-4.2-py2.py3-none-any.whl Installing collected packages: pytest-runner Successfully installed pytest-runner-4.2 [mpercy@vc1320 lib64]$ pip install --user kudu-python You are using pip version 7.1.0, however version 10.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Collecting kudu-python Using cached https://files.pythonhosted.org/packages/20/4c/2508d47f1aa12df7e63a587945d63e468dc4e4896f1acfc99ea91b5af909/kudu-python-1.7.0.tar.gz Complete output from command python setup.py egg_info: Building from system prefix /usr/local Couldn't find index page for 'pytest-runner' (maybe misspelled?) No local packages or download links found for pytest-runner Traceback (most recent call last): File "<string>", line 20, in <module> File "/tmp/pip-build-FHBhhi/kudu-python/setup.py", line 172, in <module> test_suite="kudu.tests" File "/usr/lib64/python2.6/distutils/core.py", line 113, in setup _setup_distribution = dist = klass(attrs) File "/usr/lib/python2.6/site-packages/setuptools/dist.py", line 221, in __init__ self.fetch_build_eggs(attrs.pop('setup_requires')) File "/usr/lib/python2.6/site-packages/setuptools/dist.py", line 245, in fetch_build_eggs parse_requirements(requires), installer=self.fetch_build_egg File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 538, in resolve dist = best[req.key] = env.best_match(req, self, installer) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 780, in best_match return self.obtain(req, installer) # try and download/install File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 792, in obtain return installer(requirement) File "/usr/lib/python2.6/site-packages/setuptools/dist.py", line 293, in fetch_build_egg return cmd.easy_install(req) File "/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 466, in easy_install raise DistutilsError(msg) distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner') ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-FHBhhi/kudu-python
See also KUDU-1705
Attachments
Attachments
Issue Links
- is related to
-
KUDU-1705 [Python] - PIP Install is not installing Cython dependency automatically
- Open