Unable to Install Openwisp2 controller

35 views
Skip to first unread message

Bankim Rana

unread,
Mar 6, 2020, 2:20:49 AM3/6/20
to open...@googlegroups.com
Hello Openwisp2 team,

I am trying to install Openwisp2 controller and getting below error message, Please help me in it.

ERROR: Could not find a version that satisfies the requirement jsonfield<4.0.0,>=3.1.0 (from django-x509<0.7.0,>=0.6.2->django-netjsonconfig<0.11.0,>=0.10.2->openwisp-controller~=0.5) (from versions: 0.7, 0.8, 0.9, 0.9.2, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8, 0.9.9, 0.9.10, 0.9.11, 0.9.12, 0.9.13, 0.9.14, 0.9.15, 0.9.17, 0.9.18, 0.9.19, 0.9.20, 0.9.22, 0.9.23, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.1.1, 3.0.0)\nERROR: No matching distribution found for jsonfield<4.0.0,>=3.1.0 (from django-x509<0.7.0,>=0.6.2->django-netjsonconfig<0.11.0,>=0.10.2->openwisp-controller~=0.5)\n"}    

I have also given here content of my "playbook.yml" So, you will get idea about my mistake.

- hosts: openwisp2

  become: "{{ become | default('yes') }}"

  roles:

    - openwisp.openwisp2

  vars:
    openwisp2_network_topology: true

--
Bankim Rana,
Sr. Software Engineer, Sadhana Nitro Chem Ltd. (Strix)

Federico Capoano

unread,
Mar 6, 2020, 9:13:07 AM3/6/20
to OpenWISP
Hi Bankim,

what OS version are you using?

That's a problem which surfaced a few days ago on systems that have a python version equal or older than python 3.5, because some packages are not available on older versions of python anymore.

Try on debian buster, ensure the ansible role (ansible-openwisp2) is the latest available version.

Federico

--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CA%2By1Vuv5GD7_WSoZ%2B4gZgaV1F-EsgoSey2102%3DfrzFqZTNp5NQ%40mail.gmail.com.

Bankim Rana

unread,
Mar 9, 2020, 4:39:11 AM3/9/20
to open...@googlegroups.com
Hello Federico,

Please find my OS and ansible latest version as shown below.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.6 LTS
Release:        16.04
Codename:       xenial
strix@vmi347668:~$ ansible --version
ansible 2.9.4
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/strix/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/dist-packages/ansible
  executable location = /usr/bin/ansible.
  python version = 2.7.12 (default, Oct  8 2019, 14:14:10) [GCC 5.4.0 20160609]


Please let me know what should I get change





Ajay Tripathi

unread,
Mar 9, 2020, 7:11:50 AM3/9/20
to OpenWISP
Hi,

To begin with, you need to change the python version, Python 2 is now deprecated.
We are currently only supporting python 3.6 + ! :-)


Ajay



--
Best, 
Ajay Tripathi

Federico Capoano

unread,
Mar 9, 2020, 10:20:55 AM3/9/20
to OpenWISP
Move to Ubuntu 18 LTS or Debian buster.

Reply all
Reply to author
Forward
0 new messages