Forum Discussion

mpolamuri's avatar
mpolamuri
Occasional Contributor
6 years ago

How to install Testcomplete mobile 12.0 version

How to install Test complete mobile 12.0 version

I have downloaded now latest one but unable to work with python site-packs

no module found xlrd

I have copied all site package in Test complete python site-packs 

in 12.0 version i have done same it works in that version but in new version it shows error.

 

Please i want to revert to old version where can find 12.0 version installer 

 

code:

import xlrd

def GetDataFromExcel (strExcelFilePath, strExcelSheetName):
xl = xlrd.open_workbook(strExcelFilePath)
sh = xl.sheet_by_name(strExcelSheetName)
return sh

 

i have tried below 

openpxlrd_location = "C:\\Python34\\Lib\\site-packages\\xlrd-1.0.0-py3.4.egg\\xlrd" 

 

No module named 'xlrd' Error location: Unit: 

Python runtime error.

ModuleNotFoundError: No module named 'xlrd'

 

1 Reply

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Introduced in 12.4x, TestComplete, by default, runs as a 64-bit version.  I'm guessing that the xlrd module is 32-bit.

     

    You can access the 32-bit version of TestComplete.  Run the executable found in C:\Program Files (x86)\SmartBear\TestComplete 12\Bin and you'll get the x86 version.  See if that allows your modules to run.