How do I install ansible on Windows How to install ansible to my Python at windows

Source: Internet
Author: User

The answer is no longer installed on the window, the answer is as follows:

It ' s back! Take the 2018 Developer Survey today?

Join Stack Overflow to learn, share knowledge, and build your career.

Email Sign UpOR Sign in withGoogle facebookhow to install ansible to my python at Windowsask Question
Up vote1down Votefavorite

When I tried to the install ansible to my Windows PC, the stuck with following message.

    PS c:\users\sungyong> pip install ansiblecollecting ansible downloading ansible-2.3.2.0.tar.gz (4.3MB) 100% |██ ██████████████████████████████| 4.3MB 112kb/srequirement already satisfied:jinja2 in C:\Program Files\python36\lib\site-packages (from Ansible) Requirement already satisfied:pyyaml in C:\Program Files\python36\lib\site-packages (from ansible) collecting Paramiko ( From ansible) downloading PARAMIKO-2.2.1-PY2.PY3-NONE-ANY.WHL (176kB) 100% |████████████████████████████████| 184kB 286kb/scollecting pycrypto>=2.6 (from ansible) downloading pycrypto-2.6.1.tar.gz (446kB) 100% |██████████████ ██████████████████| 450kB 187kb/srequirement already satisfied:setuptools in C:\Program Files\python36\lib\site-packages (from Ansible) Requirement already satisfied:markupsafe>=0.23 in C:\Program Files\python36\lib\site-packages (from jinja2-> ansible) Collecting pynacl>=1.0.1 (from paramiko->ansible) downloading PYNACL-1.1.2-CP36-CP36M-WIN_AMD64.WHL ( 131kB) 10% |████████████████████████████████| 133kB 228kb/srequirement already satisfied:pyasn1>=0.1.7 in C:\Program Files\python36\lib\site-packages (from paramiko->ansible) Collecting cryptography>=1.1 (from paramiko->ansible) downloading CRYPTOGRAPHY-2.0.3-CP36-CP36M-WIN_AMD64.WHL (1.3MB) 100% |████████████████████████████████| 1.3MB 77kb/scollecting bcrypt>=3.1.3 (from paramiko->ansible) downloading Bcrypt-3.1.3-cp36-cp36m-win_ Amd64.whlcollecting cffi>=1.4.1 (from pynacl>=1.0.1->paramiko->ansible) downloading CFFI-1.10.0-CP36-CP36M-WIN_AMD64.WHL (160kB) 100% |████████████████████████████████| 163kB 122kb/srequirement already satisfied:six in C:\Program Files\python36\lib\site-packages (from pynacl>=1.0.1-& gt;paramiko->ansible) requirement already satisfied:idna>=2.1 in C:\Program Files\python36\lib\site-packages ( From cryptography>=1.1->paramiko->ansible) collecting asn1crypto>=0.21.0 (from cryptography>=1.1- >paramiko->ansible) downloading ASN1CRYPTO-0.22.0-PY2.PY3-NONE-ANY.WHL (97kB) 100% |████████████████████████████████| 102kB 152kb/scollecting Pycparser (from cffi>=1.4.1->pynacl>=1.0.1->paramiko->ansible) Downloading Pycparser-2.18.tar.gz (245kB) 100% |████████████████████████████████| 256kB 147kb/sinstalling collected Packages:pycparser, Cffi, Pynacl, Asn1crypto, cryptography, Bcrypt, Paramiko, Pycrypto , ansible Running setup.py install for pycparser ... errorexception:traceback (most recent call last): File "c:\program files\python36\lib\site-packages\pip\compat\__init__.py ", line, Console_to_str return S.decode (sys.__stdout__.  encoding) Unicodedecodeerror: ' Utf-8 ' codec can ' t decode byte 0xbe in position 81:invalid start byteduring handling of the Above exception, another exception Occurred:traceback (most recent call last): File "C:\Program files\python36\lib\site- packages\pip\basecommand.py ", line 215, in main status = Self.run (options, args) File" C:\prOgram files\python36\lib\site-packages\pip\commands\install.py ", line 342, in Run Prefix=options.prefix_path, 

File "C:\Program files\python36\lib\site-packages\pip\req\req_set.py", line 784, in install **kwargs File "c:\program files\python36\lib\site-packages\pip\req\req_install.py ", line 878, in install Spinner=spinner, File" c:\program Files \python36\lib\site-packages\pip\utils__init__.py ", line 676, in call_subprocess line = CONSOLE_TO_STR ( Proc.stdout.readline ()) File "C:\Program files\python36\lib\site-packages\pip\compat__init__.py", line page, in console _to_str return S.decode (' Utf_8 ') unicodedecodeerror: ' Utf-8 ' codec can ' t decode byte 0xbe in position 81:invalid start by Te

is ansible available at Windows environment? If Yes, how can I fix this installation problem?

Python windows pip ansible
ShareImprove this question Asked "at 5:41sungyong304 2
Add a Comment
1 answeractiveoldestvotes
up vote0down voteaccepted

ansible is not supported on Windows, but can use a workaround (though not r ecommended) , using cygwin. read about it here.

answered  Aug + "at 6:33 some1else 3841 5
shareimprove this answer
This gives a-to-do it with a Linux VM running in VirtualBox (see 00:41 to 00:53 from here). –w R Oct

How do I install ansible on Windows How to install ansible to my Python at windows

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.