Can't run the provided TAO toolkit sample code

Can you add one cell to check if there is the error?
! sudo add-apt-repository ppa:deadsnakes/ppa