1. Ronald Oussoren
  2. pyobjc
  3. Issues


Issue #19 resolved

InterfaceBuilderKit fails to install with python.org 3.3.0

Andrew Barnert
created an issue

I initially just tried to pip install out of hg, but that failed. So I pulled a local snapshot, and pip installed the individual subprojects one by one.

(If I remember right, just doing Cocoa, Quartz, CoreText, then the rest in alphabetical order is sufficient. If not, the error from getting the order wrong is obvious.)

The only one that fails is pyobjc-framework-InterfaceBuilderKit: {{{


$ sudo pip-3.3 install ./pyobjc-framework-InterfaceBuilderKit/ Unpacking ./pyobjc-framework-InterfaceBuilderKit Running setup.py egg_info for package from file:///Users/abarnert/src/bitbucket/pyobjc/pyobjc-framework-InterfaceBuilderKit

Requirement already satisfied (use --upgrade to upgrade): pyobjc-core>=2.4a0 in /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/PyObjC (from pyobjc-framework-InterfaceBuilderKit==2.4a0) Requirement already satisfied (use --upgrade to upgrade): pyobjc-framework-Cocoa>=2.4a0 in /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages (from pyobjc-framework-InterfaceBuilderKit==2.4a0) Installing collected packages: pyobjc-framework-InterfaceBuilderKit Running setup.py install for pyobjc-framework-InterfaceBuilderKit usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help

error: option --single-version-externally-managed not recognized
Complete output from command /usr/local/bin/python3.3 -c "import setuptools;__file__='/tmp/pip-o5w33a-build/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-_4rp13-record/install-record.txt --single-version-externally-managed:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

or: -c --help [cmd1 cmd2 ...]

or: -c --help-commands

or: -c cmd --help

error: option --single-version-externally-managed not recognized

Command /usr/local/bin/python3.3 -c "import setuptools;file='/tmp/pip-o5w33a-build/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-_4rp13-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-o5w33a-build Storing complete log in /Users/abarnert/.pip/pip.log }}}

There doesn't seem to be anything useful in that log file, but I can upload it if you want.

I don't actually need InterfaceBuilderKit, and everything else installed properly, so this isn't hugely important to me. But it would be nice to be able to pip install the whole thing in one step.

Comments (3)

  1. Ronald Oussoren repo owner

    The installation works for me in the current tip of the tree.

    Pip install of the entire repository won't work because the repository contains a number of Python packages (there is no setup.py at the toplevel, but only in a number of subpackages).

    There will be a release any day now, which would make it possible again to install an up-to-date version of PyObjC from the cheese shop.

  2. Log in to comment