Re: Problem installing pyobjc

Nicholas Cole <[email protected]>
Newsgroups gmane.comp.python.apple
Message-ID <CAAu18hc2FXChYO2vDt4KAVTNigCpOPyV17P2gN3pm=tdn38B-Q@mail.gmail.com>
On Tue, Jul 30, 2013 at 2:38 PM, Ronald Oussoren <[email protected]>wrote:

>
> On 30 Jul, 2013, at 15:09, Nicholas Cole <[email protected]> wrote:
>
> > Dear List,
> >
> > I am having trouble installing pyobjc.  I've tried three things:
> >
> > # python --version
> > Python 2.7.3rc1
>
> Not that it is related to your problem, but why do you use an old
> prerelease version of python? The current release is 2.7.5.


You are quite right.  This is not my main machine but a spare and I haven't
updated the python on it.  If only apt-get update-all worked on the Mac. ;-)

[snip]


> > # python setup.py install
> > Traceback (most recent call last):
> >   File "setup.py", line 32, in <module>
> >     import distribute_setup
> > ImportError: No module named distribute_setup
> > bash-3.2#
>
> Oops, it looks like the source archive is not complete.  The workaround is
> to first install setuptools, does "python -c 'import setuptools'" work?
>

It didn't and then I updated setuptools.

However the build still fails with:

copying PyObjCTest/test_weakref.py ->
build/lib.macosx-10.6-intel-2.7/PyObjCTest
running build_ext
error: No such file or directory
bash-3.2#

_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.