Fix import None issue with rpy2, but still have libreadline issue.