Title: Unhelpful `venv` failure · Issue #428 · python/pyperformance · GitHub
Open Graph Title: Unhelpful `venv` failure · Issue #428 · python/pyperformance
X Title: Unhelpful `venv` failure · Issue #428 · python/pyperformance
Description: 02:03:10.998094000AM CEST maurycy@gimel /Users/maurycy % python -m pyperformance venv Traceback (most recent call last): File "
Open Graph Description: 02:03:10.998094000AM CEST maurycy@gimel /Users/maurycy % python -m pyperformance venv Traceback (most recent call last): File "
X Description: 02:03:10.998094000AM CEST maurycy@gimel /Users/maurycy % python -m pyperformance venv Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File...
Opengraph URL: https://github.com/python/pyperformance/issues/428
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unhelpful `venv` failure","articleBody":"```\n02:03:10.998094000AM CEST maurycy@gimel /Users/maurycy % python -m pyperformance venv\nTraceback (most recent call last):\n File \"\u003cfrozen runpy\u003e\", line 198, in _run_module_as_main\n File \"\u003cfrozen runpy\u003e\", line 88, in _run_code\n File \"/Users/maurycy/.pyenv/versions/3.13.5/lib/python3.13/site-packages/pyperformance/__main__.py\", line 3, in \u003cmodule\u003e\n pyperformance.cli.main()\n ~~~~~~~~~~~~~~~~~~~~~~^^\n File \"/Users/maurycy/.pyenv/versions/3.13.5/lib/python3.13/site-packages/pyperformance/cli.py\", line 422, in main\n _main()\n ~~~~~^^\n File \"/Users/maurycy/.pyenv/versions/3.13.5/lib/python3.13/site-packages/pyperformance/cli.py\", line 371, in _main\n info = _pythoninfo.get_info(options.python)\n ^^^^^^^^^^^^^^\nAttributeError: 'Namespace' object has no attribute 'python'\n```\n\nSimilarly:\n\n```\n02:03:23.225888000AM CEST maurycy@gimel /Users/maurycy/src/pyperformance % python dev.py venv\nTraceback (most recent call last):\n File \"/Users/maurycy/src/pyperformance/dev.py\", line 85, in \u003cmodule\u003e\n main()\n ~~~~^^\n File \"/Users/maurycy/src/pyperformance/dev.py\", line 81, in main\n pyperformance.cli.main()\n ~~~~~~~~~~~~~~~~~~~~~~^^\n File \"/Users/maurycy/src/pyperformance/pyperformance/cli.py\", line 422, in main\n _main()\n ~~~~~^^\n File \"/Users/maurycy/src/pyperformance/pyperformance/cli.py\", line 371, in _main\n info = _pythoninfo.get_info(options.python)\n ^^^^^^^^^^^^^^\nAttributeError: 'Namespace' object has no attribute 'python'\n```","author":{"url":"https://github.com/maurycy","@type":"Person","name":"maurycy"},"datePublished":"2025-10-26T00:04:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/428/pyperformance/issues/428"}
| 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:4ede9f9a-6439-7501-2630-aacfd2d8770f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA54:20E170:1077A8D:16EE807:696A41A1 |
| html-safe-nonce | 2e867e5758a14d4a005c8a094c1694447a03e030e68ff532f14cf86619f80654 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTU0OjIwRTE3MDoxMDc3QThEOjE2RUU4MDc6Njk2QTQxQTEiLCJ2aXNpdG9yX2lkIjoiMzk0OTcyNjkzMDE4NDA2MTM0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a297e05a1b6a9eb19398c83e3b6a6cc96242249c30f7e31566bf6b0bc2d361d3 |
| hovercard-subject-tag | issue:3553116043 |
| 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/python/pyperformance/428/issue_layout |
| twitter:image | https://opengraph.githubassets.com/582ae1fbdafd7c7022feeb2d01afaeab71b07e431c541d5d9f71f57e77d45c2b/python/pyperformance/issues/428 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/582ae1fbdafd7c7022feeb2d01afaeab71b07e431c541d5d9f71f57e77d45c2b/python/pyperformance/issues/428 |
| og:image:alt | 02:03:10.998094000AM CEST maurycy@gimel /Users/maurycy % python -m pyperformance venv Traceback (most recent call last): File " |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maurycy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-preview |
| go-import | github.com/python/pyperformance git https://github.com/python/pyperformance.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 65949828 |
| octolytics-dimension-repository_nwo | python/pyperformance |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65949828 |
| octolytics-dimension-repository_network_root_nwo | python/pyperformance |
| 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 | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width