{"id":1777,"date":"2013-04-04T09:40:11","date_gmt":"2013-04-04T08:40:11","guid":{"rendered":"http:\/\/blogs.ukoln.ac.uk\/ukolndev\/?p=1777"},"modified":"2013-05-10T14:43:22","modified_gmt":"2013-05-10T14:43:22","slug":"installation-notes-on-ipython-notebook","status":"publish","type":"post","link":"https:\/\/www.emmatonkin.com\/ukolndev\/2013\/04\/04\/installation-notes-on-ipython-notebook\/","title":{"rendered":"Installation notes on ipython-notebook"},"content":{"rendered":"<p>ipython-notebook is a nice piece of kit, a sort of user-friendly pocket web interface slash gui for mucking around with Python. According to the official site, it&#8217;s &#8220;a web-based interactive computational environment where you can combine code execution, text, mathematics, plots and rich media into a single document&#8221;. More introductory information is available <a href=\"http:\/\/ipython.org\/notebook.html\">here<\/a> (along with some very pretty screenshots).<\/p>\n<p>I like the idea of it, not so much for development work but for data analysis and worked demonstration. For something to share it certainly beats a command-line session.<\/p>\n<p>It looks rather like this:<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/www.emmatonkin.com\/ukolndev\/wp-content\/uploads\/sites\/2\/2013\/04\/python-notebook1.png\"><img loading=\"lazy\" class=\" wp-image-1778 aligncenter\" alt=\"python-notebook\" src=\"http:\/\/www.emmatonkin.com\/ukolndev\/wp-content\/uploads\/sites\/2\/2013\/04\/python-notebook1.png\" width=\"653\" height=\"268\" \/><\/a><\/p>\n<p style=\"text-align: left;\">I encountered it during an e-Humanities workshop yesterday and I&#8217;m already itching to play with it again.<\/p>\n<p style=\"text-align: left;\">Getting it to install on Slackware involved a few steps. There are probably better ways, but here&#8217;s how I did it, based more or less on <a href=\"http:\/\/raj.blog.archive.org\/2012\/02\/02\/installing-ipython-notebook-to-replace-matlab\/\">http:\/\/raj.blog.archive.org\/2012\/02\/02\/installing-ipython-notebook-to-replace-matlab\/<\/a>:<\/p>\n<p style=\"text-align: left;\">Step 0: optional. Open sbopkg as root. Search for and install python3. Version 2.6 works with the ipython-notebook but 3 likes sets and UTF8 better.<br \/>\nStep 1: curl -O http:\/\/python-distribute.org\/distribute_setup.py<br \/>\nStep 2: sudo python distribute_setup.py<br \/>\nStep 3: easy_install pip<br \/>\nStep 4: Now that you have pip, you can follow the latter part of the blog post above:<\/p>\n<pre>Open sbopkg as root. Search for and install zeromq.<\/pre>\n<p>For the moment, install libpgm-5.1.116~dfsg from source (tar xvfz libpgm-5.1.116~dfsg.tar.gz; .\/configure; make; make install).<\/p>\n<pre>pip install ipython<\/pre>\n<pre>pip install pyzmq\r\npip install tornado\r\npip install --upgrade ipython\r\npip install numpy\r\npip install matplotlib\r\nFollow the configuration instructions described in the blog post.<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>ipython-notebook is a nice piece of kit, a sort of user-friendly pocket web interface slash gui for mucking around with Python. According to the official site, it&#8217;s &#8220;a web-based interactive computational environment where you can combine code execution, text, mathematics, plots and rich media into a single document&#8221;. More introductory information is available here (along [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.emmatonkin.com\/ukolndev\/wp-json\/wp\/v2\/posts\/1777"}],"collection":[{"href":"https:\/\/www.emmatonkin.com\/ukolndev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.emmatonkin.com\/ukolndev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.emmatonkin.com\/ukolndev\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.emmatonkin.com\/ukolndev\/wp-json\/wp\/v2\/comments?post=1777"}],"version-history":[{"count":2,"href":"https:\/\/www.emmatonkin.com\/ukolndev\/wp-json\/wp\/v2\/posts\/1777\/revisions"}],"predecessor-version":[{"id":1788,"href":"https:\/\/www.emmatonkin.com\/ukolndev\/wp-json\/wp\/v2\/posts\/1777\/revisions\/1788"}],"wp:attachment":[{"href":"https:\/\/www.emmatonkin.com\/ukolndev\/wp-json\/wp\/v2\/media?parent=1777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.emmatonkin.com\/ukolndev\/wp-json\/wp\/v2\/categories?post=1777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.emmatonkin.com\/ukolndev\/wp-json\/wp\/v2\/tags?post=1777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}