Hi Benjamin,
You better cross check your project settings whether PyQt4 is listed in the 
package section or not. Actually it should automatically add all the 
packages from the interpreter you have selected.
if not please re-configure the interpreter for your project.

Thanks
Liju K

On Friday, 6 March 2015 15:56:10 UTC, Benjam901 wrote:
>
> Hello all,
>
> I am having a bit of trouble with the Pycharm debugger and I cannot wrap 
> my head around it.
>
> My application uses PyQt4 and when I import and run the program regularly 
> all is well and the dialog pops up and things populate etc.
>
> But when I run it in debug mode I get the following error:
>
> Traceback (most recent call last):
>   File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 
> 139.1485\helpers\pydev\pydevd.py", line 2217, in <module>
>     globals = debugger.run(setup['file'], None, None)
>   File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 
> 139.1485\helpers\pydev\pydevd.py", line 1643, in run
>     pydev_imports.execfile(file, globals, locals)  # execute the script
>   File "D:/projects/Tools/UnitManager/scripts/__main__.py", line 13, in 
> <module>
>     from PyQt4 import QtGui
> ImportError: DLL load failed: The specified procedure could not be found.
>
> I am quite confused since everything runs as expected when I run the 
> application normally.
>
> Has anyone encountered this issue with PyCharm debugger or perhaps another 
> application.
>
> PyCharm uses pydev to do its debugging by the looks of it
>
> Cheers,
>
> Ben
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/8cb1a2f7-9a29-4aa6-88dd-826e7e884ad1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to