Closed RealLittleXian closed 2 months ago
Hi, thank u for your interest about KTransformers! Could you explain under what circumstances the original install.sh script would trigger a \r\n error? We’ve tested it on Linux and Windows WSL, and it seems to work fine.
Hello,
Just a tiny problem. Ran bash install.sh
in my machine and output
install.sh: line 3: $'\r': command not found
Solved with
set ff=unix
The files may retain the Windows-style line endings \r\n which is seen as an incorrect line ending in Linux. The error is usually caused by cross-platform file transfers.
I am using Linux, didn't have this error. What is your distribution and shell?
It is not about your file but the command git clone
. link https://stackoverflow.com/questions/23357145/git-clone-in-different-fileformat
fix error about Linux \r\n