Search code examples
pythonbrowniepipx

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


I have followed the instructions to install Brownie on Visual studio code of their website.

python3 -m pip install --user pipx

python3 -m pipx ensurepath

The 2 lines above poses no 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.

Was wondering 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.