Title: Usage with venv · Issue #11 · codehz/bun_python · GitHub
Open Graph Title: Usage with venv · Issue #11 · codehz/bun_python
X Title: Usage with venv · Issue #11 · codehz/bun_python
Description: Hello! Is it possible to use the library with venv? Running it this way: export PYTHONHOME=$(pwd)/.venv export PYTHONPATH=$(pwd)/.venv/lib/python3.13/site-packages export BUN_PYTHON_PATH=/usr/lib/libpython3.13.so bun run "./src/main.ts" ...
Open Graph Description: Hello! Is it possible to use the library with venv? Running it this way: export PYTHONHOME=$(pwd)/.venv export PYTHONPATH=$(pwd)/.venv/lib/python3.13/site-packages export BUN_PYTHON_PATH=/usr/lib/l...
X Description: Hello! Is it possible to use the library with venv? Running it this way: export PYTHONHOME=$(pwd)/.venv export PYTHONPATH=$(pwd)/.venv/lib/python3.13/site-packages export BUN_PYTHON_PATH=/usr/lib/l...
Opengraph URL: https://github.com/codehz/bun_python/issues/11
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Usage with venv","articleBody":"Hello! Is it possible to use the library with venv? Running it this way:\n```bash\nexport PYTHONHOME=$(pwd)/.venv\nexport PYTHONPATH=$(pwd)/.venv/lib/python3.13/site-packages\nexport BUN_PYTHON_PATH=/usr/lib/libpython3.13.so\nbun run \"./src/main.ts\" \n```\nI get such output:\n```\nFatal Python error: Failed to import encodings module\nPython runtime state: core initialized\nModuleNotFoundError: No module named 'encodings'\n\nCurrent thread 0x00007fd9aa241240 (most recent call first):\n \u003cno Python frame\u003e\n```","author":{"url":"https://github.com/platon-ivanov","@type":"Person","name":"platon-ivanov"},"datePublished":"2025-06-11T12:31:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/11/bun_python/issues/11"}
| 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:c482d433-63db-7d8c-851b-6b8497e9cedd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A51A:2B71F3:20B81E3:29976ED:6975E26A |
| html-safe-nonce | c865f0ae079a3f612ad43a4ba58d2461ce18839a0d1b0ed8d14141debc94bed7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTFBOjJCNzFGMzoyMEI4MUUzOjI5OTc2RUQ6Njk3NUUyNkEiLCJ2aXNpdG9yX2lkIjoiMTM5NTI0NzM0NTA4MjY4ODEwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 15fdb993d74f38723d449f6ff7bb1bebeb27254ebb2a71ad4797ddc60e3e4eb4 |
| hovercard-subject-tag | issue:3136657683 |
| 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/codehz/bun_python/11/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d6e656e91d4fc156ccec0b933c02d15a9b4b9be30458823485952c91b01651aa/codehz/bun_python/issues/11 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d6e656e91d4fc156ccec0b933c02d15a9b4b9be30458823485952c91b01651aa/codehz/bun_python/issues/11 |
| og:image:alt | Hello! Is it possible to use the library with venv? Running it this way: export PYTHONHOME=$(pwd)/.venv export PYTHONPATH=$(pwd)/.venv/lib/python3.13/site-packages export BUN_PYTHON_PATH=/usr/lib/l... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | platon-ivanov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2bce766e7450b03e00b2fc5badd417927ce33a860e78cda3e4ecb9bbd1374cc6 |
| turbo-cache-control | no-preview |
| go-import | github.com/codehz/bun_python git https://github.com/codehz/bun_python.git |
| octolytics-dimension-user_id | 13158903 |
| octolytics-dimension-user_login | codehz |
| octolytics-dimension-repository_id | 681174080 |
| octolytics-dimension-repository_nwo | codehz/bun_python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 681174080 |
| octolytics-dimension-repository_network_root_nwo | codehz/bun_python |
| 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 | fcca2b8ef702b5f7f91427a6e920fa44446fe312 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width