Looks like theres an issue with install of PyQt4
bash-3.2$ afni_system_check.py -check_all
-------------------------------- general ---------------------------------
architecture: 64bit
system: Darwin
release: 16.0.0
version: Darwin Kernel Version 16.0.0: Mon Aug 29 17:56:20 PDT 2016; root:xnu-3789.1.32~3/RELEASE_X86_64
distribution: 10.12 x86_64
number of CPUs: 4
apparent login shell: tcsh (current shell is bash)
shell RC file: .cshrc (exists)
--------------------- AFNI and related program tests ---------------------
which afni : /Users/amlung/abin/afni
afni version : Precompiled binary macos_10.12_local: Aug 14 2018
: AFNI_18.2.10
AFNI_version.txt : AFNI_18.2.10, macos_10.12_local, Aug 14 2018
which python : /usr/local/bin/python
python version : 2.7.16
which R : /usr/local/bin/R
R version : R version 3.3.2 (2016-10-31) – “Sincere Pumpkin Patch”
which tcsh : /bin/tcsh
instances of various programs found in PATH:
afni : 1 (/Users/amlung/abin/afni)
R : 1 (/Library/Frameworks/R.framework/Versions/3.3/Resources/bin/R)
python : 2
/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7
/usr/bin/python
python2 : 1 (/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7)
python3 : 1 (/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/bin/python3.7)
testing ability to start various programs…
afni : success
suma : success
3dSkullStrip : success
uber_subject.py : success
3dAllineate : success
3dRSFC : success
SurfMesh : success
3dClustSim : success
checking for R packages…
rPkgsInstall -pkgs ALL -check : FAILURE
oo Warning:
These packages are not installed on the computer: brms!
checking for $HOME files…
.afnirc : found
.sumarc : missing
.afni/help/all_progs.COMP : found
------------------------------ python libs -------------------------------
++ module ‘PyQt4’ found at /usr/local/lib/python2.7/site-packages/PyQt4
++ module loaded: PyQt4
** have PyQt4, but cannot load QtCore, QtGui; error is:
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named sip
-------------------------------- env vars --------------------------------
PATH = /Applications/freesurfer/bin:/Applications/freesurfer/fsfast/bin:/Applications/freesurfer/tktools:/usr/local/fsl/bin:/Applications/freesurfer/mni/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/amlung/abin:/Applications/workbench/bin_macosx64/:/Applications/workbench/bin_macosx64:/Applications/workbench/bin_macosx64:/Applications/workbench/bin_macosx64:/Applications/workbench/bin_macosx64
PYTHONPATH = /usr/local/lib/python2.7/site-packages/
R_LIBS =
LD_LIBRARY_PATH =
DYLD_LIBRARY_PATH (sub-shell) =
DYLD_FALLBACK_LIBRARY_PATH (sub-shell) =
------------------------------ data checks -------------------------------
data dir : missing AFNI_data6
data dir : missing AFNI_demos
data dir : missing suma_demo
data dir : missing afni_handouts
atlas : found TT_N27+tlrc under /Users/amlung/abin
------------------------------ OS specific -------------------------------
which brew : /usr/local/bin/brew
brew version : Homebrew 2.1.11
++ found PyQt4 under /usr/local/lib/python2.7/site-packages
– consider installing gcc under homebrew
– consider installing glib under homebrew
++ found 1 dylib files under ‘/opt/X11/lib/flat_namespace’
– found ‘libXt’ dylib files:
/opt/X11/lib/flat_namespace/libXt.6.dylib
– recent OS X, cheating to check DYLD_LIBRARY_PATH in cur shell ‘bash’…
** env var DYLD_LIBRARY_PATH not set to contain /opt/X11/lib/flat_namespace
– recent OS X, cheating to check DYLD_LIBRARY_PATH in shell ‘tcsh’…
++ found evar DYLD_LIBRARY_PATH = /opt/X11/lib/flat_namespace
========================= summary, please fix: =========================
- missing R packages (see rPkgsInstall)
- consider running “suma -update_env” for .sumarc
- check for partial install of PyQt4
- insufficient data for AFNI bootcamp
- consider adding /usr/local/lib/python2.7/site-packages to PYTHONPATH
- please set DYLD_LIBRARY_PATH to /opt/X11/lib/flat_namespace in bash