1. Ian Bicking
  2. PasteScript
  3. Issues
Issue #4 resolved

Can't install PasteScript on clean install

Matt Feifarek
created an issue

I can't install PasteScript v 1.7.5 on a clean virtualenv:

$ virtualenv --no-site-packages venv New python executable in venv/bin/python Installing distribute....................................................................................................................................................................................done. Installing pip...............done.

$ source venv/bin/activate (venv)$ pip install PasteScript Downloading/unpacking PasteScript Downloading PasteScript-1.7.5.tar.gz (129Kb): 129Kb downloaded Running setup.py egg_info for package PasteScript

warning: no previously-included files matching '*' found under directory 'docs/_build/_sources'
warning: no files found matching '*.js' under directory 'paste'
warning: no files found matching '*.jpg' under directory 'paste'

Downloading/unpacking Paste>=1.3 (from PasteScript) Downloading Paste-1.7.5.1.tar.gz (523Kb): 523Kb downloaded Running setup.py egg_info for package Paste

warning: no previously-included files matching '*' found under directory 'docs/_build/_sources'

Downloading/unpacking PasteDeploy (from PasteScript) Downloading PasteDeploy-1.5.0.tar.gz Running setup.py egg_info for package PasteDeploy

Installing collected packages: PasteScript, Paste, PasteDeploy Running setup.py install for PasteScript Skipping installation of /home/mjf/venv/lib/python2.7/site-packages/paste/init.py (namespace package) Checking .pth file support in . /home/mjf/venv/bin/python -E -c pass Searching for PasteDeploy Reading http://pypi.python.org/simple/PasteDeploy/ Reading http://pythonpaste.org/deploy/ Reading http://pythonpaste.org/deploy/paste-deploy.html Best match: PasteDeploy 1.5.0 Downloading http://pypi.python.org/packages/source/P/PasteDeploy/PasteDeploy-1.5.0.tar.gz#md5=f1a068a0b680493b6eaff3dd7690690f Processing PasteDeploy-1.5.0.tar.gz Running PasteDeploy-1.5.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ZWLGxc/PasteDeploy-1.5.0/egg-dist-tmp-Q113sE warning: no previously-included files matching '*' found under directory 'docs/_build/_sources'

Installed /tmp/easy_install-ZWLGxc/PasteDeploy-1.5.0/Paste-1.7.5.1-py2.7.egg
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/mjf/venv/build/PasteScript/setup.py", line 145, in <module>
    'PasteDeploy',
  File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/install.py", line 53, in run
    return _install.run(self)
  File "/usr/lib/python2.7/distutils/command/install.py", line 613, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/install_egg_info.py", line 29, in run
    self.run_command('egg_info')
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/egg_info.py", line 171, in run
    writer = ep.load(installer=installer)
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 1990, in load
    if require: self.require(env, installer)
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 2003, in require
    working_set.resolve(self.dist.requires(self.extras),env,installer))
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 576, in resolve
    dist = best[req.key] = env.best_match(req, self, installer)
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 821, in best_match
    return self.obtain(req, installer) # try and download/install
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 833, in obtain
    return installer(requirement)
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/dist.py", line 294, in fetch_build_egg
    return cmd.easy_install(req)
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/easy_install.py", line 585, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/easy_install.py", line 615, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/easy_install.py", line 805, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/easy_install.py", line 1082, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/easy_install.py", line 1071, in run_setup
    run_setup(setup_script, args)
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/sandbox.py", line 30, in run_setup
    lambda: execfile(
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/sandbox.py", line 72, in run
    return func()
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/sandbox.py", line 32, in <lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 63, in <module>
    license='MIT',
  File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/bdist_egg.py", line 172, in run
    self.run_command("egg_info")
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/egg_info.py", line 170, in run
    for ep in iter_entry_points('egg_info.writers'):
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 485, in iter_entry_points
    for dist in self:
  File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 511, in __iter__
    for key in self.entry_keys[item]:
KeyError: '/tmp/easy_install-ZWLGxc/PasteDeploy-1.5.0/temp/easy_install-0lq1Q0/Paste-1.7.5.1'
Complete output from command /home/mjf/venv/bin/python -c "import setuptools;__file__='/home/mjf/venv/build/PasteScript/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-ppkKGL-record/install-record.txt --install-headers /home/mjf/venv/include/site/python2.7:
running install

running build

running build_py

creating build

creating build/lib.linux-x86_64-2.7

creating build/lib.linux-x86_64-2.7/paste

copying paste/init.py -> build/lib.linux-x86_64-2.7/paste

creating build/lib.linux-x86_64-2.7/tests

copying tests/test_logging_config.py -> build/lib.linux-x86_64-2.7/tests

copying tests/test_template_introspect.py -> build/lib.linux-x86_64-2.7/tests

copying tests/test_plugin_adder.py -> build/lib.linux-x86_64-2.7/tests

copying tests/test_egg_finder.py -> build/lib.linux-x86_64-2.7/tests

copying tests/init.py -> build/lib.linux-x86_64-2.7/tests

creating build/lib.linux-x86_64-2.7/paste/script

copying paste/script/serve.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/twisted_web2_server.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/templates.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/command.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/pluginlib.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/checkperms.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/testapp.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/bool_optparse.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/default_sysconfig.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/epdesc.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/wsgiutils_server.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/entrypoints.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/create_distro.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/cherrypy_server.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/flup_server.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/request.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/filemaker.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/appinstall.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/cgi_server.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/help.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/copydir.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/grep.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/exe.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/interfaces.py -> build/lib.linux-x86_64-2.7/paste/script

copying paste/script/init.py -> build/lib.linux-x86_64-2.7/paste/script

creating build/lib.linux-x86_64-2.7/tests/appsetup

copying tests/appsetup/test_make_project.py -> build/lib.linux-x86_64-2.7/tests/appsetup

copying tests/appsetup/init.py -> build/lib.linux-x86_64-2.7/tests/appsetup

creating build/lib.linux-x86_64-2.7/paste/script/util

copying paste/script/util/secret.py -> build/lib.linux-x86_64-2.7/paste/script/util

copying paste/script/util/string24.py -> build/lib.linux-x86_64-2.7/paste/script/util

copying paste/script/util/uuid.py -> build/lib.linux-x86_64-2.7/paste/script/util

copying paste/script/util/logging_config.py -> build/lib.linux-x86_64-2.7/paste/script/util

copying paste/script/util/subprocess24.py -> build/lib.linux-x86_64-2.7/paste/script/util

copying paste/script/util/init.py -> build/lib.linux-x86_64-2.7/paste/script/util

creating build/lib.linux-x86_64-2.7/paste/script/paster-templates

creating build/lib.linux-x86_64-2.7/paste/script/paster-templates/basic_package

copying paste/script/paster-templates/basic_package/setup.py_tmpl -> build/lib.linux-x86_64-2.7/paste/script/paster-templates/basic_package

copying paste/script/paster-templates/basic_package/setup.cfg -> build/lib.linux-x86_64-2.7/paste/script/paster-templates/basic_package

creating build/lib.linux-x86_64-2.7/paste/script/paster-templates/basic_package/+package+

copying paste/script/paster-templates/basic_package/+package+/init.py -> build/lib.linux-x86_64-2.7/paste/script/paster-templates/basic_package/+package+

running install_lib

Skipping installation of /home/mjf/venv/lib/python2.7/site-packages/paste/init.py (namespace package)

copying paste/script/serve.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/twisted_web2_server.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/templates.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/command.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/pluginlib.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/checkperms.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/testapp.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/bool_optparse.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/default_sysconfig.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/epdesc.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/wsgiutils_server.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/entrypoints.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/create_distro.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/cherrypy_server.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/flup_server.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/request.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/filemaker.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/appinstall.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/cgi_server.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/help.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/copydir.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/grep.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/exe.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/interfaces.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/init.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script

copying paste/script/paster-templates/basic_package/setup.py_tmpl -> /home/mjf/venv/lib/python2.7/site-packages/paste/script/paster-templates/basic_package

copying paste/script/paster-templates/basic_package/setup.cfg -> /home/mjf/venv/lib/python2.7/site-packages/paste/script/paster-templates/basic_package

copying paste/script/paster-templates/basic_package/+package+/init.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script/paster-templates/basic_package/+package+

copying paste/script/util/secret.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script/util

copying paste/script/util/string24.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script/util

copying paste/script/util/uuid.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script/util

copying paste/script/util/logging_config.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script/util

copying paste/script/util/subprocess24.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script/util

copying paste/script/util/init.py -> /home/mjf/venv/lib/python2.7/site-packages/paste/script/util

copying tests/test_logging_config.py -> /home/mjf/venv/lib/python2.7/site-packages/tests

copying tests/test_template_introspect.py -> /home/mjf/venv/lib/python2.7/site-packages/tests

copying tests/test_plugin_adder.py -> /home/mjf/venv/lib/python2.7/site-packages/tests

copying tests/test_egg_finder.py -> /home/mjf/venv/lib/python2.7/site-packages/tests

copying tests/init.py -> /home/mjf/venv/lib/python2.7/site-packages/tests

copying tests/appsetup/test_make_project.py -> /home/mjf/venv/lib/python2.7/site-packages/tests/appsetup

copying tests/appsetup/init.py -> /home/mjf/venv/lib/python2.7/site-packages/tests/appsetup

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/serve.py to serve.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/twisted_web2_server.py to twisted_web2_server.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/templates.py to templates.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/command.py to command.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/pluginlib.py to pluginlib.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/checkperms.py to checkperms.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/testapp.py to testapp.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/bool_optparse.py to bool_optparse.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/default_sysconfig.py to default_sysconfig.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/epdesc.py to epdesc.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/wsgiutils_server.py to wsgiutils_server.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/entrypoints.py to entrypoints.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/create_distro.py to create_distro.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/cherrypy_server.py to cherrypy_server.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/flup_server.py to flup_server.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/request.py to request.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/filemaker.py to filemaker.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/appinstall.py to appinstall.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/cgi_server.py to cgi_server.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/help.py to help.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/copydir.py to copydir.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/grep.py to grep.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/exe.py to exe.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/interfaces.py to interfaces.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/init.py to init.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/paster-templates/basic_package/+package+/init.py to init.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/util/secret.py to secret.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/util/string24.py to string24.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/util/uuid.py to uuid.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/util/logging_config.py to logging_config.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/util/subprocess24.py to subprocess24.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/paste/script/util/init.py to init.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/tests/test_logging_config.py to test_logging_config.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/tests/test_template_introspect.py to test_template_introspect.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/tests/test_plugin_adder.py to test_plugin_adder.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/tests/test_egg_finder.py to test_egg_finder.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/tests/init.py to init.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/tests/appsetup/test_make_project.py to test_make_project.pyc

byte-compiling /home/mjf/venv/lib/python2.7/site-packages/tests/appsetup/init.py to init.pyc

running install_egg_info

running egg_info

Checking .pth file support in .

/home/mjf/venv/bin/python -E -c pass

Searching for PasteDeploy

Reading http://pypi.python.org/simple/PasteDeploy/

Reading http://pythonpaste.org/deploy/

Reading http://pythonpaste.org/deploy/paste-deploy.html

Best match: PasteDeploy 1.5.0

Downloading http://pypi.python.org/packages/source/P/PasteDeploy/PasteDeploy-1.5.0.tar.gz#md5=f1a068a0b680493b6eaff3dd7690690f

Processing PasteDeploy-1.5.0.tar.gz

Running PasteDeploy-1.5.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ZWLGxc/PasteDeploy-1.5.0/egg-dist-tmp-Q113sE

warning: no previously-included files matching '*' found under directory 'docs/_build/_sources'

Installed /tmp/easy_install-ZWLGxc/PasteDeploy-1.5.0/Paste-1.7.5.1-py2.7.egg

writing requirements to PasteDeploy.egg-info/requires.txt

writing PasteDeploy.egg-info/PKG-INFO

writing namespace_packages to PasteDeploy.egg-info/namespace_packages.txt

writing top-level names to PasteDeploy.egg-info/top_level.txt

writing dependency_links to PasteDeploy.egg-info/dependency_links.txt

writing entry points to PasteDeploy.egg-info/entry_points.txt

Traceback (most recent call last):

File "<string>", line 1, in <module>

File "/home/mjf/venv/build/PasteScript/setup.py", line 145, in <module>

'PasteDeploy',

File "/usr/lib/python2.7/distutils/core.py", line 152, in setup

dist.run_commands()

File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands

self.run_command(cmd)

File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/install.py", line 53, in run

return _install.run(self)

File "/usr/lib/python2.7/distutils/command/install.py", line 613, in run

self.run_command(cmd_name)

File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command

self.distribution.run_command(command)

File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/install_egg_info.py", line 29, in run

self.run_command('egg_info')

File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command

self.distribution.run_command(command)

File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/egg_info.py", line 171, in run

writer = ep.load(installer=installer)

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 1990, in load

if require: self.require(env, installer)

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 2003, in require

working_set.resolve(self.dist.requires(self.extras),env,installer))

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 576, in resolve

dist = best[req.key] = env.best_match(req, self, installer)

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 821, in best_match

return self.obtain(req, installer) # try and download/install

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 833, in obtain

return installer(requirement)

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/dist.py", line 294, in fetch_build_egg

return cmd.easy_install(req)

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/easy_install.py", line 585, in easy_install

return self.install_item(spec, dist.location, tmpdir, deps)

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/easy_install.py", line 615, in install_item

dists = self.install_eggs(spec, download, tmpdir)

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/easy_install.py", line 805, in install_eggs

return self.build_and_install(setup_script, setup_base)

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/easy_install.py", line 1082, in build_and_install

self.run_setup(setup_script, setup_base, args)

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/easy_install.py", line 1071, in run_setup

run_setup(setup_script, args)

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/sandbox.py", line 30, in run_setup

lambda: execfile(

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/sandbox.py", line 72, in run

return func()

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/sandbox.py", line 32, in <lambda>

{'__file__':setup_script, '__name__':'__main__'}

File "setup.py", line 63, in <module>

license='MIT',

File "/usr/lib/python2.7/distutils/core.py", line 152, in setup

dist.run_commands()

File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands

self.run_command(cmd)

File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/bdist_egg.py", line 172, in run

self.run_command("egg_info")

File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command

self.distribution.run_command(command)

File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/setuptools/command/egg_info.py", line 170, in run

for ep in iter_entry_points('egg_info.writers'):

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 485, in iter_entry_points

for dist in self:

File "/home/mjf/venv/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 511, in iter

for key in self.entry_keys[item]:

KeyError: '/tmp/easy_install-ZWLGxc/PasteDeploy-1.5.0/temp/easy_install-0lq1Q0/Paste-1.7.5.1'


Command /home/mjf/venv/bin/python -c "import setuptools;file='/home/mjf/venv/build/PasteScript/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-ppkKGL-record/install-record.txt --install-headers /home/mjf/venv/include/site/python2.7 failed with error code 1 Storing complete log in /home/mjf/.pip/pip.log

Comments (3)

  1. Anonymous

    I had the same problem, I was able to make a clean install in a virtualenv by running sequentially: pip install paste pip install pastedeploy pip install pastescript

    Not sure what the error was, but this gives a workaround and maybe can help debugging.

    Cheers,

    Urs

  2. Pior Bastida

    same here, same workaround:

     File "/tmp/xxx/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 511, in __iter__
    
         for key in self.entry_keys[item]:
    
    KeyError: '/tmp/easy_install-fUp_uf/Paste-1.7.5.1'
    
  3. Log in to comment