catalog:
1. Problem Description: 2. Error reporting reason: 3. Solution:
1. Problem Description:
Under Windows system, an error occurs when running shell script with git bash:
bc: command not found
2. Error reporting reason:
Git is missing the BC module, and git cannot directly install the BC module
3. Solution:
By downloading msys2, download the BC package in msys2 and copy it to git
specific steps:
(1) install msys2 and download the address https://www.msys2.org/
(2) After installation, open the msys2 shell and install BC with the following command
pacman -S bc
(3) Go to the msys64 \ usr \ bin folder under the msys2 installation directory and find bc.exe
(4) copy the bc.exe file to the GIT \ usr \ bin folder under the GIT installation directory
re run the shell script in Git bash, and there will be no BC: command not found error.
Read More:
- Shell script running error bash: JPS: command not found
- When executing shell script, $’r ‘: command not found appears
- Solution to the error $’\ R’: command not found when executing shell script under Linux
- [solved] – bash: rabbitmq plugins: command not found or RA bbitmqctl:command not found
- On the error report after the command of ADB shell error:device not A solution of found
- Git bash error, version 2.16.2-64-bit
- Git bash here running error: failed to fork child process
- Win10 installation git click git bash flash back problem solution
- Git bash Error: Could not fork child process: There are no available terminals (-1)
- Git bash display error can not be used, how to solve
- An undetermined call to function ‘shell’: missing ‘. Stop. Problem encountered when using shell command in makefile
- Git bash run error, GIT 32 bit
- The bash file written by windows runs in Linux system error
- Shell script syntax error near unexpected token ‘$’Do
- Error when pychart terminal runs pytest: file not found:
- The shell script exits after an error is reported
- Shell script: syntax error: bad for loop variable error resolution
- Linux basic command execution error: the solution of command not found
- Solution to shell script invocation error during Xcode real machine test
- The shell runs the class file and imports the jar package that the class depends on