numpy - Beginner, Error in python regarding site-packages/celltool/numerics/fitpack/_fitpack.so -


i'm total noob @ programming please bare me! i'm image analysis research, , involves using celltool (http://pantheon.yale.edu/~zp2/celltool/), python, , numpy. i'm on os x 10.8.3. on old laptop crashed, able run commands fine, got new 1 , things not going smoothly!

i believe have celltool , numpy installed correctly, , i'm using python 2.7.2 that's standard on mac. when try run python script "calculate_distances.py" command, error:

yuxins-macbook-pro:modified_contours yuxinsun$ python calculate_distances.py traceback (most recent call last):   file "calculate_distances.py", line 24, in <module>     normals = contours[n-1].inward_normals()   file "/library/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/celltool/contour/contour_class.py", line 384, in inward_normals     import celltool.numerics.fitpack fitpack   file "/library/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/celltool/numerics/fitpack/__init__.py", line 1, in <module>     fitpack import *   file "/library/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/celltool/numerics/fitpack/fitpack.py", line 34, in <module>     import _fitpack importerror: dlopen(/library/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/celltool/numerics/fitpack/_fitpack.so, 2): library not loaded: /usr/local/lib/libgfortran.2.dylib   referenced from: /library/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/celltool/numerics/fitpack/_fitpack.so   reason: image not found 

and have no idea of means...i need run python script , file spits out.

am missing "fitpack" whatever is? if so, how install it? or can fix problem.

thank help!!!

you need make sure have installed per installation requirements:

if 1 of above binary installers did not suit needs,  please install celltool source code.  depends on 3 things:  1.python (version 2.3 or later). 2. numpy 1.0.4 or later. 3. working c/c++ , fortran compilers. 

and looks fortran compiler libs not installed.

this might helpful: https://scicomp.stackexchange.com/questions/2469/how-should-i-install-a-fortran-compiler-on-a-mac-os-x-10-x-x-4


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -