Unable to import lib tiff after installing Anaconda on Mac OS X 10.9.2
Question: I have developed some software using Python under Windows 7.

I have given it to a colleague to run on a Mac (OS X 10.9.2). I have never
used a Mac and am having trouble helping them to get started. I have
downloaded and installed [Anaconda
1.9.2](https://store.continuum.io/cshop/anaconda/) on the Mac. According to
the continuum documentation, `libtiff` is included, but when I run my python
file using the Spyder IDE I get the following error when it tries to import
`libtiff`:

> ImportError: No module named libtiff.

Following one of the answers on Stack Ooverflow, I tried:

    
    
    conda install libtiff
    

This runs and returns:

> All requested packages already installed.

However on Windows 7 I can see a libtiff folder under `\python27\lib\site-
packages`. On the Mac there is no `libtiff` folder under `/lib/python2.7/site-
packages`.

Can anyone tell me what I am missing?


Answer: Unclear on this. But what you can do to begin with is to type echo `$PATH`
from the terminal and see what paths are set. Unclear on how Anaconda
interacts with the system, but a good hunch is that if the library file is not
in a path then that would cause this.

Also, looking at this thread on [Google
Groups](https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/F8Q-8xyvrks)
it seems that Anaconda installs it’s own libraries that might need to be
symbolically linked into the main `/usr/local/lib` directory. The user Denis
Engemann—who made the post—posts this bash script in the last response in the
thread:

    
    
    for lib in ~/anaconda/lib/*;
    do
      ln -s $lib /usr/local/lib/$(basename $lib);
    done
    

I would recommend checking those two directories first before linking to make
sure all is as expected.

