pipx install "cannot find the file specified"
See original GitHub issuewhen using pipx install cowsay
(or any program) i get an error stating that the file cannot be found in the .local\pipx\shared directory (see --verbose code)
C:\WINDOWS\system32>pipx install cowsay --verbose
pipx >(setup:717): pipx version is 0.16.3
pipx >(setup:718): Default python interpreter is 'c:\\users\\nbreb\\appdata\\local\\programs\\python\\python39\\python3.exe'
pipx >(package_name_from_spec:323): Determined package name: cowsay
pipx >(package_name_from_spec:324): Package name determined in 0.0s
creating virtual environment...
pipx >(run_subprocess:135): running c:\users\nbreb\appdata\local\programs\python\python39\python3.exe -m venv --without-pip C:\Users\nbreb\.local\pipx\venvs\cowsay
creating shared libraries...
pipx >(run_subprocess:135): running c:\users\nbreb\appdata\local\programs\python\python39\python3.exe -m venv --clear C:\Users\nbreb\.local\pipx\shared
Error: [WinError 2] The system cannot find the file specified
pipx >(rmdir:43): removing directory C:\Users\nbreb\.local\pipx\venvs\cowsay
'c:\\users\\nbreb\\appdata\\local\\programs\\python\\python39\\python3.exe -m venv --clear
C:\\Users\\nbreb\\.local\\pipx\\shared' failed
I believe i installed pipx correctly (as per instructions) and same with pip (21.1.2)
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
How do I fix "pip"? - Stack Overflow
First check whether pip installed or not , in command prompt try pip --version , you should get something like this - pip...
Read more >Troubleshooting - pipx
Troubleshooting · reinstall-all fixes most issues · Diagnosing problems using list · Specifying pipx options · Check for PIP_* environment variables · pipx...
Read more >pipx - PyPI
Walkthrough: Running an Application in a Temporary Virtual Environment. This is an alternative to pipx install . pipx run downloads and runs the...
Read more >How to Install Pip on Windows - ActiveState
Click to install Python's standard package manager, Pip, on Windows ... This means that Python cannot find the tool you're trying to run...
Read more >Installing Brownie — Brownie 1.19.2 documentation
The recommended way to install Brownie is via pipx. ... If you have updated your brownie version from older versions, hardhat networks will...
Read more >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
I’m also getting this on a fresh Windows 10 install. I disabled the windows versions of python with
Start > Manage App Execution Aliases
and installed 3.9.6 withpyenv-win
. I can start up python interpreter just fine by typingpython
, orpython3
, but get this error:If I copy/paste that
'c:\\users\\dustin\\.pyenv\\pyenv-win\\versions\\3.9.6\\python3.exe -m venv --clear C:\\Users\\dustin\\.local\\pipx\\shared'
, it runs without error and without any output.That is the correct location of python:
I think this is resolved by #879