<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.csi.cuny.edu/cunyhpc/index.php?action=history&amp;feed=atom&amp;title=PYTHON</id>
	<title>PYTHON - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.csi.cuny.edu/cunyhpc/index.php?action=history&amp;feed=atom&amp;title=PYTHON"/>
	<link rel="alternate" type="text/html" href="https://wiki.csi.cuny.edu/cunyhpc/index.php?title=PYTHON&amp;action=history"/>
	<updated>2026-08-10T11:34:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://wiki.csi.cuny.edu/cunyhpc/index.php?title=PYTHON&amp;diff=100&amp;oldid=prev</id>
		<title>James: Created page with &quot;On Penzias Python is provided as a part of development package Anaconda/Miniconda. Anaconda distribution includes libraries (i.e. numpy) while miniconda is empty shell which can accommodate various packages. In general there are 2 supported versions of Python installed on Penzias system:  *Python 2.7.13 which can be accessed by loading module python/2.7.13_anaconda *Python 3.6     which can be accessed by loading module python/3.6.0_anaconda  The same versions of Python...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.csi.cuny.edu/cunyhpc/index.php?title=PYTHON&amp;diff=100&amp;oldid=prev"/>
		<updated>2022-10-20T20:16:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;On Penzias Python is provided as a part of development package Anaconda/Miniconda. Anaconda distribution includes libraries (i.e. numpy) while miniconda is empty shell which can accommodate various packages. In general there are 2 supported versions of Python installed on Penzias system:  *Python 2.7.13 which can be accessed by loading module python/2.7.13_anaconda *Python 3.6     which can be accessed by loading module python/3.6.0_anaconda  The same versions of Python...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;On Penzias Python is provided as a part of development package Anaconda/Miniconda. Anaconda distribution includes libraries (i.e. numpy) while miniconda is empty shell which can accommodate various packages.&lt;br /&gt;
In general there are 2 supported versions of Python installed on Penzias system:&lt;br /&gt;
&lt;br /&gt;
*Python 2.7.13 which can be accessed by loading module python/2.7.13_anaconda&lt;br /&gt;
*Python 3.6     which can be accessed by loading module python/3.6.0_anaconda&lt;br /&gt;
&lt;br /&gt;
The same versions of Python can be accessed via miniconda builds but no extra modules will be automatically available (i.e. numpy, pandas etc.)&lt;br /&gt;
&lt;br /&gt;
*Python 2.7.13 only can be accessed by loading module python/miniconda2&lt;br /&gt;
*Python 2.7.13 only can be accessed by loading module python/miniconda3&lt;br /&gt;
&lt;br /&gt;
When using miniconda builds users have to have all needed python modules installed in their own space (see below). &lt;br /&gt;
&lt;br /&gt;
In order to make Python binaries available user needs to load corresponding module:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load python/2.7.13_anaconda&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(for version 2.7.13) or&lt;br /&gt;
for version 3.6.0&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load python/3.6.0_anaconda &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
After the module is loaded Python interpreter can be simply called by &amp;quot;python&amp;quot; command. &lt;br /&gt;
&lt;br /&gt;
Versions 2.7.3-2.7.11 are installed as Enthought Python Distribution [http://www.enthought.com/products/epd.php]. EPD contains over 100 libraries such as SciPy, NumPy, matplotlib, IPython, PyTables, PIL, wxPython, etc... The Version 2.7.13 is installed as ANACONDA build and also supports more than 100 Python libraries. In addition the ANACONDA distribution is compiled with OpenMPI support (&amp;#039;&amp;#039;&amp;#039;module for openmpi/1.8.4_intel must be loaded&amp;#039;&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;p style=&amp;quot;font-size:17px;&amp;quot; &amp;gt;Installing Python packages&amp;lt;/p&amp;gt;&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&lt;br /&gt;
Users may install python packages/modules in their own space.  Many packages available in Python repositories can be installed easily with PIP manager, which is available  in any of Anaconda and Miniconda builds.&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
Users must remember that using PIP without first loading the module for python will cause the installed modules to match system python on login node only. However the python interpreter available (after login module) on all nodes is installed in /share/usr/compilers/python space. Thus when installing packages in user space it is very important to follow the procedure outlined below. The given example demonstrates how users can install package &amp;quot;guppy&amp;quot; in their own space:&lt;br /&gt;
&lt;br /&gt;
For Python 2.7.13 in Anaconda build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load python/2.7.13_anaconda&lt;br /&gt;
pip install guppy --user&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Python 3.6.0 in Anaconda build&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load python/3.6.0_anaconda&lt;br /&gt;
pip install guppy --user&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Python 2.7.13 in Miniconda&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load python/miniconda2&lt;br /&gt;
pip install guppy --user&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For Python 3.6.0 in Miniconda 3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load python/miniconda3&lt;br /&gt;
pip install guppy --user&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To check if the package is properly installed type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pip list | grep guppy&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
</feed>