Python ansible无法使用“安装”进行完美安装;brew安装ansible;命令在MacOS中不起作用?错误:-sh:/usr/local/bin/ansible:没有这样的文件或目录
我尝试使用终端(Python ansible无法使用“安装”进行完美安装;brew安装ansible;命令在MacOS中不起作用?错误:-sh:/usr/local/bin/ansible:没有这样的文件或目录,python,macos,ansible,homebrew,Python,Macos,Ansible,Homebrew,我尝试使用终端(brew)以及.dmg软件包安装Python command: brew install python and this path is python when install using dmg /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 但是我得到下面列出的错误 之后,我尝试了ansible安装: brew install ansible 和哪个ansible 所有或主机的最后一个ansi
brew
)以及.dmg
软件包安装Python
command: brew install python
and this path is python when install using dmg
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3
但是我得到下面列出的错误
之后,我尝试了ansible
安装:
brew install ansible
和哪个ansible
所有或主机的最后一个ansible命令ping:
这是操作系统特有的问题还是其他问题?非常感谢您的帮助。如果brew
,请检查您的brew
版本。。。
如果确实需要brew安装
,请检查更新。
macOS 10.13.6上有一个。并修复它
... 但是我建议使用pip安装
由于ansible
依赖于python
,我强烈建议使用安装python
应用程序的常用方法:
pip3 install ansible
或者,从回购协议:
git clone https://github.com/ansible/ansible.git
cd ansible
pip3 install -r requirements.txt
python3 setup.py install
brew
警告
截图上的警告说:
ansible已经安装,只是没有链接
所以,你可以:
如果没有帮助:
brew doctor
brew doctor