I installed CSVkit on OSX with pip install --user csvkit and it seems to have worked (re-installing) gets me a Requirement already satisfied message, but csvcut isn't available at my command prompt and which csvcut returns nothing.
How do I get csvkit into my path by default?
The --user flag should be installing the scripts in $PYTHONUSERBASE/bin. If PYTHONUSERBASE isn't set, I believe this defaults to $HOME/.local.
I see two options:
Set $PYTHONUSERBASE or look in $HOME/.local/bin for the csvcut script. Then, add $HOME/.local/bin to your path:
export PATH=$HOME/.local/bin:$PATH
Run pip install csvkit without the --user flag, which should put the scripts in your path (probably /usr/local/bin).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With