- Cygwin
- gcc-core
- openssh
- python
- python-setuptools
easy_install pip
pip install ansible
If you encounter ssh error, put ansible.cfg to your script root.
ansible.cfg
[defaults]
inventory = ./hosts
[ssh_connection]
ssh_args = -o ControllMaster=no
easy_install pip
pip install ansible
If you encounter ssh error, put ansible.cfg to your script root.
ansible.cfg
[defaults]
inventory = ./hosts
[ssh_connection]
ssh_args = -o ControllMaster=no
You need to install python3-devel first. apt-cyg install python3-devel
To fix this
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/build=/usr/src/debug/python3-3.6.4-1 -fdebug-prefix-map=/usr/src/ports/python3/python3-3.6.4-1.x86_64/src/Python-3.6.4=/usr/src/debug/python3-3.6.4-1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.6m -c c/_cffi_backend.c -o build/temp.cygwin-2.11.2-x86_64-3.6/c/_cffi_backend.o
c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directory
#include <Python.h>
^~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
Uh oh!
There was an error while loading. Please reload this page.