Install IPython, qtconsole, and ipythonqtconsole in Python
I recently started to learn python, and I have been using IDLE. I used pycharm when I wrote a slightly larger program. I accidentally saw IPython on the Forum. It is said that it is very cool and I just installed it for fun, although the process was not so smooth, it was finally installed.
Let's talk about the author's computer environment: win7, python3.4.1
1. First, win + r open cmd.
2. Enter python-m pip list to view the python third-party package installed on the current computer (if it is linux, pip list is enough,Because pip in windows cannot identify paths with spaces, you need to add python-m)
3, and then directly python-m pip install IPython
In this way, IPython can be installed. Of course, if you are prompted about the missing package, you can directly install python-m pip. pip is indeed a very useful tool and it will find the required installation package by itself, very easy to use
After IPython is installed, how can I enable it? I have been tossing around for 10 minutes ...... According to the content I found on the Internet, you only need python-m ipython. The error "No module named ipython" is displayed, Nima,It took only half a day to discover the case-sensitivity issue., You need to type python-m IPython. below is the IPython installed by the author.
After installing IPython, I heard that IPython has a qtconsole which is more powerful. It is actually quite simple. However, to install the qtconsole, you need to install the following packages: pyreadline, pyzmq, pygments, and pyqt are simple to install in the first three packages. you can install python-m pip directly. The final pyqt does not seem to be able to be installed in this way, python-m easy_install cannot be installed either. You just need to go to the official website to find the installation package. Here
In fact, when I install python-m pip install qtconsole directly, prompting me to install which package is missing. This is more targeted than installing these packages with a stuffy head.
After the qtconsole is installed, run python-m IPython qtconsole in cmd to start the qtconsole. It is more comfortable than IPython.
After the qtconsole is installed, there seems to be another one.IPython NotebookBrowser-based, seemingly more advanced ...... Er ...... It seems that there are more things to install. I don't have that much time for the moment. In the past few days, I 'd like to play with the qtconsole and try out the power of IPython ~~~ I hope this article will help you!