distribute can be installed via easy_install but not pip.
(venv) root@gitbuilder-ceph-deb-xenial-amd64-basic:~/venv# pip install distribute
Collecting distribute
Downloading distribute-0.7.3.zip (145kB)
100% |████████████████████████████████| 153kB 2.8MB/s
Requirement already satisfied: setuptools>=0.7 in ./lib/python2.7/site-packages (from distribute)
Building wheels for collected packages: distribute
Running setup.py bdist_wheel for distribute ... error
Complete output from command /root/venv/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-XVD1VT/distribute/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpMnUohqpip-wheel- --python-tag cp27:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-XVD1VT/distribute/setup.py", line 58, in <module>
setuptools.setup(**setup_params)
File "/usr/lib/python2.7/distutils/core.py", line 137, in setup
ok = dist.parse_command_line()
File "setuptools/dist.py", line 276, in parse_command_line
result = _Distribution.parse_command_line(self)
File "/usr/lib/python2.7/distutils/dist.py", line 467, in parse_command_line
args = self._parse_command_opts(parser, args)
File "setuptools/dist.py", line 602, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/usr/lib/python2.7/distutils/dist.py", line 523, in _parse_command_opts
cmd_class = self.get_command_class(command)
File "setuptools/dist.py", line 406, in get_command_class
ep.require(installer=self.fetch_build_egg)
File "pkg_resources.py", line 2254, in require
working_set.resolve(self.dist.requires(self.extras),env,installer)))
File "pkg_resources.py", line 2471, in requires
dm = self._dep_map
File "pkg_resources.py", line 2682, in _dep_map
self.__dep_map = self._compute_dependencies()
File "pkg_resources.py", line 2699, in _compute_dependencies
from _markerlib import compile as compile_marker
ImportError: No module named _markerlib
----------------------------------------
Failed building wheel for distribute
Running setup.py clean for distribute
Failed to build distribute
Installing collected packages: distribute
Running setup.py install for distribute ... done
Successfully installed distribute-0.7.3
(venv) root@gitbuilder-ceph-deb-xenial-amd64-basic:~/venv# easy_install distribute
Searching for distribute
Best match: distribute 0.7.3
Adding distribute 0.7.3 to easy-install.pth file
Using /root/venv/lib/python2.7/site-packages
Processing dependencies for distribute
Finished processing dependencies for distribute
(venv) root@gitbuilder-ceph-deb-xenial-amd64-basic:~/venv# pip install distribute
Requirement already satisfied: distribute in ./lib/python2.7/site-packages
Requirement already satisfied: setuptools>=0.7 in ./lib/python2.7/site-packages (from distribute)