AFNI installation issue with fink


I have gotten to the point of AFNI installation where I installed fink. But I think maybe it is not on the path. I am not sure how to get it on the path. When I tried to check… fink --version
fink: Command not found.

I cant install PyQt4 which I want to run
sudo fink install pyqt4-mac-py27
sudo: fink: command not found

This is the output
Do you have any idea what I am doing wrong?

-------------------------------- general ---------------------------------
architecture: 64bit
system: Darwin
release: 15.4.0
version: Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64
distribution: 10.11.4 x86_64
number of CPUs: 4
apparent login shell: tcsh
shell RC file: .cshrc (exists)

--------------------- AFNI and related program tests ---------------------
which afni : /Users/fMRI_Analysis/abin/afni
afni version : Precompiled binary macosx_10.7_local: May 26 2017
: AFNI_17.1.07
AFNI_version.txt : AFNI_17.1.07, macosx_10.7_local, May 26 2017
which python : /usr/bin/python
python version : 2.7.10
which R : /usr/local/bin/R
R version : R version 3.4.0 (2017-04-21) – “You Stupid Darkness”
which tcsh : /bin/tcsh

instances of various programs found in PATH:
afni : 1 (/Users/fMRI_Analysis/abin/afni)
R : 1 (/Library/Frameworks/R.framework/Versions/3.4/Resources/bin/R)
python : 1 (/usr/bin/python)
python2 : 0
python3 : 0

testing ability to start various programs…
afni : success
suma : success
3dSkullStrip : success : success
3dAllineate : success
3dRSFC : success
SurfMesh : 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 -------------------------------
** python module not found: PyQt4

python binaries under /sw/bin:
/sw/bin/python (sym link to /sw/bin/python2.7)

-------------------------------- env vars --------------------------------
PATH = /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/fMRI_Analysis/abin:/Users/fMRI_Analysis/sw/fink:/Users/fMRI_Analysis/sw/fink

DYLD_LIBRARY_PATH (sub-shell) = /opt/X11/lib/flat_namespace

------------------------------ 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/fMRI_Analysis/abin

------------------------------ OS specific -------------------------------

++ found 1 dylib files under ‘/opt/X11/lib/flat_namespace’
– found ‘libXt’ dylib files:
– recent OS X, cannot check DYLD_LIBRARY_PATH in cur shell, cheating …
++ found evar DYLD_LIBRARY_PATH = /opt/X11/lib/flat_namespace

========================= summary, please fix: =========================

  • insufficient data for AFNI bootcamp
  • consider installing fink
  • consider installing PyQt4


You just need to put fink in your path, and preferably
before /usr/bin. Edit your ~/.cshrc file to put /sw/bin
at the start of your path, log out and log back in.

Please let me know how it goes.

  • rick