cancel
Showing results for 
Search instead for 
Did you mean: 

lxml fails to import after second attempt

Highlighted
New Contributor

lxml fails to import after second attempt

I am trying to run a python test multiple times and on the second run, I get the following error:

 

Python runtime error.
ImportError: Interpreter change detected - this module can only be loaded into one interpreter per process.

 

Has anybody found a way around this?

3 REPLIES 3
Community Hero

Re: lxml fails to import after second attempt

I suggest that you contact Support directly about this.  Here's the link:

https://support.smartbear.com/message/?prod=TestComplete

Community Hero

Re: lxml fails to import after second attempt

It might be helpful to see how you are implementing things in your code.  I know that any number of people have imported python modules into TestComplete without error.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Community Manager

Re: lxml fails to import after second attempt

My 2 cents Smiley Happy @mhowerto, make sure that you are using the latest TestComplete version - 12.60

---------
Tanya Gorbunova
SmartBear Community Manager

Join the September Hub-bub to show off, learn and win
New Here?
Join us and watch the welcome video:
Join the September Hub-bub to show off, learn and win