I had the same problem and, in my case, the problem was that python was looking for packages in some ordered locations, first of all the default computer one where default old packages are.
To check what your python is looking for you can do:
>>> import sys
>>> print '\n'.join(sys.path)
This was outputting the directory '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python' before pip or brew or port folders.
The simple solution is:
export PYTHONPATH="/Library/Python/2.7/site-packages:$PYTHONPATH"
This worked well for me, I advise you to add this line to your home bash_profile file for the next time. Remember that sys.path is built using the current working directory, followed by the directories in the PYTHONPATH environment variable. Then there are the installation-dependent default dirs.