Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
MASTERING PYCHARM

You're reading from   MASTERING PYCHARM Use PyCharm with fluid efficiency to write idiomatic python code

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781783551316
Length 232 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Nafiul Islam Nafiul Islam
Author Profile Icon Nafiul Islam
Nafiul Islam
Arrow right icon
View More author details
Toc

Setting up IPython Notebook


Support for the IPython Notebook is one of PyCharm's newer additions. Before we can do anything, we need to make sure that IPython is installed as one of our packages in the interpreter. Unfortunately, if we install IPython through PyCharm's package installer, all the requirements will not be installed. So, the best way to install IPython is through the following command line:

pip install ipython[all]

This will install IPython and all its requirements. Now, we can create a new notebook with the extension of .ipynb, and PyCharm will recognize this. If all the requirements are not installed, PyCharm will complain that the connection to the server is being refused. Once we make a .ipynb file, we will see a different interface from other Python files.

This is just like the IPython Notebook interface that we're used to. The only difference is that we can now get code completion too.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime