[wingide-users] import subprocess

John Burnett JBurnett at blizzard.com
Mon May 12 17:11:35 MDT 2008


Hello,

I have "import subprocess" at the top of an extension script.  However,
when I try running it (either on startup or via edit>reload all
scripts), this errors out with:

####
Error::Failed to load startup from
C:\Users\jburnett\AppData\Roaming\Wing IDE 3\scripts\startup.py:
Runtime failure details:
Exception: "<type 'exceptions.ImportError'>"
Value = 'No module named subprocess'
Traceback:
  File "C:\src\ide\bin\2.5\src\scripting\cap_scriptmgr.pyo", line 689,
in _ProcessScriptModule
  File "C:\Users\jburnett\AppData\Roaming\Wing IDE
3\scripts\startup.py", line 3, in <module>
    import subprocess
####

...any idea why?  "import subprocess" works just fine in the shell, both
in and out of Wing...

John


More information about the wingide-users mailing list