Plenty are failed and some successful installing topojson, the problem was it has too many dependency. First of all topojson run on top of node.js which is the first pitfall of the initial failure by installing blindly with no awareness of stable release.
If you’re using windows, like me, unfortunately, you’ve already messing around with your existing python yet, most probably, failed. And now you land in this page while re-installing and setup python (and those extra libraries) to your system again. Yay.
Here is my safest bet, install virtual machine. In my case I’m using the light, sweet and simple lubuntu
sudo apt-get install g++ curl libssl-dev apache2-utils
sudo apt-get install git-core
for selecting nodejs stable version
git clone https://github.com/joyent/node.git
git checkout v0.10.13
the stable release version, it might changed with the later stable version
Let’s get to the business
sudo make install
sudo npm install nvm
sudo apt-get remove gyp
sudo npm install -g gyp
sudo npm install firstname.lastname@example.org
sudo npm install topojson
Finally got it done. It seems overkill for all the hassle, but hey, it’s working for me and it cost me nothing.