Skip to content

Instantly share code, notes, and snippets.

@fwenzel
Created November 4, 2014 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fwenzel/4cc97d8976821e8d9e4b to your computer and use it in GitHub Desktop.
Save fwenzel/4cc97d8976821e8d9e4b to your computer and use it in GitHub Desktop.
pyobjc 2.4 install error
running install_lib
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/fred/.virtualenvs/upshot/build/pyobjc-core/setup.py", line 492, in <module>
zip_safe = False,
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/fred/.virtualenvs/upshot/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install.py", line 585, in run
self.run_command(cmd_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/fred/.virtualenvs/upshot/lib/python2.7/site-packages/setuptools/command/install_lib.py", line 11, in run
outfiles = self.install()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install_lib.py", line 115, in install
outfiles = self.copy_tree(self.build_dir, self.install_dir)
File "/Users/fred/.virtualenvs/upshot/lib/python2.7/site-packages/setuptools/command/install_lib.py", line 88, in copy_tree
exclude = self.get_exclusions()
File "/Users/fred/.virtualenvs/upshot/build/pyobjc-core/setup.py", line 271, in get_exclusions
for fn in install_lib._install_lib.get_outputs(self):
AttributeError: 'module' object has no attribute '_install_lib'
----------------------------------------
Cleaning up...
Command /Users/fred/.virtualenvs/upshot/bin/python -c "import setuptools, tokenize;__file__='/Users/fred/.virtualenvs/upshot/build/pyobjc-core/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/8t/h66tn3rn3nl253h3cmct4s2r0000gq/T/pip-Kiz6_f-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/fred/.virtualenvs/upshot/include/site/python2.7 failed with error code 1 in /Users/fred/.virtualenvs/upshot/build/pyobjc-core
Storing debug log for failure in /Users/fred/.pip/pip.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment