| View previous topic :: View next topic |
| Author |
Message |
connie
Joined: 24 Jul 2006 Posts: 1
|
Posted: Mon Jul 24, 2006 3:41 pm Post subject: run sample scripts |
|
hello
when trying to run the sample scripts I get the following error:
Traceback (most recent call last):
File "H:\python\ranorex\Scripts\CalcTest1-de.py", line 20, in ?
import RanorexPython as Ranorex
ImportError: No module named RanorexPython
but I have copied the the RanorexCore.dll and RanorexPython.dll files into the dll directory of python, so that should'nt be the problem.
(when installing python I got the message, that MSVCR71.dll was missing, so I downloaded that file and put it in the windows/system directory. don't know if that has anything to do with it)
any suggestions?
thanks |
|
| Back to top |
|
 |
admin Site Admin
Joined: 05 Jul 2006 Posts: 351
|
Posted: Tue Jul 25, 2006 11:26 pm Post subject: |
|
Hi Connie,
It seems to be a Python 2.4.3 installation problem.
(Ranorex-0.9.1 works with the Python Version 2.4.3)
RanorexPython needs RanorexCore.dll and Python24.dll.
Python24.dll needs MSVCR71.dll.
The DLLs Python24.dll and MSVCR71.dll must be in the Windows\System32 directory.
The DLLs RanorexPython.dll and RanorexCore.dll should be in the Python24\DLLs directory.
Please check the DLLs, if it doesn't work, please copy RanorexPython.dll and RanorexCore.dll into the Ranorex\Scripts directory, and try to start the testscript again.
Please inform me about the results.
Jenö Herget
Ranorex Team |
|
| Back to top |
|
 |
|