You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Albert Huang edited this page Mar 5, 2016
·
1 revision
When you try to install pyenv on Linux, you may encounter a strange message like this:
: No such file or directory
After some hairpulling, it looks like the thing that made this fail is.... newline types. core.autocrlf was set to true, which allowed Windows/DOS-style newlines to be downloaded. You may see something like this in your ~/.gitconfig:
[core]
autocrlf = true
On Linux, this will always convert the line endings to CRLF, instead of the desired LF. This will cause problems for sure!
Instead, you need to set it to true:
git config --global core.autocrlf input
If you look at your ~/.gitconfig again, the setting should now be correct: