[Live-demo] ipython upgrade via conda
Brian M Hamlin
maplabs at light42.com
Sun May 28 11:13:15 PDT 2017
Python 2.7 upgrade via Anaconda distribution
28May17 -dbb
=====================================
The Anaconda Python install solution is widely used and respected for
Scientific Python.
In the pre11 Live VM, I am looking around and taking notes..
* there is a minimal bootstrap shell script, which does not require the
entire set of packages to be stored locally.
The README does encourage the user to get the entire setup locally,
like some other install solutions on Mac
and Linux, however it is not required. miniconda [0]
* there is an advertisement for "conda cloud" as well as the license
agreements.. and also at least two opaque
binary blobs in the install script. However, there is also an MD5
checksum and script linecount clearly documented,
so the security is adequate in my opinion. It is a third party product
and the relationship would have to be with
that third party, as far as content and license..
* there is a minimal set of bootstrap packages, with versions .. this
is useful! we should get in synch with this ! [1]
* the install is per-user by default.. NOT in the system python areas..
PREFIX=$HOME/miniconda2
* installed miniconda2 for Python 2.7 64bit, transcript excerpts below [2]
* cartopy is not available with this setup.. therefor IRIS is not
possible either
---------------------------------------------------------------------------------------------------
[0] miniconda Python 2.7 64bit current
#!/bin/bash
# Copyright (c) 2012-2017 Continuum Analytics, Inc.
# All rights reserved.
#
# Name: Miniconda2
# Version: 4.3.14
# Packages: 25
# PLAT: linux-64
# DESCR: 4.3.1
# BYTES: 28826662
# LINES: 370
# MD5: 0d76ee42d687f1a14fe73b5ed7f2e604
[1] package versions from the Python 2.7 installer bootstrap
python-2.7.13-0
extract_dist python-2.7.13-0
extract_dist cffi-1.9.1-py27_0
extract_dist conda-env-2.6.0-0
extract_dist cryptography-1.7.1-py27_0
extract_dist enum34-1.1.6-py27_0
extract_dist idna-2.2-py27_0
extract_dist ipaddress-1.0.18-py27_0
extract_dist libffi-3.2.1-1
extract_dist openssl-1.0.2k-1
extract_dist pyasn1-0.1.9-py27_0
extract_dist pycosat-0.6.1-py27_1
extract_dist pycparser-2.17-py27_0
extract_dist pyopenssl-16.2.0-py27_0
extract_dist readline-6.2-2
extract_dist requests-2.12.4-py27_0
extract_dist ruamel_yaml-0.11.14-py27_1
extract_dist setuptools-27.2.0-py27_0
extract_dist six-1.10.0-py27_0
extract_dist sqlite-3.13.0-0
extract_dist tk-8.5.18-0
extract_dist yaml-0.1.6-0
extract_dist zlib-1.2.8-3
extract_dist conda-4.3.14-py27_0
extract_dist pip-9.0.1-py27_1
extract_dist wheel-0.29.0-py27_0
[2]
user at live-pre11:~/conda_misc$ echo $PATH
/home/user/conda_misc/mini2/bin:/home/user/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
user at live-pre11:~/conda_misc$ ls mini2/bin
2to3* conda-env* easy_install* openssl*
python@ python-config* tclsh8.5*
activate* c_rehash* easy_install-2.7@ pip*
python2@ smtpd.py* wheel*
conda* deactivate* idle*
pydoc* python2.7* sqlite3* wish8.5*
user at live-pre11:~/conda_misc$ conda install numpy matplotlib pandas scipy
Fetching package metadata .........
Solving package specifications: .
Package plan for installation in environment /home/user/conda_misc/mini2:
The following NEW packages will be INSTALLED:
cairo: 1.14.8-0
cycler: 0.10.0-py27_0
dbus: 1.10.10-0
expat: 2.1.0-0
fontconfig: 2.12.1-3
freetype: 2.5.5-2
functools32: 3.2.3.2-py27_0
glib: 2.50.2-1
gst-plugins-base: 1.8.0-0
gstreamer: 1.8.0-0
icu: 54.1-0
jpeg: 9b-0
libgcc: 5.2.0-0
libgfortran: 3.0.0-1
libiconv: 1.14-0
libpng: 1.6.27-0
libxcb: 1.12-1
libxml2: 2.9.4-0
matplotlib: 2.0.2-np112py27_0
mkl: 2017.0.1-0
numpy: 1.12.1-py27_0
pandas: 0.20.1-np112py27_0
pcre: 8.39-1
pixman: 0.34.0-0
pycairo: 1.10.0-py27_0
pyparsing: 2.1.4-py27_0
pyqt: 5.6.0-py27_2
python-dateutil: 2.6.0-py27_0
pytz: 2017.2-py27_0
qt: 5.6.2-4
scipy: 0.19.0-np112py27_0
sip: 4.18-py27_0
subprocess32: 3.2.7-py27_0
user at live-pre11:~/conda_misc$ conda install ipython
Fetching package metadata .........
Solving package specifications: .
Package plan for installation in environment /home/user/conda_misc/mini2:
The following NEW packages will be INSTALLED:
backports: 1.0-py27_0
decorator: 4.0.11-py27_0
get_terminal_size: 1.0.0-py27_0
ipython: 5.3.0-py27_0
ipython_genutils: 0.2.0-py27_0
path.py: 10.3.1-py27_0
pathlib2: 2.2.1-py27_0
pexpect: 4.2.1-py27_0
pickleshare: 0.7.4-py27_0
prompt_toolkit: 1.0.14-py27_0
ptyprocess: 0.5.1-py27_0
pygments: 2.2.0-py27_0
scandir: 1.5-py27_0
simplegeneric: 0.8.1-py27_1
traitlets: 4.3.2-py27_0
wcwidth: 0.1.7-py27_0
user at live-pre11:~/conda_misc$ conda install jupyter
Fetching package metadata .........
Solving package specifications: .
Package plan for installation in environment /home/user/conda_misc/mini2:
The following NEW packages will be INSTALLED:
backports_abc: 0.5-py27_0
bleach: 1.5.0-py27_0
configparser: 3.5.0-py27_0
entrypoints: 0.2.2-py27_1
html5lib: 0.999-py27_0
ipykernel: 4.6.1-py27_0
ipywidgets: 6.0.0-py27_0
jinja2: 2.9.6-py27_0
jsonschema: 2.6.0-py27_0
jupyter: 1.0.0-py27_3
jupyter_client: 5.0.1-py27_0
jupyter_console: 5.1.0-py27_0
jupyter_core: 4.3.0-py27_0
libsodium: 1.0.10-0
markupsafe: 0.23-py27_2
mistune: 0.7.4-py27_0
nbconvert: 5.1.1-py27_0
nbformat: 4.3.0-py27_0
notebook: 5.0.0-py27_0
pandocfilters: 1.4.1-py27_0
pyzmq: 16.0.2-py27_0
qtconsole: 4.3.0-py27_0
singledispatch: 3.4.0.3-py27_0
ssl_match_hostname: 3.4.0.2-py27_1
terminado: 0.6-py27_0
testpath: 0.3-py27_0
tornado: 4.5.1-py27_0
widgetsnbextension: 2.0.0-py27_0
zeromq: 4.1.5-0
More information about the Osgeolive
mailing list