• Antelope Release 5.10 Linux CentOS release 7.6.1810 (Core) 3.10.0 2020-05-12

 

NAME

notes_python - Python within Antelope

DESCRIPTION

The python interpreter included with Antelope is version 3.6.5. We have compiled it to reside in an /opt/antelope subdirectory, and have pre-loaded the extension modules listed below, however other than that it is just a stock Python interpreter ( http://www.python.org ). The Antelope python interpreter is available via the path

$ANTELOPE/bin/python

An interactive version is also available, at

$ANTELOPE/bin/ipython

The most convenient way to interact with Antelope-enabled python is probably via the ipa(1) script, which launches ipython with a profile designed for Antelope.

Extension Modules

The following additional Python modules are included in the Antelope Python interpreter:

License files for Python and the included Python modules are contained in the directory


/opt/antelope/python3.6.5/licenses/

Python Interface to Antelope

An overview of the Python interface to Antelope is presented in antelope_python(3y).

obspy

The obspy packages, http://www.obspy.org , were not written by BRTT and are therefore not shipped with Antelope. At the time of writing obspy appears to support easy_install, however. Therefore, to install the core obspy package into the Antelope Python interpreter, for example, one should be able to execute

% easy_install obspy.core

SEE ALSO

antelope(1), antelope_python(3y), ipa(1)

BUGS AND CAVEATS

On Mac systems the ipython program may complain that libedit has been detected and warning of problems with readline. This has not been corrected for shipment with Antelope due to licensing restrictions on the GNU readline module. However, if you would like to install the readline module yourself to suppress these warnings and problems, the command to do so would be:

% easy_install readline

AUTHOR

Kent Lindquist
Printer icon