ipython3 port not working ?

Chris Jones jonesc at hep.phy.cam.ac.uk
Tue Dec 4 12:49:09 PST 2012


Hi,

py33-ipython  installs and runs fine for me

Chris-Jones-Macbook-Pro ~ > sudo port install py33-ipython
--->  Computing dependencies for py33-ipython
--->  Dependencies to be installed: py33-distribute python33 py33-readline
--->  Fetching archive for python33
--->  Attempting to fetch python33-3.3.0_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/python33
--->  Attempting to fetch python33-3.3.0_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/python33
--->  Attempting to fetch python33-3.3.0_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/python33
--->  Fetching distfiles for python33
--->  Attempting to fetch Python-3.3.0.tar.xz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/python33
--->  Verifying checksum(s) for python33
--->  Extracting python33
--->  Applying patches to python33
--->  Configuring python33
--->  Building python33
--->  Staging python33 into destroot
--->  Installing python33 @3.3.0_0
--->  Activating python33 @3.3.0_0

To make python 3.3 the default (i.e. the version you get when you run 'python'), please run:

sudo port select --set python python33

--->  Cleaning python33
--->  Fetching archive for py33-distribute
--->  Attempting to fetch py33-distribute-0.6.32_0.darwin_12.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py33-distribute
--->  Attempting to fetch py33-distribute-0.6.32_0.darwin_12.noarch.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py33-distribute
--->  Installing py33-distribute @0.6.32_0
--->  Activating py33-distribute @0.6.32_0
--->  Cleaning py33-distribute
--->  Fetching archive for py33-readline
--->  Attempting to fetch py33-readline-6.2.2_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py33-readline
--->  Attempting to fetch py33-readline-6.2.2_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/py33-readline
--->  Attempting to fetch py33-readline-6.2.2_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/py33-readline
--->  Fetching distfiles for py33-readline
--->  Attempting to fetch readline-6.2.2.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/py-readline
--->  Verifying checksum(s) for py33-readline
--->  Extracting py33-readline
--->  Applying patches to py33-readline
--->  Configuring py33-readline
--->  Building py33-readline
--->  Staging py33-readline into destroot
--->  Installing py33-readline @6.2.2_0
--->  Activating py33-readline @6.2.2_0
--->  Cleaning py33-readline
--->  Fetching archive for py33-ipython
--->  Attempting to fetch py33-ipython-0.13_1.darwin_12.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py33-ipython
--->  Attempting to fetch py33-ipython-0.13_1.darwin_12.noarch.tbz2 from http://lil.fr.packages.macports.org/py33-ipython
--->  Attempting to fetch py33-ipython-0.13_1.darwin_12.noarch.tbz2 from http://packages.macports.org/py33-ipython
--->  Fetching distfiles for py33-ipython
--->  Attempting to fetch ipython-0.13.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/py-ipython
--->  Verifying checksum(s) for py33-ipython
--->  Extracting py33-ipython
--->  Applying patches to py33-ipython
--->  Configuring py33-ipython
--->  Building py33-ipython
--->  Staging py33-ipython into destroot
--->  Installing py33-ipython @0.13_1
--->  Activating py33-ipython @0.13_1

To make the Python 3.3 version of IPython the one that is run when you execute the commands without a version suffix, e.g.
'ipython', run:

port select --set ipython ipython33

--->  Cleaning py33-ipython
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.
Chris-Jones-Macbook-Pro ~ > sudo port select --set ipython ipython33
Password:
Selecting 'ipython33' for 'ipython' succeeded. 'ipython33' is now active.
Chris-Jones-Macbook-Pro ~ > iypthon
-bash: iypthon: command not found
Chris-Jones-Macbook-Pro ~ > ipython
Python 3.3.0 (default, Dec  4 2012, 20:42:55) 
Type "copyright", "credits" or "license" for more information.

IPython 0.13 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: 
Do you really want to exit ([y]/n)? y

Chris

On 4 Dec 2012, at 6:25pm, Trémouilles David <david.trem at gmail.com> wrote:

> Maybe I was not precise enough. I meant py33-ipython
> ipython version for python33.  Are your running precisely
> this version with the few patches you mentioned ?
> 
> Thanks,
> 
> David
> 
> Le 04/12/12 07:50, Sean Farley a écrit :
>> On Mon, Dec 3, 2012 at 11:06 PM, Trémouilles David <david.trem at gmail.com> wrote:
>>> Hello,
>>> 
>>> Is ipython3 working for you ?
>> I have a few patches that update ipython to 0.13.1 and correctly fixes
>> a missing py-matplotlib dependency. That might be what you're seeing
>> here, but I'm not 100% sure. (I'll be sending these patches tomorrow, hopefully)
>> 
>>> I "sudo install py33-ipython" without any issue but
>>> when I try to launch ipython3 I get an error:
>>> ~ $ ipython3-3.3
>>> -bash: /opt/local/bin/ipython3-3.3:
>>> /Volumes/work/macports/Library/Frameworks/Python.framework/Versions/3.3/bin/py:
>>> bad interpreter: No such file or directory
>> This looks odd to me: /Volumes/work/macports. You have
>> /opt/local/bin/ipython3-3.3 installed but it's looking for something
>> in /Volumes/.../macports?
> 
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2030 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20121204/e8a06361/attachment.p7s>


More information about the macports-users mailing list