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
Highlighted
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

Highlighted
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
[Hall of Fame]
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
Vegas Thrill Rider
Extensions available
Highlighted
Community Manager

Re: lxml fails to import after second attempt

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

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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!