Skip to content

Unhelpful venv failure #428

Description

@maurycy
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 "<frozen runpy>", line 88, in _run_code
  File "/Users/maurycy/.pyenv/versions/3.13.5/lib/python3.13/site-packages/pyperformance/__main__.py", line 3, in <module>
    pyperformance.cli.main()
    ~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Users/maurycy/.pyenv/versions/3.13.5/lib/python3.13/site-packages/pyperformance/cli.py", line 422, in main
    _main()
    ~~~~~^^
  File "/Users/maurycy/.pyenv/versions/3.13.5/lib/python3.13/site-packages/pyperformance/cli.py", line 371, in _main
    info = _pythoninfo.get_info(options.python)
                                ^^^^^^^^^^^^^^
AttributeError: 'Namespace' object has no attribute 'python'

Similarly:

02:03:23.225888000AM CEST maurycy@gimel /Users/maurycy/src/pyperformance % python dev.py venv
Traceback (most recent call last):
  File "/Users/maurycy/src/pyperformance/dev.py", line 85, in <module>
    main()
    ~~~~^^
  File "/Users/maurycy/src/pyperformance/dev.py", line 81, in main
    pyperformance.cli.main()
    ~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Users/maurycy/src/pyperformance/pyperformance/cli.py", line 422, in main
    _main()
    ~~~~~^^
  File "/Users/maurycy/src/pyperformance/pyperformance/cli.py", line 371, in _main
    info = _pythoninfo.get_info(options.python)
                                ^^^^^^^^^^^^^^
AttributeError: 'Namespace' object has no attribute 'python'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions