Forum Discussion
Hi,
> First of all I suggest to install Python 34
Not been a Python user I am not sure if it matters, but TC12.30 uses Python 3.6.
Previous TC versions used Python 3.4 indeed.
Thanks, Alex!
I've updated my reply above.
- SanM7 years agoOccasional Contributor
I have copied the openpyxml folders (openpyxl-2.5.0a1-py3.4.egg, et_xmlfile-1.0.1-py3.4.egg, and jdcal-1.3-py3.4.egg) files to TestComplete path C:\Program Files\SmartBear\TestComplete 11\Bin\Extensions\Python\Python34\Lib\site-packages as attached in the screen shot
But still, I am getting an error as no module named 'openpyxml'. Please correct me if I am wrong.
- AlexKaras7 years agoChampion Level 3
Hi,
> [...] to TestComplete path C:\Program Files\SmartBear\TestComplete 11\Bin\Extensions\Python\Python34\Lib\site-packages
As per help topic referenced by baxatob (https://support.smartbear.com/testcomplete/docs/scripting/specifics/python.html):
"To import custom Python packages, put them in the <TestComplete>\Bin\Extensions\Python\Python36\Lib folder and use the
import
command."Does this help ?
- SanM7 years agoOccasional Contributor
Hi,
I copied the custom packages to TestComplete path "C:\Program Files\SmartBear\TestComplete 11\Bin\Extensions\Python\Python34\Lib" as attached in the screen shot.
After this, I am using below syntax to import
import openpyxl
But same error exist no module named 'openpyxml'.
Related Content
- 3 years agoimmudreams
- 2 years agomattb
- 2 years agoPanaFlorinIonut
Recent Discussions
- 18 hours agojstaehlin
- 2 days agoAivanitskiy