Skip to content

Instantly share code, notes, and snippets.

@dstufft
Created June 11, 2013 16:31
Show Gist options
  • Save dstufft/5758377 to your computer and use it in GitHub Desktop.
Save dstufft/5758377 to your computer and use it in GitHub Desktop.
$ mktmpenv --distribute
New python executable in 4a1de450ddbecc12/bin/python
Installing distribute...........................................................................................................................................................................................................................done.
Installing pip................done.
This is a temporary environment. It will be deleted when you run 'deactivate'.
$ pip --version
pip 1.3.1 from /Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg (python 2.7)
$ easy_install --version
distribute 0.6.34
$ pip install python-keystoneclient
Downloading/unpacking python-keystoneclient
Using download cache from /Users/dstufft/.pip/cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpython-keystoneclient%2Fpython-keystoneclient-0.2.5.tar.gz
Running setup.py egg_info for package python-keystoneclient
Requirement already satisfied (use --upgrade to upgrade): distribute<0.7 in /Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg
Downloading/unpacking d2to1>=0.2.10,<0.3
Using download cache from /Users/dstufft/.pip/cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fd%2Fd2to1%2Fd2to1-0.2.10.tar.gz
Running setup.py egg_info for package d2to1
[d2to1] running patched manifest_maker command with extra_files support
Installing collected packages: d2to1
Running setup.py install for d2to1
[d2to1] running patched manifest_maker command with extra_files support
Successfully installed d2to1
Cleaning up...
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
zip_safe flag not set; analyzing archive contents...
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/build/python-keystoneclient/setup.py", line 21, in <module>
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/dist.py", line 221, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/dist.py", line 245, in fetch_build_eggs
parse_requirements(requires), installer=self.fetch_build_egg
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 586, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 831, in best_match
return self.obtain(req, installer) # try and download/install
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 843, in obtain
return installer(requirement)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/dist.py", line 295, in fetch_build_egg
return cmd.easy_install(req)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/easy_install.py", line 598, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/easy_install.py", line 628, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/easy_install.py", line 823, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/easy_install.py", line 1103, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/easy_install.py", line 1089, in run_setup
run_setup(setup_script, args)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/sandbox.py", line 53, in run_setup
os.chdir(old_dir)
OSError: [Errno 2] No such file or directory: '/Users/dstufft/.virtualenvs/4a1de450ddbecc12/build/python-keystoneclient'
Complete output from command python setup.py egg_info:
Requirement already satisfied (use --upgrade to upgrade): distribute<0.7 in /Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg
Downloading/unpacking d2to1>=0.2.10,<0.3
Using download cache from /Users/dstufft/.pip/cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fd%2Fd2to1%2Fd2to1-0.2.10.tar.gz
Running setup.py egg_info for package d2to1
[d2to1] running patched manifest_maker command with extra_files support
Installing collected packages: d2to1
Running setup.py install for d2to1
[d2to1] running patched manifest_maker command with extra_files support
Successfully installed d2to1
Cleaning up...
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
zip_safe flag not set; analyzing archive contents...
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/build/python-keystoneclient/setup.py", line 21, in <module>
File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/dist.py", line 221, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/dist.py", line 245, in fetch_build_eggs
parse_requirements(requires), installer=self.fetch_build_egg
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 586, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 831, in best_match
return self.obtain(req, installer) # try and download/install
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 843, in obtain
return installer(requirement)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/dist.py", line 295, in fetch_build_egg
return cmd.easy_install(req)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/easy_install.py", line 598, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/easy_install.py", line 628, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/easy_install.py", line 823, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/easy_install.py", line 1103, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/command/easy_install.py", line 1089, in run_setup
run_setup(setup_script, args)
File "/Users/dstufft/.virtualenvs/4a1de450ddbecc12/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/setuptools/sandbox.py", line 53, in run_setup
os.chdir(old_dir)
OSError: [Errno 2] No such file or directory: '/Users/dstufft/.virtualenvs/4a1de450ddbecc12/build/python-keystoneclient'
----------------------------------------
Command python setup.py egg_info failed with error code 1 in /Users/dstufft/.virtualenvs/4a1de450ddbecc12/build/python-keystoneclient
Storing complete log in /Users/dstufft/.pip/pip.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment