Title: Update "Embedding python into .NET" documentation to reflect new way to import modules · Issue #2187 · pythonnet/pythonnet · GitHub
Open Graph Title: Update "Embedding python into .NET" documentation to reflect new way to import modules · Issue #2187 · pythonnet/pythonnet
X Title: Update "Embedding python into .NET" documentation to reflect new way to import modules · Issue #2187 · pythonnet/pythonnet
Description: Environment Pythonnet version: 3.0.1 Details I'm trying to upgrade pyRevit to use the latest pythonnet version, since it is still using version 2.5.2 which causes many problems for those who wants to run cpython scripts. After updating t...
Open Graph Description: Environment Pythonnet version: 3.0.1 Details I'm trying to upgrade pyRevit to use the latest pythonnet version, since it is still using version 2.5.2 which causes many problems for those who wants ...
X Description: Environment Pythonnet version: 3.0.1 Details I'm trying to upgrade pyRevit to use the latest pythonnet version, since it is still using version 2.5.2 which causes many problems for those who wa...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/2187
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Update \"Embedding python into .NET\" documentation to reflect new way to import modules","articleBody":"### Environment\r\n\r\n- Pythonnet version: 3.0.1\r\n\r\n### Details\r\n\r\nI'm trying to upgrade [pyRevit](https://github.com/eirannejad/pyRevit) to use the latest pythonnet version, since it is still using version 2.5.2 which causes many problems for those who wants to run cpython scripts.\r\n\r\nAfter updating the dependency, the compiler complains about the missing `PythonEngine.ImportModule` method, even if this is still what the [documentation](https://pythonnet.github.io/pythonnet/dotnet.html) says to use.\r\n\r\nOnly after an extensive search in the commit history I saw that that method was deprecated in favor of `PyModule.Import`, but the deprecation is already removed (too soon if you ask me).\r\n\r\nPlease update the documentation to reflect this (and maybe more breaking changes that I didn't catch yet?)","author":{"url":"https://github.com/sanzoghenzo","@type":"Person","name":"sanzoghenzo"},"datePublished":"2023-07-07T08:06:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2187/pythonnet/issues/2187"}
| 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:51a76636-b2a0-5469-6c9b-26f3758d02fb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C1C8:3C5761:41F33AF:5C02336:69713E6C |
| html-safe-nonce | d7128b22977f5ae93cc01203af112a16a23ba4b8ae8841f4f26a3d9a7904e832 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUM4OjNDNTc2MTo0MUYzM0FGOjVDMDIzMzY6Njk3MTNFNkMiLCJ2aXNpdG9yX2lkIjoiNjY5MzUwNjgzMjUyNzAyODI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | df675cb4cb9c7285ff04868cf98db8f76cb0f030726ac092d24e2f20cf91bd21 |
| hovercard-subject-tag | issue:1793022086 |
| 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/2187/issue_layout |
| twitter:image | https://opengraph.githubassets.com/25c46cc9292f99c48624287eec4ede4a170493f7886ef2fbef93d0e1c7585998/pythonnet/pythonnet/issues/2187 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/25c46cc9292f99c48624287eec4ede4a170493f7886ef2fbef93d0e1c7585998/pythonnet/pythonnet/issues/2187 |
| og:image:alt | Environment Pythonnet version: 3.0.1 Details I'm trying to upgrade pyRevit to use the latest pythonnet version, since it is still using version 2.5.2 which causes many problems for those who wants ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sanzoghenzo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7899979feb505886f0f29e8086a739254f3a850fd3dbc9fb63ce4ec27831b1fb |
| 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 | 998d3ef09faa982f8d83ad111166244ae4625572 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width