Sample Header Ad - 728x90

how to install csvkit in bash

3 votes
2 answers
4045 views
Kusalananda nicely recommends using csvformat from [csvkit](https://csvkit.readthedocs.io/en/latest/) to format jq @csv into a csv format without double quotes " [answering how to parse json with jq](https://unix.stackexchange.com/a/506790/530603) . This answer does not seem to involve the use of python. But the csvkit [installation tutorial](https://csvkit.readthedocs.io/en/latest/tutorial/1_getting_started.html#installing-csvkit) and its [installation troubleshooting](https://csvkit.readthedocs.io/en/latest/tricks.html#troubleshooting) do seem to rely on, perhaps require, the use of python. This makes me, a newbie, confused: Is it possible to install csvkit in git bash without using python (read: open spyder or anaconda, let's say)? How? **Edit.** MINGW64 (git bash) displays bash: pip: command not found. Same for conda. How do you recommend moving on from there? python is installed, pip.exe being in ...\Anaconda\Scripts. There are several suggested solutions on other sites e.g. in various ways adding the dir of pip.exe to PATH [here](https://www.stackoverflow.com/questions/6318156/adding-python-to-path-on-windows) and [here](https://www.stackoverflow.com/question/32597209/python-not-working-in-the-command-line-of-git-bash)) .
Asked by Johan (439 rep)
Jun 20, 2022, 05:40 PM
Last activity: Jun 22, 2022, 12:17 PM