All pastes #514778 Raw Edit

Anonymous

public text v1 · immutable
#514778 ·published 2007-05-27 22:11 UTC
rendered paste body
Traceback (most recent call last):
  File "main.py", line 7, in <module>
  File "lptmy.pyc", line 1, in <module>
  File "parallel\__init__.pyc", line 13, in <module>
  File "parallel\parallelwin32.pyc", line 59, in <module>
  File "ctypes\__init__.pyc", line 387, in __getattr__
  File "ctypes\__init__.pyc", line 312, in __init__
WindowsError: [Error 22] The specified module could not be found

__________________
  File "parallel\parallelwin32.pyc", line 59, in <module>

import ctypes
import os
#need to patch PATH so that the DLL can be found and loaded
os.environ['PATH'] = os.environ['PATH'] + ';' + os.path.abspath(os.path.dirname(__file__))
#fake module, names of the functions are the same as in the old _pyparallel
#python extension in earlier versions of this modules
#!!!!!!!!!!THE FOLLOWING IS LINE 59!!!!!!!!!!!!!!!!
_pyparallel = ctypes.windll.simpleio
#need to initialize giveio on WinNT based systems
_pyparallel.init()