Menu

PyDev Newbie import issues with PyQt4

2008-07-03
2013-03-15
  • Dave Sampson

    Dave Sampson - 2008-07-03

    Hey Folks,

    Just learning about eclipse and pydev.

    I installed pydev no problem and made a sample "hello world" application.

    However I am having import issues.

    Importing sys works fine, but trying to import other python extensions don't seem to work very well. For example right now I am trying to get PyQt4 to work. I can import and use functions from the interactive window in PyDev, but I can't import into projects.

    I have all the appropriate directories and site packages listed in the PythonPath, I have even unloaded the compiler, apply changes and reinstall the compiler. I see in the dialogue that it find the PyQt4 packages, but alas still no import ability.

    Any ideas?

    Windows XP
    Eclipse 3.3.2
    PyDev just updated to 1.3.18 through eclipse update
    PyQt 4.4.2-1

    Cheers

     
    • Fabio Zadrozny

      Fabio Zadrozny - 2008-07-04

      Hi Dave,

      I use PyQt4 here and all seems to work, so, it's probably some misconfiguration... have you followed the steps at: http://www.fabioz.com/pydev/manual_101_root.html ?

      Can you give some details on the system and the project pythonpaths?

      Also, imports don't work in the code-completion or when your run your code?

      Cheers,

      Fabio