I tried to install ansible 2.5.9 on debian9 os:python-2.7 install steps: 1. wget https://releases.ansible.com/ansible/ansible-2.5.9.tar.gz2. tar zxvf ansible-2.5.9.tar.gz3. cd ansible-2.5.9.tar.gz4. python setup.py build5. python setup.py install it find Best match: Jinja2 3.0.0a1, which need python3. I just need Jinja2 2.8.0. How to solve this problem?=================================================================Installed /usr/local/lib/python2.7/dist-packages/paramiko-2.7.1-py2.7.eggSearching for jinja2Reading https://pypi.python.org/simple/jinja2/Downloading https://files.pythonhosted.org/packages/36/cc/5cd404a00f1b93bc830505c7a78553d9f49f7152c336466fc206790cc26c/Jinja2-3.0.0a1.tar.gz#sha256=c922560ac46888d47384de1dbdc3daaa2ea993af4b26a436dec31fa2c19ec668Best match: Jinja2 3.0.0a1Processing Jinja2-3.0.0a1.tar.gzWriting /tmp/easy_install-3fa9kr/Jinja2-3.0.0a1/setup.cfgRunning Jinja2-3.0.0a1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-3fa9kr/Jinja2-3.0.0a1/egg-dist-tmp-SDCN31Traceback (most recent call last):TypeError: 'encoding' is an invalid keyword argument for this function=======================================================================
-- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3304b018-a1b9-4cdf-a14c-80accd22d2ce%40googlegroups.com.
