pythonbrowniepipx

Error "The term 'pipx' is not recognized as the name of a cmdlet"


I have followed the instructions to install Brownie in Visual Studio Code of their website.

python3 -m pip install --user pipx

python3 -m pipx ensurepath

The two lines above don't pose any problem. I restarted the terminal to input line:

pipx install eth-brownie

pipx : The term 'pipx' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

What went wrong? Any form of assistance is greatly appreciated.


Solution

  • Check your environment variables. python3 -m pipx ensurepath adds the directories to PATH, but they are added in all lowercase for some reason. Fix the directory paths to match the case.