Forum Discussion

jlhoang's avatar
jlhoang
New Member
21 days ago

Work Arounds for "SystemError: intialization of md_mypyc did not return an extension module"

Hi, all. I'm having similar issues to this discussion post from a couple of years ago: 

importing of python module for simple-salesforce | SmartBear Community

I know third-party libraries are a little iffy with TestComplete, but I was wanting to try to send out telemetry using Azure Application Insights, and I am able to successfully run my Test Script once before it throws the error from trying to import the module when I re-run the test just manually with TestComplete's Run Test Routine button. 

Was wondering if people have found any python script workaround if they've encountered similar errors. Thank you for your time and help! 

1 Reply

  • rraghvani's avatar
    rraghvani
    Icon for Champion Level 3 rankChampion Level 3

    There's no fix for this, there are limitations to how Python and TestComplete work.