You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to this library and running into a problem. I've created a build but when I try to run a Python script through my embedded interpreter I'm getting this message:
error instantiating embedded Python interpreter: OxidizedFinder not found on sys.meta_path[0] (this should never happen)
I've searched around but can't find a straightforward answer anywhere. The 'this should never happen' part is especially discouraging.
Anyone have an idea how to move past this error?
The text was updated successfully, but these errors were encountered:
I want to say this is reproducible by writing custom Rust code. But looking at the interpreter initialization code in pyembed, it is difficult for me to see how this error could occur. Although there is a TODO in remove_external_importers() that may be the source of this.
This can be caused by a .pth file in site-packages installing its own meta path importer. And in recent months modern versions of setuptools employ such a trick. We'll need to shore up the sys.meta_path code to be more tolerant of additional meta path importers.
I'm new to this library and running into a problem. I've created a build but when I try to run a Python script through my embedded interpreter I'm getting this message:
error instantiating embedded Python interpreter: OxidizedFinder not found on sys.meta_path[0] (this should never happen)
I've searched around but can't find a straightforward answer anywhere. The 'this should never happen' part is especially discouraging.
Anyone have an idea how to move past this error?
The text was updated successfully, but these errors were encountered: