User Tools

Site Tools


python-software

This is an old revision of the document!


Table of Contents

python

Python programming language.

Information

Usage

See versions of python which are available:

$ module avail python

Load a particular version:

$ module load python/3.6.2

Installation

Notes from the sysadmin during installation:

$ cd /tmp
$ wget https://www.python.org/ftp/python/3.6.2/Python-3.6.2.tar.xz
$ tar xf Python-3.6.2.tar.xz
$ cd Python-3.6.2
$ scl enable devtoolset-4 bash
$ ./configure --prefix=/export/apps/python/3.6.2 --enable-shared --with-threads --with-computed-gotos --enable-optimizations --with-lto --enable-ipv6
$ make -j4
$ sudo mkdir -p /export/apps/python/3.6.2
$ sudo chown -R aorth:aorth /export/apps/python/3.6
$ make install
$ make maninstall
$ ln -s /export/apps/python/3.6.2/bin/python3 /export/apps/python/3.6.2/bin/python
$ ln -s /export/apps/python/3.6.2/share/man/man1/python3.4.1 /export/apps/python/3.6.2/share/man/man1/python.1
$ ln -s /export/apps/python/3.6.2/bin/pip3 /export/apps/python/3.6.2/bin/pip
$ sudo chown -R root:root /export/apps/python/3.6.2

Configure options borrowed from Arch Linux's Python package.

python-software.1505902210.txt.gz · Last modified: 2017/09/20 10:10 by aorth