Title: VPython hangs in Jupyter notebook inside VS Code · Issue #281 · vpython/vpython-jupyter · GitHub
Open Graph Title: VPython hangs in Jupyter notebook inside VS Code · Issue #281 · vpython/vpython-jupyter
X Title: VPython hangs in Jupyter notebook inside VS Code · Issue #281 · vpython/vpython-jupyter
Description: When running VPython inside a Jupyter notebook in VS Code, the code hangs indefinitely. Minimal working example: from vpython import * sphere() Expected behavior: A 3D canvas should open and display a sphere. Actual behavior: The line wi...
Open Graph Description: When running VPython inside a Jupyter notebook in VS Code, the code hangs indefinitely. Minimal working example: from vpython import * sphere() Expected behavior: A 3D canvas should open and displa...
X Description: When running VPython inside a Jupyter notebook in VS Code, the code hangs indefinitely. Minimal working example: from vpython import * sphere() Expected behavior: A 3D canvas should open and displa...
Opengraph URL: https://github.com/vpython/vpython-jupyter/issues/281
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"VPython hangs in Jupyter notebook inside VS Code","articleBody":"When running VPython inside a Jupyter notebook in VS Code, the code hangs indefinitely.\n\n**Minimal working example:**\n\n```python\nfrom vpython import *\nsphere()\n```\n\n**Expected behavior:**\nA 3D canvas should open and display a sphere.\n\n**Actual behavior:**\nThe line with sphere() runs forever without producing output. No error message appears.\n\n**Environment:**\n- Python version: 3.12.6\n- vpython version: 7.6.5\n- jupyterlab-vpython extension version: 3.1.8\n- OS: MacOS\n- VS Code version: 1.103.2\n\n**Additional info:**\n- The same code works correctly when run as a standalone Python script in VS Code.\n- The same code works in Jupyterlab outside of VS Code.","author":{"url":"https://github.com/ruboerner","@type":"Person","name":"ruboerner"},"datePublished":"2025-09-10T06:13:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/281/vpython-jupyter/issues/281"}
| 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:b9035655-8858-ce2c-b11e-d5ea77e58511 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A950:84733:66BB44:8447B4:6976207C |
| html-safe-nonce | 18599c4faf4319426d4b1286c6f0e4ed34808db690455820fd91c6ac022ff8e9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTUwOjg0NzMzOjY2QkI0NDo4NDQ3QjQ6Njk3NjIwN0MiLCJ2aXNpdG9yX2lkIjoiMTM0MDExNTQ1NTY5MzM3NDY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 68595fa90109c798cd01e3b58eb3b1103578997eb31f6662b99ae912b5108c5f |
| hovercard-subject-tag | issue:3401064848 |
| 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/vpython/vpython-jupyter/281/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f79ffcac120c17cebcda55af45548f051dd1c07540d0e86366ab02e709ebf62e/vpython/vpython-jupyter/issues/281 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f79ffcac120c17cebcda55af45548f051dd1c07540d0e86366ab02e709ebf62e/vpython/vpython-jupyter/issues/281 |
| og:image:alt | When running VPython inside a Jupyter notebook in VS Code, the code hangs indefinitely. Minimal working example: from vpython import * sphere() Expected behavior: A 3D canvas should open and displa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ruboerner |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6814b4cc7afd45cd6e64525d0cff0e76dd802f315a5b0e55a7abda1d1d070d0 |
| turbo-cache-control | no-preview |
| go-import | github.com/vpython/vpython-jupyter git https://github.com/vpython/vpython-jupyter.git |
| octolytics-dimension-user_id | 1280757 |
| octolytics-dimension-user_login | vpython |
| octolytics-dimension-repository_id | 187905226 |
| octolytics-dimension-repository_nwo | vpython/vpython-jupyter |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 187905226 |
| octolytics-dimension-repository_network_root_nwo | vpython/vpython-jupyter |
| 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 | 4ea235bfed58ef16c8a5642b3ac64b74f10c9f52 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width