Macport problems after Mavericks upgrade

After Mavericks upgrade on my MacBook Pro, I had several pieces of code that were not working anymore on some Python projects. As I’m using the Macport version of Python and most of the Python libraries, I tried to reinstall some. But, I encountered problems with Macport installations, even a port -v selfupdate was not working anymore!

Quick search, and it seems that Mavericks killed Macport!! I followed the instructions in this link, starting with this command

and then reinstalling Macport using the provided installer.