ToXe
ToXe

Reputation: 11

Pipx installation Problem / eth-brownie installation error

Someone please help me with this error

after installing pipx successfully - $ python3 -m pip install --user pipx && $ python3 -m pipx ensurepath

Successfully installed pipx-0.16.4

when i run this command - $ pipx install eth-brownie

I'm getting this error - $ bash: pipx: command not found

Upvotes: 1

Views: 849

Answers (2)

Saikat Karmakar
Saikat Karmakar

Reputation: 240

Remove the ~/.local/pipx/ dir & uninstall pipx if needed. Then run again pipx install eth-brownie. It just worked for me.

I'm making a github gist so that everyone can fix this by just running this script.

#!/bin/bash

if [ $# -ne 1 ]; then
  echo "Error: Please provide exactly one argument."
  echo "Usage: {0} <package name>"
  exit 1
fi

rm -rf ~/.local/pipx/
# pip3 uninstall pipx
pipx install $1

  • Make sure you have setup your path properly. Add this to your ~/.bashrc file
  • export PATH="$HOME/.local/bin:$PATH"

Upvotes: 0

stikstack29
stikstack29

Reputation: 11

Try using pip3 install eth-brownie. Worked for me

Upvotes: 1

Related Questions