Pip install of Ansible on Ubuntu 16.04 results in broken ansible

59 views
Skip to first unread message

Stephen Nesbitt

unread,
Dec 18, 2017, 1:28:56 PM12/18/17
to Ansible Project
All:

After installing ansible using pip on an Ubuntu 16.04 system with python 3.5 results in the following error: ERROR! Unexpected Exception, this is probably a bug: (cryptography 1.2.3 (/usr/lib/python3/dist-packages), Requirement.parse('cryptography>=1.5'), {'paramiko'})

Here are my installation steps:
apt-get update
apt
-get install python3.5-minimal
easy_install3 pip
ansible
--help

Any assistance would be appreciated.

-steve

Stephen Nesbitt

unread,
Dec 18, 2017, 1:36:13 PM12/18/17
to Ansible Project

Well I got it to work with the following command:

pip install --upgrade --force-reinstall --no-cache-dir ansible


Some kind of caching issue?

-steve

Jamz Yaneza

unread,
Apr 15, 2019, 9:54:31 PM4/15/19
to Ansible Project
Thank you. This saved me from reinstalling WSL :-)

Cheers,
Jamz
Reply all
Reply to author
Forward
0 new messages