1 |
On 6/20/2013 02:31, Helmut Jarausch wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I'd like start IPython with Python3 as underlying Python interpretor. |
5 |
> GenToo has some magic to invoke IPython which I don't understand. |
6 |
> |
7 |
> /usr/bin/ipython is a symlink to /usr/bin/python-exec which is a script |
8 |
> invoking the binary /usr/bin/python-exec-c |
9 |
> |
10 |
> I don't have Python3 as standard Python version (too dangerous with |
11 |
> Portage?) |
12 |
> |
13 |
> How can I convince IPython to use Python3? |
14 |
> |
15 |
> I've tried |
16 |
> python3 /usr/lib64/python3.3/site-packages/spyderlib/widgets/ipython.py |
17 |
> but hits just quits without any visible action. |
18 |
> |
19 |
> Many thanks for a hint, |
20 |
> Helmut |
21 |
> |
22 |
If you built dev-python/ipython with PYTHON_TARGETS="python3_2", then |
23 |
there will be a /usr/bin/ipython-python3.2 script that will launch |
24 |
IPython with the Python 3.2 interpreter, even if the default Python |
25 |
implementation is 2.7. |
26 |
|
27 |
-- |
28 |
♫Dustin |
29 |
http://dustin.hatch.name/ |