Forum Discussion
I have installed Python 3.8.10 x64 in folder C:\Temp\Python\Python38, which is the exact same version that comes with TestComplete 15.42.9.7 x64. Also, I have installed pip install pycurl and pip install certifi.
If I run my Test1(), I get an error relating to the module name
However, if I run Test2()
The error is not relating to import pycurl but something else. This indicates that pycurl and certifi has been imported
pip install pycurl==7.43.0.5 gives the response
Requirement already satisfied: pycurl==7.43.0.5 in c:\program files (x86)\smartbear\testexecutelite 15\x64\bin\extensions\python\python38\lib\site-packages (7.43.0.5)
so now that I have the path of where it is installed, in testExecute mind you, not in testComplete, I add that path to my script:
from os import sys
sys.path.insert(0, 'C:\Program Files (x86)\SmartBear\TestExecuteLite 15\x64\Bin\Extensions\Python\Python38\Lib\site-packages')
but when I execute, I still get the not found error
Related Content
- 2 years ago
- 5 years ago
- 5 years ago
- 5 years ago
Recent Discussions
- 18 hours ago
- 7 days ago
- 10 days ago