Try this:
(eval-after-load "python"
'(define-key inferior-python-mode-map "\t" 'python-shell-completion-complete-or-indent)
If this works for you, you may have a misconfiguration problem that is preventing python mode to load correctly in your setup.