Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get an ipython graphical console on Windows 7?

Tags:

ipython

Where can I find step-by-step instructions to install the modules required by ipython qtconsole in Windows 7 (64-bit)?

(Sorry for the brevity of this question. It would take literally hours for me to write down all the things I have attempted, and nearly as long for anyone to read it. I'll just note that everything that I have found even remotely related to pyqt4 seems extremely Unix-specific, with at most a cursory nod at what Windows users may try...)

like image 358
kjo Avatar asked Feb 16 '13 20:02

kjo


People also ask

How do I open IPython shell in Windows?

The easiest way is to run easy_install ipython[all] as an administrator (start button, type cmd , shift+right click on “cmd.exe” and select “Run as administrator”). This installs the latest stable version of IPython including the main required and optional dependencies.

How do I import IPython?

No more typing “import pandas as pd” 10 times a day Create a folder called startup if it's not already there. Add a new Python file called start.py. Put your favorite imports in this file. Launch IPython or a Jupyter Notebook and your favorite libraries will be automatically loaded every time!

How do I get to IPython?

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


2 Answers

After installing and adding Python paths to your Environment Variables:

Open Windows command line (cmd.exe) and run:

pip install ipython[all]

or as recommended by official site:

pip install qtconsole

After pip finished installing all the packages, you can start the ipython qtconsole by running:

ipython qtconsole

or

jupyter qtconsole
like image 126
Cao Minh Tu Avatar answered Oct 20 '22 16:10

Cao Minh Tu


I would suggest using a full package distribution like EPD (http://www.enthought.com/products/epd_free.php), which should work out of the box.

Otherwise the dependencies are

ZeroMQ, pyzmq, PySide or PyQt, and pygments,

And unfortunately we don't have enough users using windows to improve the install docs.

like image 42
Matt Avatar answered Oct 20 '22 17:10

Matt