Python.Net с использованием .NET Core Runtime вместо Mono в Linux

Можно ли загрузить dll net core на Python и Linux, используя Python.Net, но полагаясь на среду выполнения .NET Core вместо моно?

Кажется, это невозможно:

Collecting pythonnet==2.4.0
  Downloading pythonnet-2.4.0.tar.gz (1.8 MB)
Building wheels for collected packages: pythonnet
  Building wheel for pythonnet (setup.py): started
  Building wheel for pythonnet (setup.py): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-33weh4lj/pythonnet/setup.py'"'"'; __file__='"'"'/tmp/pip-install-33weh4lj/pythonnet/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-vikr8ffc
       cwd: /tmp/pip-install-33weh4lj/pythonnet/
  Complete output (43 lines):
  running bdist_wheel
  running build
  running build_ext
  /bin/sh: 1: mono: not found
  Traceback (most recent call last):

person carraua    schedule 08.06.2020    source источник


Ответы (1)


В настоящее время это не поддерживается:

https://github.com/pythonnet/pythonnet/issues/1157#issuecomment-641179234

person carraua    schedule 09.06.2020