I have a similar problem and wasn't able to access uber_subject.py with a similar error message. After reading the message board, I also tried adding /sw/bin in front of the PYTHONPATH; however, to no avail. Specifically, within my .cshrc, the command is "setenv PYTHONPATH /sw/bin/usr/local/lib/python2.7/site-packages". Below is the output from running the afni system check. Any help is greatly appreciated, Thank you!
-------------------------------- general ---------------------------------
architecture: 64bit
system: Darwin
release: 16.7.0
version: Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64
distribution: 10.12.6 x86_64
number of CPUs: 4
apparent login shell: tcsh
shell RC file: .cshrc (exists)
--------------------- AFNI and related program tests ---------------------
which afni : /Users/epongpipat/abin/afni
afni version : Precompiled binary macosx_10.7_Intel_64: Sep 12 2017
: AFNI_17.2.13
AFNI_version.txt : AFNI_17.2.13, macosx_10.7_Intel_64, Sep 12 2017
which python : /usr/bin/python
python version : 2.7.10
which R : /usr/local/bin/R
R version : R version 3.4.1 (2017-06-30) -- "Single Candle"
which tcsh : /bin/tcsh
instances of various programs found in PATH:
afni : 1 (/Users/epongpipat/abin/afni)
R : 1 (/Library/Frameworks/R.framework/Versions/3.4/Resources/bin/R)
python : 1 (/usr/bin/python)
python2 : 1 (/usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7)
python3 : 1 (/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/bin/python3.6)
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 : success
checking for $HOME files...
.afnirc : found
.sumarc : found
.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 "<string>", line 1, in <module>
ImportError: cannot import name QtCore
**************************************************
-------------------------------- env vars --------------------------------
PATH = /usr/local/sbin:/usr/local/fsl/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/epongpipat/abin:/Applications/MplusDemo
PYTHONPATH = /sw/bin/usr/local/lib/python2.7/site-packages
R_LIBS =
LD_LIBRARY_PATH =
DYLD_LIBRARY_PATH (sub-shell) =
DYLD_FALLBACK_LIBRARY_PATH (sub-shell) = /Users/epongpipat/abin
------------------------------ data checks -------------------------------
data dir : found AFNI_data6 under $HOME
top history: ...ickr]: added PPI/run.ppi.example.txt, ppi.sample.dir
data dir : found AFNI_demos under $HOME
top history: 26 Sep 2014 [ziad] : added Do_11 to FATCAT_DEMO
data dir : found suma_demo under $HOME
top history: .../SUMA_data/Build_tmp on Wed Aug 20 10:04:23 EDT 2014
data dir : found afni_handouts under $HOME
atlas : found TT_N27+tlrc under /Users/epongpipat/abin
------------------------------ OS specific -------------------------------
which brew : /usr/local/bin/brew
brew version : Homebrew 1.3.2
++ found PyQt4 under /usr/local/lib/python2.7/site-packages
++ found valid link /usr/local/lib/libgomp.1.dylib
to /usr/local/Cellar/gcc/6.1.0/lib/gcc/6/libgomp.1.dylib
++ found valid link /usr/local/lib/libglib-2.0.dylib
to ../Cellar/glib/2.48.1/lib/libglib-2.0.dylib
========================= summary, please fix: =========================
* check for partial install of PyQt4
* consider adding /usr/local/lib/python2.7/site-packages to PYTHONPATH