Skip to content

SystemPlatformNotSupported when running test_tutorials.py using pythonnet #333

@SB6988

Description

@SB6988

Hi everybody, I am trying to use Infer.NET in Python by copying your example file test_tutorials.py, which leverages pythonnet. However, I get the following error:

SystemPlatformNotSupportedException: Operation is not supported on this platform

After a list of functions that throw this error, I get:

The above exception was the direct cause of the following exception:

SystemPlatformNotSupportedError: Current platform is not supported by the current compiler choice Auto. Try a different one.

Does anybody now what is the root cause of this platform error? How do I change a compiler choice? Or is there a known workaround for this? My Python implementation is Cpython, might this be due to the fact that this is designed for IronPython only?

I am posting this here, because the code is in your repository but it does not run althought it would be expected to do so, therefore it could be an issue related to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions