Title: ModuleNotFoundError: No module named 'encodings' when trying to use virtual environment in C# app on Ubuntu · pythonnet/pythonnet · Discussion #2578 · GitHub
Open Graph Title: ModuleNotFoundError: No module named 'encodings' when trying to use virtual environment in C# app on Ubuntu · pythonnet/pythonnet · Discussion #2578
X Title: ModuleNotFoundError: No module named 'encodings' when trying to use virtual environment in C# app on Ubuntu · pythonnet/pythonnet · Discussion #2578
Description: ModuleNotFoundError: No module named 'encodings' when trying to use virtual environment in C# app on Ubuntu
Open Graph Description: Environment: Ubuntu 24.04.1 LTS .NET SDK 8.0.112 Python 3.12.3 Details: Trying to run some Python in a C# app. This is my code: Runtime.PythonDLL = @"/usr/lib/x86_64-linux-gnu/libpython3.12.so"; st...
X Description: Environment: Ubuntu 24.04.1 LTS .NET SDK 8.0.112 Python 3.12.3 Details: Trying to run some Python in a C# app. This is my code: Runtime.PythonDLL = @"/usr/lib/x86_64-linux-gnu/libpython3.12.so...
Opengraph URL: https://github.com/pythonnet/pythonnet/discussions/2578
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format) |
| route-controller | voltron_discussions_fragments |
| route-action | discussion_layout |
| fetch-nonce | v2:2fd9ca71-5ae4-5d77-76d4-cec9ff05f1ac |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | E5DC:258C18:58454:79447:696FE125 |
| html-safe-nonce | fa739d938290011290ecc218feab1100aa32f1f127de3152fc06dec6eb0af9e6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNURDOjI1OEMxODo1ODQ1NDo3OTQ0Nzo2OTZGRTEyNSIsInZpc2l0b3JfaWQiOiI2MDIyMzE5MTE3NDc5OTYwODY5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 57c33ab832f6c3a8881de8dcb90e194d29fa0ca3f871069da7e1baae300c4ae4 |
| hovercard-subject-tag | discussion:8190527 |
| github-keyboard-shortcuts | repository,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/Voltron::DiscussionsFragmentsController/show/pythonnet/pythonnet/2578/discussion_layout |
| twitter:image | https://opengraph.githubassets.com/5c144a81f349a834973664d782bc42e414b6021f878cc707d99d3e3c23288f7b/pythonnet/pythonnet/discussions/2578 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5c144a81f349a834973664d782bc42e414b6021f878cc707d99d3e3c23288f7b/pythonnet/pythonnet/discussions/2578 |
| og:image:alt | Environment: Ubuntu 24.04.1 LTS .NET SDK 8.0.112 Python 3.12.3 Details: Trying to run some Python in a C# app. This is my code: Runtime.PythonDLL = @"/usr/lib/x86_64-linux-gnu/libpython3.12.so"; st... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a5d30ba41f7d9acded2fd135aa830ac2f5c7e52dca0e776e658d37eaf9dfb033 |
| 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 | 2f945b7bb88421600e89dfefbb1548ad0a44781a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width