Skip to content

Instantly share code, notes, and snippets.

@MikeDacre
Created November 15, 2016 07:52
Show Gist options
  • Save MikeDacre/4852ca4dc352a20200138db00bfdc3c3 to your computer and use it in GitHub Desktop.
Save MikeDacre/4852ca4dc352a20200138db00bfdc3c3 to your computer and use it in GitHub Desktop.
Errors running pyenv with git: https://github.com/yyuu/pyenv/issues/747
+ [pyenv:24] enable -f /home/dacre/.pyenv/libexec/../libexec/pyenv-realpath.dylib realpath
+ [pyenv:30] '[' -z '' ']'
++ [pyenv:32] type -p greadlink readlink
++ [pyenv:32] head -1
+ [pyenv:32] READLINK=/usr/bin/readlink
+ [pyenv:33] '[' -n /usr/bin/readlink ']'
+ [pyenv:54] '[' -z /home/dacre/.pyenv ']'
+ [pyenv:57] PYENV_ROOT=/home/dacre/.pyenv
+ [pyenv:59] export PYENV_ROOT
+ [pyenv:62] '[' -z '' ']'
+ [pyenv:63] '[' -n '' ']'
+ [pyenv:74] '[' -z '' ']'
+ [pyenv:75] PYENV_DIR=/home/dacre/code/fyrd
+ [pyenv:81] export PYENV_DIR
+ [pyenv:84] shopt -s nullglob
++ [pyenv:86] abs_dirname /home/dacre/.pyenv/libexec/pyenv
++ [pyenv:40] local cwd=/home/dacre/code/fyrd
++ [pyenv:41] local path=/home/dacre/.pyenv/libexec/pyenv
++ [pyenv:43] '[' -n /home/dacre/.pyenv/libexec/pyenv ']'
++ [pyenv:44] cd /home/dacre/.pyenv/libexec
++ [pyenv:45] local name=pyenv
+++ [pyenv:46] resolve_link pyenv
+++ [pyenv:36] /usr/bin/readlink pyenv
+++ [pyenv:46] true
++ [pyenv:46] path=
++ [pyenv:43] '[' -n '' ']'
++ [pyenv:49] pwd
++ [pyenv:50] cd /home/dacre/code/fyrd
+ [pyenv:86] bin_path=/home/dacre/.pyenv/libexec
+ [pyenv:87] for plugin_bin in '"${PYENV_ROOT}/plugins/"*/bin'
+ [pyenv:88] PATH=/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
+ [pyenv:87] for plugin_bin in '"${PYENV_ROOT}/plugins/"*/bin'
+ [pyenv:88] PATH=/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
+ [pyenv:87] for plugin_bin in '"${PYENV_ROOT}/plugins/"*/bin'
+ [pyenv:88] PATH=/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
+ [pyenv:87] for plugin_bin in '"${PYENV_ROOT}/plugins/"*/bin'
+ [pyenv:88] PATH=/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
+ [pyenv:90] export PATH=/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
+ [pyenv:90] PATH=/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
+ [pyenv:92] PYENV_HOOK_PATH=:/home/dacre/.pyenv/pyenv.d
+ [pyenv:93] '[' /home/dacre/.pyenv '!=' /home/dacre/.pyenv ']'
+ [pyenv:97] PYENV_HOOK_PATH=:/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks
+ [pyenv:98] for plugin_hook in '"${PYENV_ROOT}/plugins/"*/etc/pyenv.d'
+ [pyenv:99] PYENV_HOOK_PATH=:/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/dacre/.pyenv/plugins/pyenv-alias/etc/pyenv.d
+ [pyenv:98] for plugin_hook in '"${PYENV_ROOT}/plugins/"*/etc/pyenv.d'
+ [pyenv:99] PYENV_HOOK_PATH=:/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/dacre/.pyenv/plugins/pyenv-alias/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-default-packages/etc/pyenv.d
+ [pyenv:98] for plugin_hook in '"${PYENV_ROOT}/plugins/"*/etc/pyenv.d'
+ [pyenv:99] PYENV_HOOK_PATH=:/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/dacre/.pyenv/plugins/pyenv-alias/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-default-packages/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d
+ [pyenv:98] for plugin_hook in '"${PYENV_ROOT}/plugins/"*/etc/pyenv.d'
+ [pyenv:99] PYENV_HOOK_PATH=:/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/dacre/.pyenv/plugins/pyenv-alias/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-default-packages/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d
+ [pyenv:101] PYENV_HOOK_PATH=/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/dacre/.pyenv/plugins/pyenv-alias/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-default-packages/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d
+ [pyenv:102] export PYENV_HOOK_PATH
+ [pyenv:104] shopt -u nullglob
+ [pyenv:107] command=exec
+ [pyenv:108] case "$command" in
++ [pyenv:121] command -v pyenv-exec
+ [pyenv:121] command_path=/home/dacre/.pyenv/libexec/pyenv-exec
+ [pyenv:122] '[' -n /home/dacre/.pyenv/libexec/pyenv-exec ']'
+ [pyenv:124] shift 1
+ [pyenv:125] '[' git-submodule = --help ']'
+ [pyenv:132] exec /home/dacre/.pyenv/libexec/pyenv-exec git-submodule foreach --recursive git clean -fdq
+ [pyenv-exec:20] '[' git-submodule = --complete ']'
++ [pyenv-exec:24] pyenv-version-name
+ [pyenv-version-name:6] '[' -z '' ']'
++ [pyenv-version-name:7] pyenv-version-file
+ [pyenv-version-file:7] target_dir=
+ [pyenv-version-file:22] '[' -n '' ']'
+ [pyenv-version-file:25] find_local_version_file /home/dacre/code/fyrd
+ [pyenv-version-file:10] local root=/home/dacre/code/fyrd
+ [pyenv-version-file:11] [[ /home/dacre/code/fyrd =~ ^//[^/]*$ ]]
+ [pyenv-version-file:12] '[' -e /home/dacre/code/fyrd/.python-version ']'
+ [pyenv-version-file:16] '[' -n /home/dacre/code/fyrd ']'
+ [pyenv-version-file:17] root=/home/dacre/code
+ [pyenv-version-file:11] [[ /home/dacre/code =~ ^//[^/]*$ ]]
+ [pyenv-version-file:12] '[' -e /home/dacre/code/.python-version ']'
+ [pyenv-version-file:16] '[' -n /home/dacre/code ']'
+ [pyenv-version-file:17] root=/home/dacre
+ [pyenv-version-file:11] [[ /home/dacre =~ ^//[^/]*$ ]]
+ [pyenv-version-file:12] '[' -e /home/dacre/.python-version ']'
+ [pyenv-version-file:16] '[' -n /home/dacre ']'
+ [pyenv-version-file:17] root=/home
+ [pyenv-version-file:11] [[ /home =~ ^//[^/]*$ ]]
+ [pyenv-version-file:12] '[' -e /home/.python-version ']'
+ [pyenv-version-file:16] '[' -n /home ']'
+ [pyenv-version-file:17] root=
+ [pyenv-version-file:11] [[ '' =~ ^//[^/]*$ ]]
+ [pyenv-version-file:12] '[' -e /.python-version ']'
+ [pyenv-version-file:16] '[' -n '' ']'
+ [pyenv-version-file:16] break
+ [pyenv-version-file:19] return 1
+ [pyenv-version-file:26] '[' /home/dacre/code/fyrd '!=' /home/dacre/code/fyrd ']'
+ [pyenv-version-file:27] echo /home/dacre/.pyenv/version
+ [pyenv-version-name:7] PYENV_VERSION_FILE=/home/dacre/.pyenv/version
++ [pyenv-version-name:8] pyenv-version-file-read /home/dacre/.pyenv/version
+ [pyenv-version-file-read:6] VERSION_FILE=/home/dacre/.pyenv/version
+ [pyenv-version-file-read:8] '[' -e /home/dacre/.pyenv/version ']'
+ [pyenv-version-file-read:11] IFS='
'
+ [pyenv-version-file-read:12] words=($(cut -b 1-1024 "$VERSION_FILE" | sed 's/^\s*\(\S\+\).*/\1/'))
++ [pyenv-version-file-read:12] cut -b 1-1024 /home/dacre/.pyenv/version
++ [pyenv-version-file-read:12] sed 's/^\s*\(\S\+\).*/\1/'
+ [pyenv-version-file-read:13] versions=("${words[@]}")
+ [pyenv-version-file-read:15] '[' -n 3.5.2 ']'
+ [pyenv-version-file-read:16] IFS=:
+ [pyenv-version-file-read:17] echo 3.5.2:2.7.12:anaconda3-4.1.1
+ [pyenv-version-file-read:18] exit
+ [pyenv-version-name:8] PYENV_VERSION=3.5.2:2.7.12:anaconda3-4.1.1
+ [pyenv-version-name:11] OLDIFS='
'
+ [pyenv-version-name:12] IFS='
'
+ [pyenv-version-name:12] scripts=(`pyenv-hooks version-name`)
++ [pyenv-version-name:12] pyenv-hooks version-name
+ [pyenv-hooks:9] '[' version-name = --complete ']'
+ [pyenv-hooks:18] PYENV_COMMAND=version-name
+ [pyenv-hooks:19] '[' -z version-name ']'
+ [pyenv-hooks:24] enable -f /home/dacre/.pyenv/libexec/pyenv-realpath.dylib realpath
+ [pyenv-hooks:25] '[' -n '' ']'
++ [pyenv-hooks:29] type -p greadlink readlink
++ [pyenv-hooks:29] head -1
+ [pyenv-hooks:29] READLINK=/usr/bin/readlink
+ [pyenv-hooks:30] '[' -z /usr/bin/readlink ']'
+ [pyenv-hooks:55] IFS=:
+ [pyenv-hooks:55] hook_paths=($PYENV_HOOK_PATH)
+ [pyenv-hooks:57] shopt -s nullglob
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:63] shopt -u nullglob
+ [pyenv-version-name:13] IFS='
'
+ [pyenv-version-name:18] '[' -z 3.5.2:2.7.12:anaconda3-4.1.1 ']'
+ [pyenv-version-name:18] '[' 3.5.2:2.7.12:anaconda3-4.1.1 = system ']'
+ [pyenv-version-name:28] versions=()
+ [pyenv-version-name:29] OLDIFS='
'
+ [pyenv-version-name:30] IFS=:
+ [pyenv-version-name:31] any_not_installed=0
+ [pyenv-version-name:32] for version in '${PYENV_VERSION}'
+ [pyenv-version-name:33] version_exists 3.5.2
+ [pyenv-version-name:24] local version=3.5.2
+ [pyenv-version-name:25] '[' -d /home/dacre/.pyenv/versions/3.5.2 ']'
+ [pyenv-version-name:34] versions=("${versions[@]}" "${version}")
+ [pyenv-version-name:32] for version in '${PYENV_VERSION}'
+ [pyenv-version-name:33] version_exists 2.7.12
+ [pyenv-version-name:24] local version=2.7.12
+ [pyenv-version-name:25] '[' -d /home/dacre/.pyenv/versions/2.7.12 ']'
+ [pyenv-version-name:34] versions=("${versions[@]}" "${version}")
+ [pyenv-version-name:32] for version in '${PYENV_VERSION}'
+ [pyenv-version-name:33] version_exists anaconda3-4.1.1
+ [pyenv-version-name:24] local version=anaconda3-4.1.1
+ [pyenv-version-name:25] '[' -d /home/dacre/.pyenv/versions/anaconda3-4.1.1 ']'
+ [pyenv-version-name:34] versions=("${versions[@]}" "${version}")
+ [pyenv-version-name:43] IFS='
'
+ [pyenv-version-name:45] OLDIFS='
'
+ [pyenv-version-name:46] IFS=:
+ [pyenv-version-name:47] echo 3.5.2:2.7.12:anaconda3-4.1.1
+ [pyenv-version-name:49] IFS='
'
+ [pyenv-version-name:51] '[' 0 = 1 ']'
+ [pyenv-exec:24] PYENV_VERSION=3.5.2:2.7.12:anaconda3-4.1.1
+ [pyenv-exec:25] PYENV_COMMAND=git-submodule
+ [pyenv-exec:27] '[' -z git-submodule ']'
+ [pyenv-exec:32] export PYENV_VERSION
++ [pyenv-exec:33] pyenv-which git-submodule
+ [pyenv-which:14] '[' git-submodule = --complete ']'
+ [pyenv-which:30] PYENV_COMMAND=git-submodule
+ [pyenv-which:32] '[' -z git-submodule ']'
+ [pyenv-which:37] OLDIFS='
'
+ [pyenv-which:38] IFS=:
+ [pyenv-which:38] versions=(${PYENV_VERSION:-$(pyenv-version-name)})
+ [pyenv-which:39] IFS='
'
+ [pyenv-which:41] for version in '"${versions[@]}"'
+ [pyenv-which:42] '[' 3.5.2 = system ']'
+ [pyenv-which:46] PYENV_COMMAND_PATH=/home/dacre/.pyenv/versions/3.5.2/bin/git-submodule
+ [pyenv-which:48] '[' -x /home/dacre/.pyenv/versions/3.5.2/bin/git-submodule ']'
+ [pyenv-which:41] for version in '"${versions[@]}"'
+ [pyenv-which:42] '[' 2.7.12 = system ']'
+ [pyenv-which:46] PYENV_COMMAND_PATH=/home/dacre/.pyenv/versions/2.7.12/bin/git-submodule
+ [pyenv-which:48] '[' -x /home/dacre/.pyenv/versions/2.7.12/bin/git-submodule ']'
+ [pyenv-which:41] for version in '"${versions[@]}"'
+ [pyenv-which:42] '[' anaconda3-4.1.1 = system ']'
+ [pyenv-which:46] PYENV_COMMAND_PATH=/home/dacre/.pyenv/versions/anaconda3-4.1.1/bin/git-submodule
+ [pyenv-which:48] '[' -x /home/dacre/.pyenv/versions/anaconda3-4.1.1/bin/git-submodule ']'
+ [pyenv-which:53] OLDIFS='
'
+ [pyenv-which:54] IFS='
'
+ [pyenv-which:54] scripts=(`pyenv-hooks which`)
++ [pyenv-which:54] pyenv-hooks which
+ [pyenv-hooks:9] '[' which = --complete ']'
+ [pyenv-hooks:18] PYENV_COMMAND=which
+ [pyenv-hooks:19] '[' -z which ']'
+ [pyenv-hooks:24] enable -f /home/dacre/.pyenv/libexec/pyenv-realpath.dylib realpath
+ [pyenv-hooks:25] '[' -n '' ']'
++ [pyenv-hooks:29] type -p greadlink readlink
++ [pyenv-hooks:29] head -1
+ [pyenv-hooks:29] READLINK=/usr/bin/readlink
+ [pyenv-hooks:30] '[' -z /usr/bin/readlink ']'
+ [pyenv-hooks:55] IFS=:
+ [pyenv-hooks:55] hook_paths=($PYENV_HOOK_PATH)
+ [pyenv-hooks:57] shopt -s nullglob
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:59] for script in '"$path/$PYENV_COMMAND"/*.bash'
+ [pyenv-hooks:60] realpath /home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d/which/python-config.bash
+ [pyenv-hooks:40] local cwd=/home/dacre/code/fyrd
+ [pyenv-hooks:41] local path=/home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d/which/python-config.bash
+ [pyenv-hooks:42] local name
+ [pyenv-hooks:44] '[' -n /home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d/which/python-config.bash ']'
+ [pyenv-hooks:45] name=python-config.bash
+ [pyenv-hooks:46] '[' python-config.bash = /home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d/which/python-config.bash ']'
+ [pyenv-hooks:46] cd /home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d/which
++ [pyenv-hooks:47] resolve_link python-config.bash
++ [pyenv-hooks:36] /usr/bin/readlink python-config.bash
++ [pyenv-hooks:47] true
+ [pyenv-hooks:47] path=
+ [pyenv-hooks:44] '[' -n '' ']'
+ [pyenv-hooks:50] echo /home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d/which/python-config.bash
+ [pyenv-hooks:51] cd /home/dacre/code/fyrd
+ [pyenv-hooks:59] for script in '"$path/$PYENV_COMMAND"/*.bash'
+ [pyenv-hooks:60] realpath /home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d/which/system-site-packages.bash
+ [pyenv-hooks:40] local cwd=/home/dacre/code/fyrd
+ [pyenv-hooks:41] local path=/home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d/which/system-site-packages.bash
+ [pyenv-hooks:42] local name
+ [pyenv-hooks:44] '[' -n /home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d/which/system-site-packages.bash ']'
+ [pyenv-hooks:45] name=system-site-packages.bash
+ [pyenv-hooks:46] '[' system-site-packages.bash = /home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d/which/system-site-packages.bash ']'
+ [pyenv-hooks:46] cd /home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d/which
++ [pyenv-hooks:47] resolve_link system-site-packages.bash
++ [pyenv-hooks:36] /usr/bin/readlink system-site-packages.bash
++ [pyenv-hooks:47] true
+ [pyenv-hooks:47] path=
+ [pyenv-hooks:44] '[' -n '' ']'
+ [pyenv-hooks:50] echo /home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d/which/system-site-packages.bash
+ [pyenv-hooks:51] cd /home/dacre/code/fyrd
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:59] for script in '"$path/$PYENV_COMMAND"/*.bash'
+ [pyenv-hooks:60] realpath /home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d/which/lookup_from_path.bash
+ [pyenv-hooks:40] local cwd=/home/dacre/code/fyrd
+ [pyenv-hooks:41] local path=/home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d/which/lookup_from_path.bash
+ [pyenv-hooks:42] local name
+ [pyenv-hooks:44] '[' -n /home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d/which/lookup_from_path.bash ']'
+ [pyenv-hooks:45] name=lookup_from_path.bash
+ [pyenv-hooks:46] '[' lookup_from_path.bash = /home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d/which/lookup_from_path.bash ']'
+ [pyenv-hooks:46] cd /home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d/which
++ [pyenv-hooks:47] resolve_link lookup_from_path.bash
++ [pyenv-hooks:36] /usr/bin/readlink lookup_from_path.bash
++ [pyenv-hooks:47] true
+ [pyenv-hooks:47] path=
+ [pyenv-hooks:44] '[' -n '' ']'
+ [pyenv-hooks:50] echo /home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d/which/lookup_from_path.bash
+ [pyenv-hooks:51] cd /home/dacre/code/fyrd
+ [pyenv-hooks:63] shopt -u nullglob
+ [pyenv-which:55] IFS='
'
+ [pyenv-which:56] for script in '"${scripts[@]}"'
+ [pyenv-which:57] source /home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d/which/python-config.bash
++ [python-config.bash:6] '[' '!' -x /home/dacre/.pyenv/versions/anaconda3-4.1.1/bin/git-submodule ']'
++ [python-config.bash:6] [[ git-submodule == \p\y\t\h\o\n*\-\c\o\n\f\i\g ]]
+ [pyenv-which:56] for script in '"${scripts[@]}"'
+ [pyenv-which:57] source /home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d/which/system-site-packages.bash
++ [system-site-packages.bash:6] '[' '!' -x /home/dacre/.pyenv/versions/anaconda3-4.1.1/bin/git-submodule ']'
++ [system-site-packages.bash:7] OLDIFS='
'
++ [system-site-packages.bash:8] IFS=:
+++ [system-site-packages.bash:9] pyenv-version-name
+ [pyenv-version-name:6] '[' -z 3.5.2:2.7.12:anaconda3-4.1.1 ']'
+ [pyenv-version-name:11] OLDIFS='
'
+ [pyenv-version-name:12] IFS='
'
+ [pyenv-version-name:12] scripts=(`pyenv-hooks version-name`)
++ [pyenv-version-name:12] pyenv-hooks version-name
+ [pyenv-hooks:9] '[' version-name = --complete ']'
+ [pyenv-hooks:18] PYENV_COMMAND=version-name
+ [pyenv-hooks:19] '[' -z version-name ']'
+ [pyenv-hooks:24] enable -f /home/dacre/.pyenv/libexec/pyenv-realpath.dylib realpath
+ [pyenv-hooks:25] '[' -n '' ']'
++ [pyenv-hooks:29] type -p greadlink readlink
++ [pyenv-hooks:29] head -1
+ [pyenv-hooks:29] READLINK=/usr/bin/readlink
+ [pyenv-hooks:30] '[' -z /usr/bin/readlink ']'
+ [pyenv-hooks:55] IFS=:
+ [pyenv-hooks:55] hook_paths=($PYENV_HOOK_PATH)
+ [pyenv-hooks:57] shopt -s nullglob
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:63] shopt -u nullglob
+ [pyenv-version-name:13] IFS='
'
+ [pyenv-version-name:18] '[' -z 3.5.2:2.7.12:anaconda3-4.1.1 ']'
+ [pyenv-version-name:18] '[' 3.5.2:2.7.12:anaconda3-4.1.1 = system ']'
+ [pyenv-version-name:28] versions=()
+ [pyenv-version-name:29] OLDIFS='
'
+ [pyenv-version-name:30] IFS=:
+ [pyenv-version-name:31] any_not_installed=0
+ [pyenv-version-name:32] for version in '${PYENV_VERSION}'
+ [pyenv-version-name:33] version_exists 3.5.2
+ [pyenv-version-name:24] local version=3.5.2
+ [pyenv-version-name:25] '[' -d /home/dacre/.pyenv/versions/3.5.2 ']'
+ [pyenv-version-name:34] versions=("${versions[@]}" "${version}")
+ [pyenv-version-name:32] for version in '${PYENV_VERSION}'
+ [pyenv-version-name:33] version_exists 2.7.12
+ [pyenv-version-name:24] local version=2.7.12
+ [pyenv-version-name:25] '[' -d /home/dacre/.pyenv/versions/2.7.12 ']'
+ [pyenv-version-name:34] versions=("${versions[@]}" "${version}")
+ [pyenv-version-name:32] for version in '${PYENV_VERSION}'
+ [pyenv-version-name:33] version_exists anaconda3-4.1.1
+ [pyenv-version-name:24] local version=anaconda3-4.1.1
+ [pyenv-version-name:25] '[' -d /home/dacre/.pyenv/versions/anaconda3-4.1.1 ']'
+ [pyenv-version-name:34] versions=("${versions[@]}" "${version}")
+ [pyenv-version-name:43] IFS='
'
+ [pyenv-version-name:45] OLDIFS='
'
+ [pyenv-version-name:46] IFS=:
+ [pyenv-version-name:47] echo 3.5.2:2.7.12:anaconda3-4.1.1
+ [pyenv-version-name:49] IFS='
'
+ [pyenv-version-name:51] '[' 0 = 1 ']'
++ [system-site-packages.bash:9] version=3.5.2:2.7.12:anaconda3-4.1.1
++ [system-site-packages.bash:10] IFS='
'
++ [system-site-packages.bash:11] '[' -f /home/dacre/.pyenv/versions/3.5.2:2.7.12:anaconda3-4.1.1/bin/activate ']'
+ [pyenv-which:56] for script in '"${scripts[@]}"'
+ [pyenv-which:57] source /home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d/which/lookup_from_path.bash
++ [lookup_from_path.bash:18] '[' -n git-submodule ']'
++ [lookup_from_path.bash:18] '[' '!' -x /home/dacre/.pyenv/versions/anaconda3-4.1.1/bin/git-submodule ']'
+++ [lookup_from_path.bash:19] lookup_from_path git-submodule
++++ [lookup_from_path.bash:14] remove_from_path /home/dacre/.pyenv/shims
++++ [lookup_from_path.bash:2] local path_to_remove=/home/dacre/.pyenv/shims
++++ [lookup_from_path.bash:3] local path_before
++++ [lookup_from_path.bash:4] local result=:/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:
++++ [lookup_from_path.bash:5] '[' '' '!=' :/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl: ']'
++++ [lookup_from_path.bash:6] path_before=:/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:
++++ [lookup_from_path.bash:7] result=:/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:
++++ [lookup_from_path.bash:5] '[' :/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl: '!=' :/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl: ']'
++++ [lookup_from_path.bash:6] path_before=:/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:
++++ [lookup_from_path.bash:7] result=:/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:
++++ [lookup_from_path.bash:5] '[' :/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl: '!=' :/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl: ']'
++++ [lookup_from_path.bash:9] result=:/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
++++ [lookup_from_path.bash:10] echo /home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
+++ [lookup_from_path.bash:14] PATH=/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
+++ [lookup_from_path.bash:14] command -v git-submodule
++ [lookup_from_path.bash:19] PYENV_COMMAND_PATH=/usr/lib/git-core/git-submodule
+ [pyenv-which:60] '[' -x /usr/lib/git-core/git-submodule ']'
+ [pyenv-which:61] echo /usr/lib/git-core/git-submodule
+ [pyenv-exec:33] PYENV_COMMAND_PATH=/usr/lib/git-core/git-submodule
+ [pyenv-exec:34] PYENV_BIN_PATH=/usr/lib/git-core
+ [pyenv-exec:36] OLDIFS='
'
+ [pyenv-exec:37] IFS='
'
+ [pyenv-exec:37] scripts=(`pyenv-hooks exec`)
++ [pyenv-exec:37] pyenv-hooks exec
+ [pyenv-hooks:9] '[' exec = --complete ']'
+ [pyenv-hooks:18] PYENV_COMMAND=exec
+ [pyenv-hooks:19] '[' -z exec ']'
+ [pyenv-hooks:24] enable -f /home/dacre/.pyenv/libexec/pyenv-realpath.dylib realpath
+ [pyenv-hooks:25] '[' -n '' ']'
++ [pyenv-hooks:29] type -p greadlink readlink
++ [pyenv-hooks:29] head -1
+ [pyenv-hooks:29] READLINK=/usr/bin/readlink
+ [pyenv-hooks:30] '[' -z /usr/bin/readlink ']'
+ [pyenv-hooks:55] IFS=:
+ [pyenv-hooks:55] hook_paths=($PYENV_HOOK_PATH)
+ [pyenv-hooks:57] shopt -s nullglob
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:59] for script in '"$path/$PYENV_COMMAND"/*.bash'
+ [pyenv-hooks:60] realpath /home/dacre/.pyenv/pyenv.d/exec/pip-rehash.bash
+ [pyenv-hooks:40] local cwd=/home/dacre/code/fyrd
+ [pyenv-hooks:41] local path=/home/dacre/.pyenv/pyenv.d/exec/pip-rehash.bash
+ [pyenv-hooks:42] local name
+ [pyenv-hooks:44] '[' -n /home/dacre/.pyenv/pyenv.d/exec/pip-rehash.bash ']'
+ [pyenv-hooks:45] name=pip-rehash.bash
+ [pyenv-hooks:46] '[' pip-rehash.bash = /home/dacre/.pyenv/pyenv.d/exec/pip-rehash.bash ']'
+ [pyenv-hooks:46] cd /home/dacre/.pyenv/pyenv.d/exec
++ [pyenv-hooks:47] resolve_link pip-rehash.bash
++ [pyenv-hooks:36] /usr/bin/readlink pip-rehash.bash
++ [pyenv-hooks:47] true
+ [pyenv-hooks:47] path=
+ [pyenv-hooks:44] '[' -n '' ']'
+ [pyenv-hooks:50] echo /home/dacre/.pyenv/pyenv.d/exec/pip-rehash.bash
+ [pyenv-hooks:51] cd /home/dacre/code/fyrd
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:58] for path in '"${hook_paths[@]}"'
+ [pyenv-hooks:63] shopt -u nullglob
+ [pyenv-exec:38] IFS='
'
+ [pyenv-exec:39] for script in '"${scripts[@]}"'
+ [pyenv-exec:40] source /home/dacre/.pyenv/pyenv.d/exec/pip-rehash.bash
++ [pip-rehash.bash:1] PYENV_PIP_REHASH_ROOT=/home/dacre/.pyenv/pyenv.d/exec/pip-rehash
++ [pip-rehash.bash:2] PYENV_REHASH_COMMAND=git-submodule
++ [pip-rehash.bash:5] [[ git-submodule =~ ^(pip|easy_install)[23](\.d)?$ ]]
++ [pip-rehash.bash:9] '[' -x /home/dacre/.pyenv/pyenv.d/exec/pip-rehash/git-submodule ']'
+ [pyenv-exec:43] shift 1
+ [pyenv-exec:46] export PATH=/usr/lib/git-core:/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
+ [pyenv-exec:46] PATH=/usr/lib/git-core:/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
+ [pyenv-exec:47] exec -a git-submodule /usr/lib/git-core/git-submodule foreach --recursive git clean -fdq
++++ [gettext.sh:5] program=git-submodule
++++ [gettext.sh:6] [[ git-submodule = \p\y\t\h\o\n* ]]
++++ [gettext.sh:20] export PYENV_ROOT=/home/dacre/.pyenv
++++ [gettext.sh:20] PYENV_ROOT=/home/dacre/.pyenv
++++ [gettext.sh:21] exec /home/dacre/.pyenv/libexec/pyenv exec git-submodule foreach --recursive git clean -fdq
+ [pyenv:24] enable -f /home/dacre/.pyenv/libexec/../libexec/pyenv-realpath.dylib realpath
+ [pyenv:30] '[' -z '' ']'
++ [pyenv:32] type -p greadlink readlink
++ [pyenv:32] head -1
+ [pyenv:32] READLINK=/usr/bin/readlink
+ [pyenv:33] '[' -n /usr/bin/readlink ']'
+ [pyenv:54] '[' -z /home/dacre/.pyenv ']'
+ [pyenv:57] PYENV_ROOT=/home/dacre/.pyenv
+ [pyenv:59] export PYENV_ROOT
+ [pyenv:62] '[' -z /home/dacre/code/fyrd ']'
+ [pyenv:74] '[' -z /home/dacre/code/fyrd ']'
+ [pyenv:77] cd /home/dacre/code/fyrd
+ [pyenv:78] PYENV_DIR=/home/dacre/code/fyrd
+ [pyenv:79] cd /home/dacre/code/fyrd
+ [pyenv:81] export PYENV_DIR
+ [pyenv:84] shopt -s nullglob
++ [pyenv:86] abs_dirname /home/dacre/.pyenv/libexec/pyenv
++ [pyenv:40] local cwd=/home/dacre/code/fyrd
++ [pyenv:41] local path=/home/dacre/.pyenv/libexec/pyenv
++ [pyenv:43] '[' -n /home/dacre/.pyenv/libexec/pyenv ']'
++ [pyenv:44] cd /home/dacre/.pyenv/libexec
++ [pyenv:45] local name=pyenv
+++ [pyenv:46] resolve_link pyenv
+++ [pyenv:36] /usr/bin/readlink pyenv
+++ [pyenv:46] true
++ [pyenv:46] path=
++ [pyenv:43] '[' -n '' ']'
++ [pyenv:49] pwd
++ [pyenv:50] cd /home/dacre/code/fyrd
+ [pyenv:86] bin_path=/home/dacre/.pyenv/libexec
+ [pyenv:87] for plugin_bin in '"${PYENV_ROOT}/plugins/"*/bin'
+ [pyenv:88] PATH=/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
+ [pyenv:87] for plugin_bin in '"${PYENV_ROOT}/plugins/"*/bin'
+ [pyenv:88] PATH=/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
+ [pyenv:87] for plugin_bin in '"${PYENV_ROOT}/plugins/"*/bin'
+ [pyenv:88] PATH=/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
+ [pyenv:87] for plugin_bin in '"${PYENV_ROOT}/plugins/"*/bin'
+ [pyenv:88] PATH=/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
+ [pyenv:90] export PATH=/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
+ [pyenv:90] PATH=/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/libexec:/home/dacre/.pyenv/plugins/python-build/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/bin:/home/dacre/.pyenv/plugins/pyenv-update/bin:/home/dacre/.pyenv/plugins/pyenv-register/bin:/usr/lib/git-core:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/bin:/home/dacre/.local/bin:/home/dacre/usr/bin:/home/dacre/tools/bin:/home/dacre/mike_tools/bin:/usr/local/bin:/home/dacre/.pyenv/plugins/pyenv-virtualenv/shims:/home/dacre/.pyenv/shims:/home/dacre/.pyenv/bin:/usr/local/sbin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cxoffice/bin:/usr/lib/jvm/default/bin:/usr/local/MATLAB/R2015a/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
+ [pyenv:92] PYENV_HOOK_PATH=/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/dacre/.pyenv/plugins/pyenv-alias/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-default-packages/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d:/home/dacre/.pyenv/pyenv.d
+ [pyenv:93] '[' /home/dacre/.pyenv '!=' /home/dacre/.pyenv ']'
+ [pyenv:97] PYENV_HOOK_PATH=/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/dacre/.pyenv/plugins/pyenv-alias/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-default-packages/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d:/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks
+ [pyenv:98] for plugin_hook in '"${PYENV_ROOT}/plugins/"*/etc/pyenv.d'
+ [pyenv:99] PYENV_HOOK_PATH=/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/dacre/.pyenv/plugins/pyenv-alias/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-default-packages/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d:/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/dacre/.pyenv/plugins/pyenv-alias/etc/pyenv.d
+ [pyenv:98] for plugin_hook in '"${PYENV_ROOT}/plugins/"*/etc/pyenv.d'
+ [pyenv:99] PYENV_HOOK_PATH=/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/dacre/.pyenv/plugins/pyenv-alias/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-default-packages/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d:/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/dacre/.pyenv/plugins/pyenv-alias/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-default-packages/etc/pyenv.d
+ [pyenv:98] for plugin_hook in '"${PYENV_ROOT}/plugins/"*/etc/pyenv.d'
+ [pyenv:99] PYENV_HOOK_PATH=/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/dacre/.pyenv/plugins/pyenv-alias/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-default-packages/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d:/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/dacre/.pyenv/plugins/pyenv-alias/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-default-packages/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d
+ [pyenv:98] for plugin_hook in '"${PYENV_ROOT}/plugins/"*/etc/pyenv.d'
+ [pyenv:99] PYENV_HOOK_PATH=/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/dacre/.pyenv/plugins/pyenv-alias/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-default-packages/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d:/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/dacre/.pyenv/plugins/pyenv-alias/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-default-packages/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d
+ [pyenv:101] PYENV_HOOK_PATH=/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/dacre/.pyenv/plugins/pyenv-alias/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-default-packages/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d:/home/dacre/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/dacre/.pyenv/plugins/pyenv-alias/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-default-packages/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d:/home/dacre/.pyenv/plugins/pyenv-which-ext/etc/pyenv.d
+ [pyenv:102] export PYENV_HOOK_PATH
+ [pyenv:104] shopt -u nullglob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment