[wingide-users] Import of urlparse fails

Robert Hancock hancock.robert at gmail.com
Sat Oct 11 09:40:54 MDT 2008


I'm running this under Linux.  The python installation is in the path.

How does wingware decide which python instance to use?

On Fri, Oct 10, 2008 at 11:12 AM, Wingware Support <support at wingware.com> wrote:
> Robert Hancock wrote:
>>
>> 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?
>
> I don't seem to be able to reproduce this on win32.  What is the sys.path
> when your run in Wing's interactive shell?
>
> Thanks,
>
> John
>


More information about the wingide-users mailing list