Azure / Ansible

Ansible Solution Template on Azure
MIT License
7 stars 10 forks source link

Failed template deployment - TypeError: find_packages() got an unexpected keyword argument 'include' #17

Open grzsar opened 4 years ago

grzsar commented 4 years ago

Deployment with default settings finished with exception in Microsoft.Compute/virtualMachines/extensions. Trace below: VM has reported a failure when processing extension 'Init'. Error message: \"Enable failed: failed to execute command: command terminated with exit status=1 [stdout]\nupSafe-1.1.1-cp27-cp27mu-manylinux1_x86_64.whl\nCollecting enum34; python_version < \"3\" (from cryptography->ansible[azure])\n

Downloading https://files.pythonhosted.org/packages/6f/2c/a9386903ece2ea85e9807e0e062174dc26fdce8b05f216d00491be29fad5/enum34-1.1.10-py2-none-any.whl\nCollecting cffi!=1.11.3,>=1.8 (from cryptography->ansible[azure])\n

Downloading https://files.pythonhosted.org/packages/08/29/8001b940ef40e7a25ffe8f3188bc9b118934b513d64f769dbf461e46f4ed/cffi-1.14.0-cp27-cp27mu-manylinux1_x86_64.whl (387kB)\n Requirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in /usr/lib/python2.7/site-packages (from cryptography->ansible[azure])\n Requirement already satisfied (use --upgrade to upgrade): ipaddress; python_version < \"3\" in /usr/lib/python2.7/site-packages (from cryptography->ansible[azure])\n Collecting pyparsing>=2.0.2 (from packaging->ansible[azure])\n
Downloading https://files.pythonhosted.org/packages/5d/bc/1e58593167fade7b544bfe9502a26dc860940a79ab306e651e7f13be68c2/pyparsing-2.4.6-py2.py3-none-any.whl (67kB)\n Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests[security]->ansible[azure])\n
Downloading https://files.pythonhosted.org/packages/e8/74/6e4f91745020f967d09332bb2b8b9b10090957334692eb88ea4afe91b77f/urllib3-1.25.8-py2.py3-none-any.whl (125kB)\n Collecting idna<3,>=2.5 (from requests[security]->ansible[azure])\n
Downloading https://files.pythonhosted.org/packages/89/e3/afebe61c546d18fb1709a61bee788254b40e736cff7271c7de5de2dc4128/idna-2.9-py2.py3-none-any.whl (58kB)\n Collecting chardet<4,>=3.0.2 (from requests[security]->ansible[azure])\n
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)\n Collecting certifi>=2017.4.17 (from requests[security]->ansible[azure])\n
Downloading https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl (156kB)\n Collecting pyOpenSSL>=0.14; extra == \"security\" (from requests[security]->ansible[azure])\n
Downloading https://files.pythonhosted.org/packages/9e/de/f8342b68fa9e981d348039954657bdf681b2ab93de27443be51865ffa310/pyOpenSSL-19.1.0-py2.py3-none-any.whl (53kB)\n Collecting argcomplete>=1.8.0 (from azure-cli-core==2.0.35->ansible[azure])\n
Downloading https://files.pythonhosted.org/packages/82/7d/455e149c28c320044cb763c23af375bd77d52baca041f611f5c2b4865cf4/argcomplete-1.11.1-py2.py3-none-any.whl\n Collecting colorama>=0.3.9 (from azure-cli-core==2.0.35->ansible[azure])\n
Downloading https://files.pythonhosted.org/packages/c9/dc/45cdef1b4d119eb96316b3117e6d5708a08029992b2fee2c143c7a0a5cc5/colorama-0.4.3-py2.py3-none-any.whl\n Collecting knack==0.3.3 (from azure-cli-core==2.0.35->ansible[azure])\n
Downloading https://files.pythonhosted.org/packages/92/aa/d5563dfb2724a5d7899170461f8c70e88f8f9422bd1c44a2a7528e2e6235/knack-0.3.3-py2.py3-none-any.whl (42kB)\n Collecting tabulate<=0.8.2,>=0.7.7 (from azure-cli-core==2.0.35->ansible[azure])\n
Downloading https://files.pythonhosted.org/packages/12/c2/11d6845db5edf1295bc08b2f488cf5937806586afe42936c3f34c097ebdc/tabulate-0.8.2.tar.gz (45kB)\n Collecting wheel==0.30.0 (from azure-cli-core==2.0.35->ansible[azure])\n
Downloading https://files.pythonhosted.org/packages/0c/80/16a85b47702a1f47a63c104c91abdd0a6704ee8ae3b4ce4afc49bc39f9d9/wheel-0.30.0-py2.py3-none-any.whl (49kB)\n Collecting pygments (from azure-cli-core==2.0.35->ansible[azure])\n
Downloading https://files.pythonhosted.org/packages/6e/4d/4d2fe93a35dfba417311a4ff627489a947b01dc0cc377a3673c00cf7e4b2/Pygments-2.6.1.tar.gz (3.3MB)\n
Complete output from command python setup.py egg_info:\n
Traceback (most recent call last):\n File \"\", line 1, in \n File \"/tmp/pip-build-NcM79E/pygments/setup.py\", line 38, in \n packages = find_packages(include=['pygments', 'pygments.*']),\n TypeError: find_packages() got an unexpected keyword argument 'include'\n
----------------------------------------\n Failed to run sudo pip install ansible[azure]\n

[stderr]\nwarning: /var/cache/yum/x86_64/7/epel/packages/python2-pip-8.1.2-12.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY\n Importing GPG key 0x352C64E5:\n Userid : \"Fedora EPEL (7) epel@fedoraproject.org\"\n Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5 Package : epel-release-7-11.noarch (@extras)\n From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7\n Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-NcM79E/pygments/\n You are using pip version 8.1.2, however version 20.0.2 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.