René's URL Explorer Experiment


Title: Failed to `load("coreclr")` for .NET 10.0 · pythonnet/pythonnet · Discussion #2676 · GitHub

Open Graph Title: Failed to `load("coreclr")` for .NET 10.0 · pythonnet/pythonnet · Discussion #2676

X Title: Failed to `load("coreclr")` for .NET 10.0 · pythonnet/pythonnet · Discussion #2676

Description: Failed to `load("coreclr")` for .NET 10.0

Open Graph Description: I'm trying to update from .NET 8.0 to .NET 10, but running into a FrameworkMissingFailure with Failed to create a .NET runtime (coreclr). --- RUN apt-get update && apt-get install -y dotnet-sdk-8.0...

X Description: I'm trying to update from .NET 8.0 to .NET 10, but running into a FrameworkMissingFailure with Failed to create a .NET runtime (coreclr). --- RUN apt-get update && apt-get install -y do...

Opengraph URL: https://github.com/pythonnet/pythonnet/discussions/2676

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"Failed to `load(\"coreclr\")` for .NET 10.0","text":"

I'm trying to update from .NET 8.0 to .NET 10, but running into a FrameworkMissingFailure with Failed to create a .NET runtime (coreclr).

\n
--- RUN apt-get update && apt-get install -y dotnet-sdk-8.0 dotnet-runtime-8.0\n+++ RUN apt-get update && apt-get install -y dotnet-sdk-10.0 dotnet-runtime-10.0
\n

The reported versions are as expected:

\n

before

\n
dotnet --version\n8.0.122\ndotnet --list-sdks\n8.0.122 [/usr/lib/dotnet/sdk]\ndotnet --list-runtimes\nMicrosoft.AspNetCore.App 8.0.22 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]\nMicrosoft.NETCore.App 8.0.22 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]\n
\n

after

\n
dotnet --version\n>>> 10.0.100\ndotnet --list-sdks\n>>> 10.0.100 [/usr/lib/dotnet/sdk]\ndotnet --list-runtimes\n>>> Microsoft.AspNetCore.App 10.0.0 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]\n>>> Microsoft.NETCore.App 10.0.0 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]\n
\n

The Dockerfile is based on mambaorg/micromamba:2-ubuntu24.04.

\n

The full traceback is this:

\n
10.0.100\nPython 3.13.11\nYou must install or update .NET to run this application.\nApp: /opt/conda/bin/python3.13\nArchitecture: x64\nFramework: 'Microsoft.NETCore.App', version '10..0' (x64)\n.NET location: /usr/lib/dotnet\nThe following frameworks were found:\n  10.0.0 at [/usr/lib/dotnet/shared/Microsoft.NETCore.App]\nLearn more:\nhttps://aka.ms/dotnet/app-launch-failed\nTo install missing framework, download:\nhttps://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=10..0&arch=x64&rid=ubuntu.24.04-x64&os=ubuntu.24.04\nTraceback (most recent call last):\n  File \"/opt/conda/lib/python3.13/site-packages/pythonnet/__init__.py\", line 77, in _create_runtime_from_spec\n    return clr_loader.get_coreclr(**params)\n           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^\n  File \"/opt/conda/lib/python3.13/site-packages/clr_loader/__init__.py\", line 158, in get_coreclr\n    impl = DotnetCoreRuntime(runtime_config=runtime_config, dotnet_root=dotnet_root)\n  File \"/opt/conda/lib/python3.13/site-packages/clr_loader/hostfxr.py\", line 35, in __init__\n    self._handle = _get_handle_for_runtime_config(\n                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^\n        self._dll, self._dotnet_root, runtime_config\n        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n    )\n    ^\n  File \"/opt/conda/lib/python3.13/site-packages/clr_loader/hostfxr.py\", line 159, in _get_handle_for_runtime_config\n    check_result(res)\n    ~~~~~~~~~~~~^^^^^\n  File \"/opt/conda/lib/python3.13/site-packages/clr_loader/util/__init__.py\", line 42, in check_result\n    raise error\nclr_loader.util.clr_error.ClrError: 0x80008096: FrameworkMissingFailure\nThe above exception was the direct cause of the following exception:\nTraceback (most recent call last):\n  File \"/run/test.py\", line 2, in <module>\n    load(\"coreclr\")\n    ~~~~^^^^^^^^^^^\n  File \"/opt/conda/lib/python3.13/site-packages/pythonnet/__init__.py\", line 135, in load\n    set_runtime(runtime, **params)\n    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^\n  File \"/opt/conda/lib/python3.13/site-packages/pythonnet/__init__.py\", line 29, in set_runtime\n    runtime = _create_runtime_from_spec(runtime, params)\n  File \"/opt/conda/lib/python3.13/site-packages/pythonnet/__init__.py\", line 90, in _create_runtime_from_spec\n    raise RuntimeError(\n    ...<2 lines>...\n    ) from exc\nRuntimeError: Failed to create a .NET runtime (coreclr) using the\n                parameters {}.\n
\n

Any ideas what might be the issue?

","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

Can reproduce this on pythonnet 3.0.5 and clr-loader 0.2.9 (latest versions as of now). This PR should fix the issue

","upvoteCount":0,"url":"https://github.com/pythonnet/pythonnet/discussions/2676#discussioncomment-15399559"}}}

route-pattern/_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format)
route-controllervoltron_discussions_fragments
route-actiondiscussion_layout
fetch-noncev2:2425c35b-6de8-cc5f-6b78-633028bb1213
current-catalog-service-hash9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be
request-id9D5E:340FCB:1655538:1DF4BBA:69706751
html-safe-nonce40430655865bbea7f76c1a3263ef9cc723fdf708f4a1af0cb5725b66e6249fe3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDVFOjM0MEZDQjoxNjU1NTM4OjFERjRCQkE6Njk3MDY3NTEiLCJ2aXNpdG9yX2lkIjoiMjY1NjM0OTI4MzM0OTk4MTAwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8da6f361845ddec7c184c11e580a564471fec6bbd6847b099f022d3cdfe08323
hovercard-subject-tagdiscussion:9299949
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/discussions_fragments/discussion_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/pythonnet/pythonnet/2676/discussion_layout
twitter:imagehttps://opengraph.githubassets.com/75047217f862d6d2472852fb02c87b5ad32742ef94b386c49881b4a03c1e40b3/pythonnet/pythonnet/discussions/2676
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/75047217f862d6d2472852fb02c87b5ad32742ef94b386c49881b4a03c1e40b3/pythonnet/pythonnet/discussions/2676
og:image:altI'm trying to update from .NET 8.0 to .NET 10, but running into a FrameworkMissingFailure with Failed to create a .NET runtime (coreclr). --- RUN apt-get update && apt-get install -y dotnet-sdk-8.0...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2
turbo-cache-controlno-preview
go-importgithub.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git
octolytics-dimension-user_id6050430
octolytics-dimension-user_loginpythonnet
octolytics-dimension-repository_id14748123
octolytics-dimension-repository_nwopythonnet/pythonnet
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14748123
octolytics-dimension-repository_network_root_nwopythonnet/pythonnet
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7d6181066430cc06553c8396ca201e194ae33cb9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fdiscussions%2F2676
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fdiscussions%2F2676
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fdiscussions_fragments%2Fdiscussion_layout&source=header-repo&source_repo=pythonnet%2Fpythonnet
Reloadhttps://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
Reloadhttps://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
Reloadhttps://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
pythonnet https://patch-diff.githubusercontent.com/pythonnet
pythonnethttps://patch-diff.githubusercontent.com/pythonnet/pythonnet
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpythonnet%2Fpythonnet
Fork 770 https://patch-diff.githubusercontent.com/login?return_to=%2Fpythonnet%2Fpythonnet
Star 5.4k https://patch-diff.githubusercontent.com/login?return_to=%2Fpythonnet%2Fpythonnet
Code https://patch-diff.githubusercontent.com/pythonnet/pythonnet
Issues 155 https://patch-diff.githubusercontent.com/pythonnet/pythonnet/issues
Pull requests 18 https://patch-diff.githubusercontent.com/pythonnet/pythonnet/pulls
Discussions https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions
Actions https://patch-diff.githubusercontent.com/pythonnet/pythonnet/actions
Projects 0 https://patch-diff.githubusercontent.com/pythonnet/pythonnet/projects
Wiki https://patch-diff.githubusercontent.com/pythonnet/pythonnet/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/pythonnet/pythonnet/security
Please reload this pagehttps://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
Insights https://patch-diff.githubusercontent.com/pythonnet/pythonnet/pulse
Code https://patch-diff.githubusercontent.com/pythonnet/pythonnet
Issues https://patch-diff.githubusercontent.com/pythonnet/pythonnet/issues
Pull requests https://patch-diff.githubusercontent.com/pythonnet/pythonnet/pulls
Discussions https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions
Actions https://patch-diff.githubusercontent.com/pythonnet/pythonnet/actions
Projects https://patch-diff.githubusercontent.com/pythonnet/pythonnet/projects
Wiki https://patch-diff.githubusercontent.com/pythonnet/pythonnet/wiki
Security https://patch-diff.githubusercontent.com/pythonnet/pythonnet/security
Insights https://patch-diff.githubusercontent.com/pythonnet/pythonnet/pulse
Answered https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676#discussioncomment-15399559
Parnassiushttps://patch-diff.githubusercontent.com/Parnassius
michaelosthege https://patch-diff.githubusercontent.com/michaelosthege
Q&Ahttps://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/categories/q-a
Failed to `load("coreclr")` for .NET 10.0 https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676#top
michaelosthege https://patch-diff.githubusercontent.com/michaelosthege
Answered https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676#discussioncomment-15399559
Parnassiushttps://patch-diff.githubusercontent.com/Parnassius
Return to tophttps://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676#top
Please reload this pagehttps://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
michaelosthege https://patch-diff.githubusercontent.com/michaelosthege
Jan 1, 2026 https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676#discussion-9299949
Give feedback.https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
Parnassius https://patch-diff.githubusercontent.com/Parnassius
Jan 3, 2026 https://github.com/pythonnet/pythonnet/discussions/2676#discussioncomment-15399559
This PRhttps://github.com/pythonnet/clr-loader/pull/104
View full answer https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676#discussioncomment-15399559
Oldest https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676?sort=old
Newest https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676?sort=new
Top https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676?sort=top
Please reload this pagehttps://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
filmor https://patch-diff.githubusercontent.com/filmor
Jan 1, 2026 https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676#discussioncomment-15388180
Give feedback.https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
https://patch-diff.githubusercontent.com/michaelosthege
Please reload this pagehttps://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
michaelosthegehttps://patch-diff.githubusercontent.com/michaelosthege
Jan 2, 2026 https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676#discussioncomment-15391613
pythonnet/clr-loader#82https://github.com/pythonnet/clr-loader/pull/82
Give feedback.https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
https://patch-diff.githubusercontent.com/Parnassius
Please reload this pagehttps://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
Parnassiushttps://patch-diff.githubusercontent.com/Parnassius
Jan 3, 2026 https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676#discussioncomment-15399559
This PRhttps://github.com/pythonnet/clr-loader/pull/104
Give feedback.https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
michaelosthegehttps://patch-diff.githubusercontent.com/michaelosthege
https://patch-diff.githubusercontent.com/michaelosthege
Please reload this pagehttps://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
michaelosthegehttps://patch-diff.githubusercontent.com/michaelosthege
Jan 4, 2026 https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676#discussioncomment-15404400
Give feedback.https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
https://patch-diff.githubusercontent.com/filmor
Please reload this pagehttps://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
filmorhttps://patch-diff.githubusercontent.com/filmor
Jan 4, 2026 https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676#discussioncomment-15404836
Give feedback.https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fdiscussions%2F2676
🙏 Q&A https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/categories/q-a
https://patch-diff.githubusercontent.com/michaelosthege
https://patch-diff.githubusercontent.com/filmor
https://patch-diff.githubusercontent.com/Parnassius
https://patch-diff.githubusercontent.com/pythonnet/pythonnet/discussions/2676
https://patch-diff.githubusercontent.com/settings/replies?return_to=1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.