Before installing from source, you should uninstall nupic entirely. Then try installing from source again.