Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Issues using coreclr on Linux without Mono #801

Closed
@rlordcardano

Description

@rlordcardano

Environment

Details

I was trying to test PR#612 for our use case (calling functionality implemented in .NET Standard 2.0 DLLs from Python 3.x). We currently manage to do this on Linux by using Mono and Pythonnet, but we are trying to avoid the dependency on Mono going forward.

Here I have included the dockerfile used to setup the required environment (Ubuntu 18.04 docker image, with .NET Core SDK, Python 3.6.7 and a clone of PR#612) so that one can reproduce what I'm seeing.

Subsequently, after starting the docker image, run:

cd pythonnetpython3 setup.py bdist_wheel --xplat

Subsequently, install the wheel that has been generated in the dist folder.
The error I get after this is:

>>>import clrFailed to convert CLR files path to absolute pathTraceback (most recent call shown last):  File "<stdin>", line 1, in <module>ImportError: Unable to find clr path

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp