On Sep 15, 2011, at 15:32, Yifei Li wrote: > My MBP is running Lion and the Macports version is 2.0.3. > > I attached the log file. > > Any help is highly appreciated. This should not be necessary, but try selecting MacPorts python 2.6 (using "sudo port select python")