['Win10', 'Py3.72', 'pipx-0.12.3.1'] FileNotFoundError when installing package with deps without binary
See original GitHub issueC:\Projects\Python\_helping\pipx>pipx list
nothing has been installed with pipx
C:\Projects\Python\_helping\pipx>pipx install --include-deps tox-venv
Traceback (most recent call last):
File "C:\Python37\Scripts\pipx-script.py", line 11, in <module>
load_entry_point('pipx', 'console_scripts', 'pipx')()
File "c:\projects\python\_helping\pipx\pipx\main.py", line 496, in cli
exit(run_pipx_command(parsed_pipx_args, binary_args))
File "c:\projects\python\_helping\pipx\pipx\main.py", line 157, in run_pipx_command
include_deps=args.include_deps,
File "c:\projects\python\_helping\pipx\pipx\commands.py", line 319, in install
_run_post_install_actions(venv, package, local_bin_dir, venv_dir, include_deps)
File "c:\projects\python\_helping\pipx\pipx\commands.py", line 345, in _run_post_install_actions
_expose_binaries_globally(local_bin_dir, binary_paths, package)
File "c:\projects\python\_helping\pipx\pipx\commands.py", line 470, in _expose_binaries_globally
_copy_package_binaries(local_bin_dir, binary_paths, package)
File "c:\projects\python\_helping\pipx\pipx\commands.py", line 485, in _copy_package_binaries
shutil.copy(src, dest)
File "c:\python37\lib\shutil.py", line 245, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "c:\python37\lib\shutil.py", line 120, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Nebu\\.local\\pipx\\venvs\\tox-venv\\Scripts\\tox'
C:\Projects\Python\_helping\pipx>pipx install --include-deps tox-venv
Not installing to existing directory 'C:\\Users\\Nebu\\.local\\pipx\\venvs\\tox-venv'. Pass '--force' to force installation
Added what’s hopefully the solution to my pull request: https://github.com/pipxproject/pipx/pull/97
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh sorry I should have mentioned, not a big deal but you generally want to put a summary followed by the issue number. Something like “fix FileNotFoundError on windows (#97)”.
Thanks! For future reference you can put “#97” in the text of the commit message and GitHub will automatically add a link to this issue.