I'm a newbie and I needed the pySerial and feedparser module for my projects. I'm running Mountain lion.
I followed the following tutorial so that I could upgrade to python 2.7.3 and then use the above mentioned modules.
I followed this tutorial till I installed pip. Instead of installing Virtualenv. I used the following commands to install pySerial and feedparser
$ pip install pySerial
Requirement already satisfied (use --upgrade to upgrade): pySerial in /Library/Python/2.7/site-packages
$ pip install feedparser
Requirement already satisfied (use --upgrade to upgrade): feedparser in /usr/local/lib/python2.7/site-packages
# Set architecture flags
export ARCHFLAGS="-arch x86_64"
# Ensure user-installed binaries take precedence
# Load .bashrc if it exists
test -f ~/.bashrc && source ~/.bashrc
As a quick workaround you can try export PYTHONPATH variable: