public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Dustin C. Hatch" <admiralnemo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] IPython with Python3 - what magic am I missing?
Date: Thu, 20 Jun 2013 09:53:00 -0500	[thread overview]
Message-ID: <51C3174C.308@gmail.com> (raw)
In-Reply-To: <1371713499.31486.0@numa-i>

On 6/20/2013 02:31, Helmut Jarausch wrote:
> Hi,
>
> I'd like start IPython with Python3 as underlying Python interpretor.
> GenToo has some magic to invoke IPython which I don't understand.
>
> /usr/bin/ipython is a symlink to /usr/bin/python-exec which is a script
> invoking the binary /usr/bin/python-exec-c
>
> I don't have Python3 as standard Python version (too dangerous with
> Portage?)
>
> How can I convince IPython to use Python3?
>
> I've tried
> python3 /usr/lib64/python3.3/site-packages/spyderlib/widgets/ipython.py
> but hits just quits without any visible action.
>
> Many thanks for a hint,
> Helmut
>
If you built dev-python/ipython with PYTHON_TARGETS="python3_2", then 
there will be a /usr/bin/ipython-python3.2 script that will launch 
IPython with the Python 3.2 interpreter, even if the default Python 
implementation is 2.7.

-- 
♫Dustin
http://dustin.hatch.name/


  parent reply	other threads:[~2013-06-20 14:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-20  7:31 [gentoo-user] IPython with Python3 - what magic am I missing? Helmut Jarausch
2013-06-20  7:49 ` Mateusz Kowalczyk
2013-06-20 12:16   ` Dale
2013-06-20 12:32     ` Adam Carter
2013-06-20 13:14     ` Neil Bothwick
2013-06-20 17:29       ` Dale
2013-06-20 14:53 ` Dustin C. Hatch [this message]
2013-06-21  8:41   ` Helmut Jarausch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51C3174C.308@gmail.com \
    --to=admiralnemo@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox