[Distutils] total uninstall of setuptool on MacOS X by consequence of manual install

Arturo Rinaldi arty.net2 at gmail.com
Wed May 16 07:46:07 CEST 2012


Yes you're very right but since i Install other ports having python27 as
dependency, i usually do

sudo port select --set python python27

Doing so my default Python2.7 version becomes 2.7.3, and then I can Install
py27-numpy, py27-scipy and so on......

Arturo

Il giorno mercoledì 16 maggio 2012, Ned Deily ha scritto:

> In article <4FB2FAE9.7020901 at gmail.com <javascript:;>>,
>  Arturo Rinaldi <arty.net2 at gmail.com <javascript:;>> wrote:
> > I finally see ! So these were my last steps :
> >
> > $ sudo sh setuptools-0.6c11-py2.7.egg
> > $ sudo easy_install -m setuptools
> >
> > sudo rm /Library/Python/2.7/site-packages/setuptools.pth
> > sudo rm /Library/Python/2.7/site-packages/setuptools-0.6c11-py2.7.egg
> > sudo rm /usr/local/bin/easy_install
> > sudo rm /usr/local/bin/easy_install-2.7
> >
> > in a few words, I removed all the stuff installed in the first step
> > (and that apperead in the stdout)....is it all right now ? In the
> > future i will only use the python-packages built with macports (i.e.
> > py27-numpy). I asked help because I was very confused with all that
> > stuff....thx very much for replying me so soon.
>
> Well, removing those files won't hurt but, if you set your PATH as
> suggested, it shouldn't make any difference either.  The MacPorts files
> are installed in a completely separate location and one of the
> advantages of OS X Python framework installs is that multiple versions
> can co-exist on the same system without interfering with each other.
>
> --
>  Ned Deily,
>  nad at acm.org <javascript:;>
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org <javascript:;>
> http://mail.python.org/mailman/listinfo/distutils-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20120516/a17c542a/attachment.html>


More information about the Distutils-SIG mailing list