Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

Help with OS X installation

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


redplusbluemakespurple at gmail

Nov 8, 2009, 8:57 AM

Post #1 of 4 (202 views)
Permalink
Help with OS X installation

I have python 2.6 on OS X 10.5.8:

$ python --version
Python 2.6.2

$ which python
/Library/Frameworks/Python.framework/Versions/2.6/bin/python

When installing an egg, python 2.5 shows up:

"""
$ sudo easy_install ipython-0.10-py2.6.egg
Password:
Processing ipython-0.10-py2.6.egg
removing '/Library/Python/2.5/site-packages/ipython-0.10-
py2.6.egg' (and everything under it)
creating /Library/Python/2.5/site-packages/ipython-0.10-py2.6.egg
Extracting ipython-0.10-py2.6.egg to /Library/Python/2.5/site-packages
"""

But 2.6 is not here:

$ ls /Library/Python
2.3/ 2.5/

Launching ipython happens with Python 2.5.1 though. Is there something
I did incorrectly when installing python 2.6?

Stephen
--
http://mail.python.org/mailman/listinfo/python-list


deets at nospam

Nov 8, 2009, 9:12 AM

Post #2 of 4 (190 views)
Permalink
Re: Help with OS X installation [In reply to]

stephen_b schrieb:
> I have python 2.6 on OS X 10.5.8:
>
> $ python --version
> Python 2.6.2
>
> $ which python
> /Library/Frameworks/Python.framework/Versions/2.6/bin/python
>
> When installing an egg, python 2.5 shows up:
>
> """
> $ sudo easy_install ipython-0.10-py2.6.egg
> Password:
> Processing ipython-0.10-py2.6.egg
> removing '/Library/Python/2.5/site-packages/ipython-0.10-
> py2.6.egg' (and everything under it)
> creating /Library/Python/2.5/site-packages/ipython-0.10-py2.6.egg
> Extracting ipython-0.10-py2.6.egg to /Library/Python/2.5/site-packages
> """
>
> But 2.6 is not here:
>
> $ ls /Library/Python
> 2.3/ 2.5/
>
> Launching ipython happens with Python 2.5.1 though. Is there something
> I did incorrectly when installing python 2.6?

You use the wrong easy_install - use easy_install-2.6.

Diez
--
http://mail.python.org/mailman/listinfo/python-list


benjamin.kaplan at case

Nov 8, 2009, 10:12 AM

Post #3 of 4 (186 views)
Permalink
Re: Help with OS X installation [In reply to]

On Sun, Nov 8, 2009 at 11:57 AM, stephen_b
<redplusbluemakespurple [at] gmail> wrote:
> I have  python 2.6 on OS X 10.5.8:
>
> $ python --version
> Python 2.6.2
>
> $ which python
> /Library/Frameworks/Python.framework/Versions/2.6/bin/python
>
> When installing an egg, python 2.5 shows up:
>
> """
> $ sudo easy_install ipython-0.10-py2.6.egg
> Password:
> Processing ipython-0.10-py2.6.egg
> removing '/Library/Python/2.5/site-packages/ipython-0.10-
> py2.6.egg' (and everything under it)
> creating /Library/Python/2.5/site-packages/ipython-0.10-py2.6.egg
> Extracting ipython-0.10-py2.6.egg to /Library/Python/2.5/site-packages
> """
>
> But 2.6 is not here:
>
> $ ls /Library/Python
> 2.3/ 2.5/
>
> Launching ipython happens with Python 2.5.1 though. Is there something
> I did incorrectly when installing python 2.6?
>

easy_install is not a part of Python- you have to download and install
setuptools yourself. You never installed setuptools for python2.6 so
the 2.5 version is still the default.

http://pypi.python.org/pypi/setuptools

> Stephen
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://mail.python.org/mailman/listinfo/python-list


redplusbluemakespurple at gmail

Nov 8, 2009, 7:18 PM

Post #4 of 4 (174 views)
Permalink
Re: Help with OS X installation [In reply to]

Thanks all. That did it.
--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.