1

I followed installment instructions mentioned here
Its a simple pip install command

After that I went to my linux terminal and wrote in2csvbut got the following error:
/usr/bin/in2csv: No such file or directory

Originally I tried to install it using the command:
sudo apt-get install python3-csvkit
And the in2csv command used to work on terminal, but it appears to work under python 3 installation and I need it under my python2.7.

so I uninstalled the python3-csvkit, and installed it again using pip install, but again its not working from terminal, this way.

Any ideas why, and how to solve it?

in2csv command manual: here

JavaSa
  • 5,813
  • 16
  • 71
  • 121

1 Answers1

4

I just had this problem and solved with:

sudo pip install csvkit

Without the sudo pip installs csvkit in /home/username/.local/lib/python2.7/site-packages and probably puts the executable in /home/username/.local/bin. You could avoid the sudo by adding that to your shell PATH.

fizzyh2o
  • 1,237
  • 9
  • 18