I have python 2.5.2 installed as my default python, and it is what shows up in the shell. If I try to debug a program or test in the shell the line "import urlparse" it fails. If I run python from a command prompt, it succeeds. The error is: ImportError: cannot import name urlparse What could cause this?