Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Switching to ipython for python3?

Tags:

python

ipython

I have python 2.7 and python3 installed on my machine along with ipython. I wanna use Ipython with python3 by default its taking python 2.7. Whats the Process to use ipython with python 3.

like image 368
Anurag Avatar asked Dec 21 '13 20:12

Anurag


People also ask

Does IPython work with Python 3?

IPython supports Python 2.7 and 3.3 or newer.

Is IPython deprecated?

By default, this was Python. The IPython console is now deprecated and if you want to start it, you'll need to use the Jupyter Console, which is a terminal-based console frontend for Jupyter kernels.

What is the difference between Python and IPython?

The ease of use of Python and its dynamic nature make it a very productive language. IPython is an interactive command-line terminal for Python. It was created by Fernando Perez in 2001. IPython offers an enhanced read-eval-print loop (REPL) environment particularly well adapted to scientific computing.

How do I activate IPython?

You start IPython by typing “ipython” in your terminal. $ ipython Python 2.7.


2 Answers

Why don't you try this:

ipython3
like image 138
U2EF1 Avatar answered Oct 05 '22 03:10

U2EF1


I had to apt-get install ipython3, on Linux Mint, which is similar to Debian and Ubuntu.

If you're on a Redhat-like OS, you may have something similar for yum.

like image 31
dstromberg Avatar answered Oct 05 '22 04:10

dstromberg