cheat icon indicating copy to clipboard operation
cheat copied to clipboard

Problems when installing cheat on Linux using pip

Open ccc-ccc-ttt opened this issue 12 years ago • 17 comments

I'am using Debian/Ubuntu/Manjaro and when I installed cheat with pip I got this:

$ cheat
: No such file or directory

But when I installed it manually cloning the repo, cheat works great.

ccc-ccc-ttt avatar Jul 14 '14 22:07 ccc-ccc-ttt

+1

MrPrimate avatar Jul 28 '14 16:07 MrPrimate

+1 I also had this issue on Fedora 19.

ascii-soup avatar Jul 28 '14 16:07 ascii-soup

+1

Ubuntu 14.04 fully up to date Python 2.7.6 Pip 1.5.4

xlvdk avatar Jul 28 '14 16:07 xlvdk

+1

Trikolon avatar Jul 28 '14 17:07 Trikolon

same is happening on LinuxMint 17 KDE

~ > pip -V pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)

lehels avatar Jul 28 '14 19:07 lehels

+1

peizh avatar Jul 29 '14 06:07 peizh

+1 on Fedora 20 Python 2.7.5 pip 1.4.1

KarimGeiger avatar Jul 29 '14 07:07 KarimGeiger

+1 x32 Ubuntu 14.04.1 LTS Python 2.7.6 pip 1.5.6

pavbelousov avatar Jul 29 '14 09:07 pavbelousov

+1 Ubuntu 12.04.4 LTS (x86_64) Python 2.7.3 pip 1.5.6

jlbribeiro avatar Jul 29 '14 18:07 jlbribeiro

+1 Ubuntu 12.04.4 LTS (x86_64) Python 2.7.6 pip 1.5.6

erikcox avatar Jul 30 '14 20:07 erikcox

the problem is being caused by the line endings (CR+LF)

quickfix: sudo dos2unix /usr/local/bin/cheat

pr3ddi avatar Jul 31 '14 01:07 pr3ddi

Sorry guys, this was my fault, I uploaded (and tested) the file on a Windows computer (and cygwin which I had set so that it ignored CR), I thought that I had my line endings settings for all my repos set up so that line endings would not change upon cloning. (I assumed that since it worked in OS X it would also work for Linux and didn't test it).

In any case, it should be fixed and I tested it on Ubuntu.

Apologies about the delay with fixing this!

chid avatar Jul 31 '14 08:07 chid

:+1:

lehels avatar Jul 31 '14 08:07 lehels

:+1:

xlvdk avatar Jul 31 '14 10:07 xlvdk

Nice :+1:, thanks @chid @pr3ddi

emilioramirez avatar Jul 31 '14 12:07 emilioramirez

You should be thanking @chrisallenlane!

chid avatar Jul 31 '14 15:07 chid

Looks like this one is fixed, so I'm closing the ticket as "resolved". Thanks, @chid!

chrisallenlane avatar Aug 07 '14 02:08 chrisallenlane