{"id":107,"date":"2014-01-17T11:22:59","date_gmt":"2014-01-17T11:22:59","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/icsf\/?page_id=107"},"modified":"2023-11-22T16:40:45","modified_gmt":"2023-11-22T16:40:45","slug":"anaconda-python","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/software\/applications\/anaconda-python\/","title":{"rendered":"Anaconda Scientific Python Distribtuion"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>Anaconda is a completely free enterprise-ready Python distribution for large-scale data processing, predictive analytics, and scientific computing general-purpose statistical software package. It has 100+ of the most popular Python packages for science, math, engineering, data analysis.<\/p>\n<p>Anaconda3 versions 2019.07 5.0.1 &#038; 2.3.0 are available <\/p>\n<p>The following versions prior to Anaconda3 are also available 2.5.0, 2.3.0, 2.1.0 and 1.9.2, 1.9.1 and 1.8.0.<\/p>\n<p>Please consult the <a href=\"http:\/\/docs.continuum.io\/anaconda\/pkgs.html\">list of packages<\/a> for details of what is available in the most recent version or on the iCSF (after loading the one you wish to use) type:<\/p>\n<pre>\r\nconda list\r\n<\/pre>\n<p>Note: none of the python 2.6 or python 3.3 packages have been installed.<\/p>\n<h2>Restrictions on Use<\/h2>\n<p>None, but all users should read the <a href=\"http:\/\/docs.continuum.io\/anaconda\/eula.html\">End User License Agreement<\/a> before using the software.<\/p>\n<h2>Set up procedure<\/h2>\n<p>Load the modulefile for the version you wish to use:<\/p>\n<pre>\r\n                                               # Version of Python provided\r\nmodule load apps\/binapps\/anaconda3\/2019.07     # 3.7.3\r\nmodule load apps\/binapps\/anaconda3\/5.0.1       # 3.6.3\r\nmodule load apps\/binapps\/anaconda3\/2.3.0       # 3.4.5\r\nmodule load apps\/binapps\/anaconda\/2.5.0        # 2.7.14\r\nmodule load apps\/binapps\/anaconda\/2.3.0        # 2.7.13\r\nmodule load apps\/binapps\/anaconda\/2.1.0        # 2.7.8\r\nmodule load apps\/binapps\/anaconda\/1.9.2        # 2.7.6\r\nmodule load apps\/binapps\/anaconda\/1.9.1        # 2.7.6\r\nmodule load apps\/binapps\/anaconda\/1.8.0        # 2.7.5\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p>Having loaded the appropriate modulefile you can create python scripts using your preferred editor and then run them using:<\/p>\n<pre>\r\npython mycode.py\r\n<\/pre>\n<p>where <code>mycode.py<\/code> is the name of your script\/program.<\/p>\n<p>If you then move your code to the CSF you will need to run it in batch via a job submission script.<\/p>\n<h2>Adding packages<\/h2>\n<p><!---You will need to set the following variables on the command line before proceeding:\n\n\n<pre>\r\nexport http_proxy=http:\/\/webproxy.its.manchester.ac.uk:3128\r\nexport https_proxy=http:\/\/webproxy.its.manchester.ac.uk:3128\r\n<\/pre>\n\n\n--><\/p>\n<h3>Anaconda packages<\/h3>\n<p>To see what is already installed:<\/p>\n<pre>\r\nconda list\r\n<\/pre>\n<p>To see if a package is available<\/p>\n<pre>\r\nconda list package\r\n<\/pre>\n<p>where <code>package<\/code> is replaced with the name of the package you want. If the package is listed as available for install please contact: <a href=\"m&#97;&#x69;&#x6c;&#x74;o&#58;&#x69;&#x74;&#x73;-&#114;&#x69;&#x2d;&#x74;e&#97;&#x6d;&#x40;&#x6d;a&#110;&#x63;&#x68;&#x65;s&#116;&#x65;&#x72;&#x2e;a&#99;&#x2e;&#x75;&#x6b;\">i&#116;&#115;&#x2d;&#x72;&#x69;&#x2d;t&#101;&#97;&#109;&#x40;&#x6d;&#x61;nc&#104;&#101;&#x73;&#x74;&#x65;r&#46;&#97;&#99;&#x2e;&#x75;&#x6b;<\/a> and we will try to add it to the central installation.<\/p>\n<h3>pip\/pypi installation<\/h3>\n<pre>\r\npip install --user package\r\n<\/pre>\n<p>where <code>package<\/code> is replaced with the name of the package you want. This will install the package to a hidden directory called <code>.local<\/code> in your home directory. It should be automatically picked up by python, you can test thus:<\/p>\n<pre>\r\npython\r\nimport package\r\nhelp (package)\r\n<\/pre>\n<h2>Further information<\/h2>\n<ul>\n<li><a href=\"http:\/\/docs.continuum.io\/anaconda\/index.html\">Anaconda Python documentation, FAQ, mailing list etc<\/a><\/li>\n<li>IT Services runs an <a href=\"http:\/\/wiki.rac.manchester.ac.uk\/community\/Courses\">Introduction to numerical computing with Python<\/a> workshop approximately three times a year.<\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>2.5.0 installed Nov 2017<br \/>\n2.1.0 installed Dec 2014.<br \/>\n1.9.2 installed July 2014.<br \/>\n1.9.1 installed 27th Feb 2014.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Anaconda is a completely free enterprise-ready Python distribution for large-scale data processing, predictive analytics, and scientific computing general-purpose statistical software package. It has 100+ of the most popular Python packages for science, math, engineering, data analysis. Anaconda3 versions 2019.07 5.0.1 &#038; 2.3.0 are available The following versions prior to Anaconda3 are also available 2.5.0, 2.3.0, 2.1.0 and 1.9.2, 1.9.1 and 1.8.0. Please consult the list of packages for details of what is available in.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/software\/applications\/anaconda-python\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":43,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-107","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/comments?post=107"}],"version-history":[{"count":20,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages\/107\/revisions"}],"predecessor-version":[{"id":1259,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages\/107\/revisions\/1259"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages\/43"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/media?parent=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}