Open Spitfire1900 opened 8 months ago
This reproduces at least as far back a 1.2.1
Added breakpoint to pipx/util.py:
(Pdb) cmd
['C:\\Users\\XXXXXXX\\.local\\pipx\\.cache\\13a61f997a2511b\\Scripts\\pip_search.exe.exe']
(Pdb) bt
<frozen runpy>(198)_run_module_as_main()
<frozen runpy>(88)_run_code()
c:\users\XXXXXXX\.pyenv\pyenv-win\versions\3.11.7\scripts\pipx.exe\__main__.py(7)<module>()
-> sys.exit(cli())
c:\users\XXXXXXX\appdata\roaming\python\python311\site-packages\pipx\main.py(911)cli()
-> return run_pipx_command(parsed_pipx_args)
c:\users\XXXXXXX\appdata\roaming\python\python311\site-packages\pipx\main.py(197)run_pipx_command()
-> commands.run(
c:\users\XXXXXXX\appdata\roaming\python\python311\site-packages\pipx\commands\run.py(200)run()
-> run_package(
c:\users\XXXXXXX\appdata\roaming\python\python311\site-packages\pipx\commands\run.py(157)run_package()
-> _download_and_run(
c:\users\XXXXXXX\appdata\roaming\python\python311\site-packages\pipx\commands\run.py(271)_download_and_run()
-> venv.run_app(app, app_filename, app_args)
c:\users\XXXXXXX\appdata\roaming\python\python311\site-packages\pipx\venv.py(402)run_app()
-> exec_app([str(self.bin_path / filename)] + app_args)
> c:\users\XXXXXXX\appdata\roaming\python\python311\site-packages\pipx\util.py(387)exec_app()
-> print('breakpoint')
In the above example a workaround is pipx run --spec=pip-search pip_search
When running any
pipx run
command the following stack trace is thrownI think the issue is noted by
Assuming app is 'pip_search.exe.exe' (Windows only)
Expected behavior
The command should be ran as expected.