Mono 客户端运行报错,提示 env: python: No such file or directory
Summary
安装好 mono
之后,命令行执行报错 env: python: No such file or directory
Steps to reproduce
- 按照文档安装
mono
客户端
$ mkdir -p ~/.bin
$ PATH="${HOME}/.bin:${PATH}"
$ curl https://jihulab.com/gitlab-cn/mono-client/-/raw/main-jh/mono?inline=false > ~/.bin/mono
$ chmod a+rx ~/.bin/mono
- 执行
mono
命令
➜ ~ ls -l ~/.bin/mono
-rwxr-xr-x@ 1 zalyoung staff 57417 9 3 22:30 /Users/zalyoung/.bin/mono
➜ ~ mono help
env: python: No such file or directory
Example Project
What is the current bug behavior?
What is the expected correct behavior?
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)