Anonymous user
Columbus Python Workshop 1/Friday/Linux set up Python: Difference between revisions
Columbus Python Workshop 1/Friday/Linux set up Python (view source)
Revision as of 00:20, 19 January 2013
, 11 years ago→Set up IPython
imported>Catherinedevlin (Created page with "Linux ships with Python installed, so the goal of this page is to make sure you can start a terminal and run Python from the command line. <ol> <li>Start up a Terminal. You ...") |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 32:
</pre>
and press Enter. This will take you back to the Linux command prompt. You can also use Ctrl+D to exit the Python interpreter.</li>
</ol>
You might need to install a package called python-tk.
== Set up IPython ==
At the Terminal window for Debian based Linuxes, type
<pre>sudo apt-get install python-setuptools</pre>
or for Red Hat based distros (will need root permissions)
<pre>yum install python-setuptools</pre>
then type
<pre>sudo easy_install distribute pip</pre>
and, finally,
<pre>sudo pip install pyreadline ipython tornado pyzmq ipython-notebook ipython_doctester</pre>
Verify that IPython Notebook is ready by typing
<pre>ipython notebook</pre>
Your browser should come up with a tab reading "IP[y]:Notebook".
'''Success!'''
|