I downloaded the Free version to try out, but when I try to run any of the scripts I get an error
Traceback (most recent call last):
File "Scripts\CalcTest2.py", line 35, in ?
Ranorex = imp.load_dynamic('RanorexPython', RANOREX_BINPATH + 'RanorexPython
.dll')
ImportError: DLL load failed: The specified module could not be found.
I have Python 2.4.3.
I have tried adding c:\Python24;c:\Python24\Dlls to my path.
I have copied the Ranorex DLLs to c:\Python24\Dlls
I have copied the Python24.dll to c:\windows\system32 (as suggested in a earlier post)
MSVCRT71.DLL exists in system32 as well as many other dirs (including Python)
I have further tried adding python dirs and Ranorex dirs to my PATH, but nothing seems to help.
Anyone have further suggestions on what to try to make this work?
I am running on Windows XP SP2.
Ranorex Python module not found
Please try the following:
Copy the Binaries RanorexCore.dll and RanorexPython.dll from the Ranorex Bin\Python2.4 folder in the DLLs directory of the Python installation (e.g. C:\Python24\DLLs).
In your python source code import RanorexPython as follows:
This should work in Python 2.4.3
Jenö
Ranorex Team
Copy the Binaries RanorexCore.dll and RanorexPython.dll from the Ranorex Bin\Python2.4 folder in the DLLs directory of the Python installation (e.g. C:\Python24\DLLs).
In your python source code import RanorexPython as follows:
Code: Select all
import RanorexPython as Ranorex
Jenö
Ranorex Team