You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RuntimeError: "cryptography requires setuptools 18.5 or newer, please upgrade to a newer version of setuptools" while running setup.py during controller vm provisioning.
#2
Open
teterkin opened this issue
Aug 2, 2018
· 2 comments
controller: Running setup.py (path:/tmp/pip_build_root/ansible/setup.py) egg_info for package ansible
controller:
controller: no previously-included directories found matching 'hacking'
controller: Downloading/unpacking jinja2 (from ansible)
controller: Requirement already satisfied (use --upgrade to upgrade): PyYAML in /usr/lib/python2.7/dist-packages (from ansible)
controller: Downloading/unpacking paramiko (from ansible)
controller: Downloading/unpacking cryptography (from ansible)
controller: Running setup.py (path:/tmp/pip_build_root/cryptography/setup.py) egg_info for package cryptography
controller: Traceback (most recent call last):
controller: File "<string>", line 17, in <module>
controller: File "/tmp/pip_build_root/cryptography/setup.py", line 28, in <module>
controller: "cryptography requires setuptools 18.5 or newer, please upgrade to a "
controller: RuntimeError: cryptography requires setuptools 18.5 or newer, please upgrade to a newer version of setuptools
controller: Complete output from command python setup.py egg_info:
controller: Traceback (most recent call last):
controller:
controller: File "<string>", line 17, in <module>
controller:
controller: File "/tmp/pip_build_root/cryptography/setup.py", line 28, in <module>
controller:
controller: "cryptography requires setuptools 18.5 or newer, please upgrade to a "
controller:
controller: RuntimeError: cryptography requires setuptools 18.5 or newer, please upgrade to a newer version of setuptools
controller:
controller: ----------------------------------------
To fix this I did the following: vagrant@controller:~$ sudo pip install setuptools --upgrade
But still I have a problem to build Ansible ( I have openned a separate issue: #1).
Why don't you use official Ansible installation method on Ubuntu?
Like this:
Thanks for spotting the problem. This repo was for a workshop 3 years ago, and I'm sure many things have changed in Ansible (even in Ubuntu, this probably should be changed to support 18.04).
If you prepare a Pull Request with the changes, I will accept them 😉
To fix this I did the following:
vagrant@controller:~$ sudo pip install setuptools --upgrade
But still I have a problem to build Ansible ( I have openned a separate issue: #1).
Why don't you use official Ansible installation method on Ubuntu?
Like this:
The text was updated successfully, but these errors were encountered: