Error: A GXpy instance has already been created for current thread

I'm trying to run a Python script within Oasis Montaj. The Python GX has been configured (the GX was downloaded, and the Python folder was chosen) according to the Installation guide. Python instance has been successfully verified. When I try to run the "Hello world" file (Python -> Configure Python -> Hello world) and/or some external Python script, I'm constantly getting the error saying "Error: A GXpy instance has already been created for current thread". Does anybody have an idea how it can be resolved?

Answers