Hi Tony,
On Fri, Dec 14, 2012 at 1:31 PM, Parand Darugar <dar...@gmail.com> wrote:Hi Tony,Installation steps:This is on OS X 10.8.2, Python 2.7.2:- I setup a virtualenv and activated that virtual env.- I cloned the scikit-image git repository- I installed:$ python ./setup.py install...Installed /Users/parand/Projects/Receipts/pyenv/lib/python2.7/ site-packages/scikit_image-0. 8dev-py2.7-macosx-10.8-intel. egg Processing dependencies for scikit-image==0.8devFinished processing dependencies for scikit-image==0.8dev$ pythonPython 2.7.2 (default, Jun 20 2012, 16:23:33)[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin>>> import skimage>>> skimage.__version__'0.8dev'>>> import skimage.filter.rank as rankTraceback (most recent call last):File "<stdin>", line 1, in <module>File "skimage/filter/__init__.py", line 2, in <module>from .ctmf import median_filterFile "skimage/filter/ctmf.py", line 15, in <module>from . import _ctmfImportError: cannot import name _ctmf
Best,ParandHi Parand,If those commands are exactly as you copied them above, it looks like you're running the python interpreter from within the root scikit-image directory. Since python prepends the path of the working directory to the python path, you're actually importing the skimage package from that directory---not the one you just installed (i.e. the one in site-packages). You can check which you're running with:python -c 'import skimage; print skimage.__file__'If you move up one directory and then start the python interpreter, does the rank import work?Best,-Tony