The problem is that you added the PyQt4 folder to the pythonpath. You
must only adds its parent folder (i.e.: site-packages) to the
pythonpath for things to be properly resolved.

Cheers,

Fabio

On Tue, Oct 13, 2009 at 11:22 AM, Keith Lander <[email protected]> wrote:
> I spoke too soon! The unresolved import error went away, but now the code
> hits a runtime error saying the PyQt4 modules are not there. Everything
> looks OK to me, so I've attached some screen shots. Any suggestions.
>
> Cheers
> Keith
>
>
>
>
>
>
> On 13 Oct 2009, at 13:04, Fabio Zadrozny wrote:
>
>> Another thing is that PyQt4 has a bug which could prevent the analysis
>> from working correctly -- see:
>>
>> https://sourceforge.net/tracker/index.php?func=detail&aid=2855598&group_id=85796&atid=577329
>> (not sure if it was already fixed).
>>
>> Cheers,
>>
>> Fabio
>>
>> On Tue, Oct 13, 2009 at 9:03 AM, Fabio Zadrozny <[email protected]> wrote:
>>>
>>> The only thing that's really needed is adding it to the pythonpath...
>>> E.g.: if you installed it at D:\bin\Python261\Lib\site-packages\PyQt4,
>>> the D:\bin\Python261\Lib\site-packages folder should be in the
>>> pythonpath.
>>>
>>> Cheers,
>>>
>>> Fabio
>>>
>>> On Tue, Oct 13, 2009 at 5:11 AM, Keith Lander <[email protected]> wrote:
>>>>
>>>> I have been trying to configure PyQt4 without any success. PyQt4 works
>>>> OK when I use Eric4, but no matter how I try and configure it with
>>>> PyDev I get unresolved import errors. Could someone please let me know
>>>> what steps are needed to get this to work.
>>>>
>>>> Cheers
>>>> Keith
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>>>> is the only developer event you need to attend this year. Jumpstart your
>>>> developing skills, take BlackBerry mobile applications to market and
>>>> stay
>>>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>>>> http://p.sf.net/sfu/devconference
>>>> _______________________________________________
>>>> pydev-code mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/pydev-code
>>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> pydev-code mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/pydev-code
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> pydev-code mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pydev-code
>
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
pydev-code mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-code

Reply via email to