root@4e1b7560d74c:/build# pip install --no-index --find-links="file://$(pwd)/dists" dist/my_package-0.0.0.tar.gz Ignoring indexes: https://pypi.python.org/simple/ Unpacking ./dist/my_package-0.0.0.tar.gz Running setup.py (path:/tmp/pip-tzQWRx-build/setup.py) egg_info for package from file:///build/dist/my_package-0.0.0.tar.gz Download error: [Errno -3] Temporary failure in name resolution -- Some packages may not be found! Download error: [Errno -3] Temporary failure in name resolution -- Some packages may not be found! Couldn't find index page for 'cython' (maybe misspelled?) Download error: [Errno -3] Temporary failure in name resolution -- Some packages may not be found! No local packages or download links found for cython Traceback (most recent call last): File "", line 17, in File "/tmp/pip-tzQWRx-build/setup.py", line 5, in packages=['my_package'], File "/usr/lib/python2.6/distutils/core.py", line 113, in setup _setup_distribution = dist = klass(attrs) File "/usr/lib/python2.6/dist-packages/setuptools/dist.py", line 221, in __init__ self.fetch_build_eggs(attrs.pop('setup_requires')) File "/usr/lib/python2.6/dist-packages/setuptools/dist.py", line 245, in fetch_build_eggs parse_requirements(requires), installer=self.fetch_build_egg File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 538, in resolve dist = best[req.key] = env.best_match(req, self, installer) File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 780, in best_match return self.obtain(req, installer) # try and download/install File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 792, in obtain return installer(requirement) File "/usr/lib/python2.6/dist-packages/setuptools/dist.py", line 293, in fetch_build_egg return cmd.easy_install(req) File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 483, in easy_install raise DistutilsError(msg) distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('cython') Complete output from command python setup.py egg_info: Download error: [Errno -3] Temporary failure in name resolution -- Some packages may not be found! Download error: [Errno -3] Temporary failure in name resolution -- Some packages may not be found! Couldn't find index page for 'cython' (maybe misspelled?) Download error: [Errno -3] Temporary failure in name resolution -- Some packages may not be found! No local packages or download links found for cython Traceback (most recent call last): File "", line 17, in File "/tmp/pip-tzQWRx-build/setup.py", line 5, in packages=['my_package'], File "/usr/lib/python2.6/distutils/core.py", line 113, in setup _setup_distribution = dist = klass(attrs) File "/usr/lib/python2.6/dist-packages/setuptools/dist.py", line 221, in __init__ self.fetch_build_eggs(attrs.pop('setup_requires')) File "/usr/lib/python2.6/dist-packages/setuptools/dist.py", line 245, in fetch_build_eggs parse_requirements(requires), installer=self.fetch_build_egg File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 538, in resolve dist = best[req.key] = env.best_match(req, self, installer) File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 780, in best_match return self.obtain(req, installer) # try and download/install File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 792, in obtain return installer(requirement) File "/usr/lib/python2.6/dist-packages/setuptools/dist.py", line 293, in fetch_build_egg return cmd.easy_install(req) File "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py", line 483, in easy_install raise DistutilsError(msg) distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('cython') ---------------------------------------- Cleaning up... Command python setup.py egg_info failed with error code 1 in /tmp/pip-tzQWRx-build Storing debug log for failure in /.pip/pip.log