AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
January 16, 2020 01:14PM
Dear all

I just update my MaxcOX
and I can't use uber.subject.py anymore
When I type uber_subject.py it will popped this
And I have tried many to install PyQt4....but it said I have already installed, I don't know how to set it.
**** failed to import PyQt4.QtGui ****

PyQt4 must be installed to run the uber_subject.py GUI
--> see the output of: uber_subject.py -help_install

following is my afni_system_check
-------------------------------- general ---------------------------------
architecture: 64bit
system: Darwin
release: 19.0.0
version: Darwin Kernel Version 19.0.0: Thu Oct 17 16:17:15 PDT 2019; root:xnu-6153.41.3~29/RELEASE_X86_64
distribution: 10.15.1 x86_64
number of CPUs: 4
apparent login shell: tcsh
shell RC file: .cshrc (exists)

--------------------- AFNI and related program tests ---------------------
which afni : /Users/louis/abin/afni
afni version : Precompiled binary macosx_10.7_local: Aug 28 2018
: AFNI_18.2.15
AFNI_version.txt : AFNI_18.2.15, macosx_10.7_local, Aug 28 2018
which python : /usr/bin/python
python version : 2.7.16
which R : /usr/local/bin/R
R version : R version 3.5.3 (2019-03-11) -- "Great Truth"
which tcsh : /bin/tcsh

instances of various programs found in PATH:
afni : 1 (/Users/louis/abin/afni)
R : 1 (/Library/Frameworks/R.framework/Versions/3.5/Resources/bin/R)
python : 1 (/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7)
python2 : 1 (/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7)
python3 : 2
/usr/local/Cellar/python/3.6.1/Frameworks/Python.framework/Versions/3.6/bin/python3.6
/usr/bin/python3


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: afex!
These packages are not installed on the computer: phia!
These packages are not installed on the computer: snow!
These packages are not installed on the computer: lme4!
These packages are not installed on the computer: paran!
These packages are not installed on the computer: psych!
These packages are not installed on the computer: brms!


checking for $HOME files...
.afnirc : found
.sumarc : found
.afni/help/all_progs.COMP : found

------------------------------ python libs -------------------------------
** python module not found: PyQt4
-- PyQt4 is no longer needed for an AFNI bootcamp

-------------------------------- env vars --------------------------------
PATH = /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/louis/abin

PYTHONPATH = /usr/local/lib/python2.7/site-packages

R_LIBS =
LD_LIBRARY_PATH =
DYLD_LIBRARY_PATH (sub-shell) = /opt/X11/lib/flat_namespace:/opt/X11/lib/flat_namespace
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/louis/abin

------------------------------ OS specific -------------------------------
which brew : /usr/local/bin/brew
brew version : Homebrew 2.2.3

-- for PyQt4 under brew, consider running:
brew install cartr/qt4/pyqt
++ found existent library /usr/local/lib/libgomp.1.dylib
++ found valid link /usr/local/lib/libglib-2.0.dylib
to ../Cellar/glib/2.52.0/lib/libglib-2.0.dylib
++ 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 'tcsh'...
++ found evar DYLD_LIBRARY_PATH = /opt/X11/lib/flat_namespace:/opt/X11/lib/flat_namespace

========================= summary, please fix: =========================
* missing R packages (see rPkgsInstall)
* insufficient data for AFNI bootcamp

following is my .cshrc file now, I am not sure the path I set is correct or not, hope someone can do me a favor!
====================================================================
set path = ( $path /Users/louis/abin )

if ( -f $HOME/.afni/help/all_progs.COMP ) then
source $HOME/.afni/help/all_progs.COMP
endif

set path = ( /usr/bin $path )
rehash
setenv PYTHONPATH = /usr/local/lib/python2.7/site-packages
uber_subject.py
setenv DYLD_LIBRARY_PATH /opt/X11/lib/flat_namespace

if ( $?DYLD_LIBRARY_PATH ) then
setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:/opt/X11/lib/flat_namespace
else
setenv DYLD_LIBRARY_PATH /opt/X11/lib/flat_namespace
endif

set filec
set autolist
set nobeep
alias ls ls -G
alias ll ls -lG
alias ltr ls -lGtr
======================================================================

And I think I have already installed R package, but it shows rPkgsInstall -pkgs ALL -check : FAILURE
and my env vars also meet problem.

Did anyone can help me to solve my problem? Thank you very much
Subject Author Posted

subject.py without pyqt4

louislee0722 January 16, 2020 01:14PM