Giter Site home page Giter Site logo

Query on installation process about irma HOT 5 CLOSED

quarkslab avatar quarkslab commented on August 30, 2024
Query on installation process

from irma.

Comments (5)

ch0k0bn avatar ch0k0bn commented on August 30, 2024

Need to investigate this issue, I reproduced it also locally. I guess at the time of v2 we were mainly using python2 for ansible and the different behaviour comes from here, now we are using python3 but with a different version of Ansible (2.8.12 now vs 2.7.12).

As a temporary workaround, could you try using python2 for the irma-ansible command ?

Btw I just added a fix in master for a deprecated url for get-pip.

from irma.

solveryn91 avatar solveryn91 commented on August 30, 2024

Thanks for the reply.

So yea I ran with python2 after obtaining the fix , hinted me with missing libraries. Had yaml settled. Then something shown up:

ImportError: No module named ansible.cli.galaxy

Ansible version as below:

ansible 2.7.12
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/irma/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/irma/.local/lib/python3.8/site-packages/ansible
executable location = /home/irma/.local/bin/ansible
python version = 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0]

So far checked with pip install ansible, hinted me that installation requirements already satisfied. Not sure if it was a part from ansible, or current ansible running with python3.

from irma.

ch0k0bn avatar ch0k0bn commented on August 30, 2024

Could you try inside a python2 virtualenv:

# if needed
$ sudo apt install virtualenv
# create a python2 venv
$ virtualenv -p python2 venv
# activate it
$ source venv2/bin/activate
# install dependencies
$ cd <irma_folder>/ansible
$ pip install -r requirements.txt
# Then launch install
$ python irma-ansible.py environments/allinone_dev.yml playbooks/playbook.yml

from irma.

solveryn91 avatar solveryn91 commented on August 30, 2024

Allrite installing as intended, cheers :)
The installation went hours so far no problem.

from irma.

ch0k0bn avatar ch0k0bn commented on August 30, 2024

good to know! 👍

from irma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.