Forum Discussion
From what I understand, TestComplete comes with minimal installation of Python, and each version of TestComplete comes with a version of Python. TestComplete v15.42.9.7 x64 comes with Python 3.8.10 x64.
Therefore, you need to download the same version of Python and follow Python - Specifics of Usage
Alternative method, is to open WHL file and extract the folder to e.g. <TestComplete>\x64\Bin\Extensions\Python\Python38\Lib (depending on your version) and use
import sys
sys.path.insert(0, "<TestComplete>\x64\Bin\Extensions\Python\Python38\Lib\site-packages")
import your_library_name
- rjoyce2 years agoOccasional Contributor
I have pycurl here
C:\Program Files (x86)\SmartBear\TestComplete 15\Bin\Extensions\Python\Python38\Lib\site-packages\curl
My Code
from os import sys
sys.path.insert(0, 'C:\Program Files (x86)\SmartBear\TestComplete 15\Bin\Extensions\Python\Python38\Lib\site-packages')def test2():
curl = pycurl.Curl()Generates the error: Python runtime error
ModuleNotFoundError: No module named 'pycurl'
Related Content
- 2 years agolodecesa
- 8 months agogdave
- 4 years agojodydowling
- 4 years agomsalvador
Recent Discussions
- 40 minutes agosimonaferrara
- 10 hours agoSubhraDas
- 2 days agotramuntana