Title: Issues using coreclr on Linux without Mono · Issue #801 · pythonnet/pythonnet · GitHub
Open Graph Title: Issues using coreclr on Linux without Mono · Issue #801 · pythonnet/pythonnet
X Title: Issues using coreclr on Linux without Mono · Issue #801 · pythonnet/pythonnet
Description: Environment Pythonnet version: PR #612 Python version: 3.6.7 Operating System: Ubuntu 18.04 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...
Open Graph Description: Environment Pythonnet version: PR #612 Python version: 3.6.7 Operating System: Ubuntu 18.04 Details I was trying to test PR #612 for our use case (calling functionality implemented in .NET Standard...
X Description: Environment Pythonnet version: PR #612 Python version: 3.6.7 Operating System: Ubuntu 18.04 Details I was trying to test PR #612 for our use case (calling functionality implemented in .NET Standard...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/801
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Issues using coreclr on Linux without Mono","articleBody":"### Environment\r\n\r\n- Pythonnet version: PR #612 \r\n- Python version: 3.6.7\r\n- Operating System: Ubuntu 18.04\r\n\r\n### Details\r\n\r\nI 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.\r\n\r\n[Here](https://gist.github.com/rlordcardano/c1c961effec6be2ddeab8798c0e85c29) 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.\r\n\r\nSubsequently, after starting the docker image, run:\r\n\r\n```\r\ncd pythonnet\r\npython3 setup.py bdist_wheel --xplat\r\n```\r\n\r\nSubsequently, install the wheel that has been generated in the dist folder.\r\nThe error I get after this is:\r\n\r\n```\r\n\u003e\u003e\u003eimport clr\r\nFailed to convert CLR files path to absolute path\r\nTraceback (most recent call shown last):\r\n File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\r\nImportError: Unable to find clr path\r\n```","author":{"url":"https://github.com/rlordcardano","@type":"Person","name":"rlordcardano"},"datePublished":"2019-01-02T21:02:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/801/pythonnet/issues/801"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4cd25be0-ac91-f078-f4c3-70e988a0b303 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC2A:3476BC:4441F72:5EFCAE5:69714937 |
| html-safe-nonce | bdda966c331729b92b0fec034542fa0875d8b05fe3e940d6b51bcb57c5ed2895 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzJBOjM0NzZCQzo0NDQxRjcyOjVFRkNBRTU6Njk3MTQ5MzciLCJ2aXNpdG9yX2lkIjoiNDk0MjYzNjMwNTczNzY2NDgyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9bd08896c80ea61d73d6b34433c3f99fa529bca2f36b11811b96f52d0568100c |
| hovercard-subject-tag | issue:395379010 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pythonnet/pythonnet/801/issue_layout |
| twitter:image | https://opengraph.githubassets.com/20ad0a38a57b90566479e05c18ad35b33fe3ee8ba993274e3fd91c056029e528/pythonnet/pythonnet/issues/801 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/20ad0a38a57b90566479e05c18ad35b33fe3ee8ba993274e3fd91c056029e528/pythonnet/pythonnet/issues/801 |
| og:image:alt | Environment Pythonnet version: PR #612 Python version: 3.6.7 Operating System: Ubuntu 18.04 Details I was trying to test PR #612 for our use case (calling functionality implemented in .NET Standard... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rlordcardano |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9bd14a55b65b030988a89787ed340c0f040258c3240af6941d85f740f21629a0 |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 24a7109a3a584a05e29240fcc1ba60220deccdb8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width