Thank you in advance for the advice!
Background:
Relative to the people on this site I\'m new to programming, and despite some research I\'m not familiar wit
i initially misunderstood your question to be the standard one of - why can't i run my macports python? but in fact, you specified that you are trying to use the self-installed python, and you are. the problem is, that python doesn't know where to look for your libraries which macports installed.
you were on the right track with that question you linked to. see this response, but replace the path with your actual path to your macports libs, viz:
export PYTHONPATH="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages:$PYTHONPATH"
see if that doesn't do the trick!