Open zelentsovl opened 7 years ago
I have the same issue on : ProductName: Mac OS X ProductVersion: 10.12.6
$ kubespray --help
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/bin/kubespray", line 27, in <module>
raise ImportError('Cannot find Ansible: Please check your installation (required version 2)')
ImportError: Cannot find Ansible: Please check your installation (required version 2)
Ansible is well installed
$ansible --version
ansible 2.1.4.0
config file =
configured module search path = Default w/o overrides
Version of pyhton
$python --version
Python 2.7.14
Same here. Ansible was installed with Homebrew.
A workaround is to install ansible with pip: pip2 install ansible
.
Getting this error on MacOS despite of ansible is installed: ansible 2.3.2.0 config file = configured module search path = Default w/o overrides python version = 2.7.13 (default, Jul 18 2017, 09:17:00) [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)]