Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pycrypto Causing Ansible Installation to Fail #134

Open
MrRussLuther opened this issue Aug 14, 2019 · 0 comments
Open

Pycrypto Causing Ansible Installation to Fail #134

MrRussLuther opened this issue Aug 14, 2019 · 0 comments

Comments

@MrRussLuther
Copy link

MrRussLuther commented Aug 14, 2019

Hello,
I seem to be running into an issue every time I try to install your software when cloning ansible

in your ./install.sh script the function Install_Ansible dosen't work anymore

apt-get install python-setuptools

    easy_install pip

    cd ..

    git clone https://github.com/ansible/ansible.git

    cd ansible

    git checkout v2.3.2.0-1

    pip install -r ./requirements.txt

    source ./hacking/env-setup

Because one of the Requirements for Ansible version 2.3.2.0-1 is pycrypto.
Unfortunately this package is no longer supported (last updated in 2013), and so throws an error when trying to install.
The fix for this is easy, the package pycryptodome picked up support for pycrypto and uses the same commands / functionality.

This means to fix this problem, you need to:

install ansible v2.3.2.0-1

modify requirements.txt and replace pycrypto with pycryptodome

modify the ./install.sh script of OpenNet to remove the two git commands (clone and checkout)

and run the ./install.sh script to install opennet

Hope this helps anyone who wants to use this software, I just finished a Final Project using it and this took me an hr or two to find out.

If anyone is maintaining this repo I'd be more than happy to help you merge a change to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant