Installed setuptools with apt install python3-setuptools
Getting the following message
FAILED - RETRYING: [openwisp2.mrwireless.com.mx]: Install openwisp2
controller and its dependencies (3 retries left).Result was: {
"attempts": 3,
"changed": false,
"cmd": [
"/opt/openwisp2/env/bin/pip3",
"install",
"-U",
"openwisp-controller~=1.0.1",
"service_identity"
],
"invocation": {
"module_args": {
"break_system_packages": false,
"chdir": null,
"editable": false,
"executable": null,
"extra_args": null,
"name": [
"openwisp-controller~=1.0.1",
"service_identity"
],
"requirements": null,
"state": "latest",
"umask": null,
"version": null,
"virtualenv": "/opt/openwisp2/env",
"virtualenv_command": "virtualenv",
"virtualenv_python": "python3",
"virtualenv_site_packages": true
}
},
"msg": "stdout: Collecting openwisp-controller~=1.0.1\n Using cached
openwisp_controller-1.0.3-py2.py3-none-any.whl.metadata (139
kB)\nRequirement already satisfied: service_identity in
/usr/lib/python3/dist-packages (24.1.0)\nCollecting django-sortedm2m~=3.1.1
(from openwisp-controller~=1.0.1)\n Using cached django_
sortedm2m-3.1.1-py2.py3-none-any.whl.metadata (19 kB)\nCollecting
django-reversion~=4.0.1 (from openwisp-controller~=1.0.1)\n Using cached
django_reversion-4.0.2-py3-none-any.whl.metadata (3.6 kB)\nCollecting
django-x509~=1.1.0 (from openwisp-controller~=1.0.1)\n Using cached django_
x509-1.1-py2.py3-none-any.whl.metadata (19 kB)\nCollecting
django-taggit~=2.1.0 (from openwisp-controller~=1.0.1)\n Using cached
django_taggit-2.1.0-py3-none-any.whl.metadata (3.5 kB)\nCollecting
django-loci~=1.0.1 (from openwisp-controller~=1.0.1)\n Using cached django_
loci-1.0.1-py2.py3-none-any.whl.metadata (16 kB)\nCollecting
django-flat-json-widget~=0.2.0 (from openwisp-controller~=1.0.1)\n Using
cached django_flat_json_widget-0.2-py2.py3-none-any.whl.metadata (5.1
kB)\nCollecting openwisp-utils~=1.0.1 (from
openwisp-utils[rest]~=1.0.1->openwisp-controller~=1.0.1)\n Using cached
openwisp_utils-1.0.5-py2.py3-none-any.whl.metadata (63 kB)\nCollecting
netjsonconfig~=1.0.1 (from openwisp-controller~=1.0.1)\n Using cached
netjsonconfig-1.0.2-py2.py3-none-any.whl.metadata (3.8 kB)\nCollecting
openwisp-users~=1.0.0 (from openwisp-controller~=1.0.1)\n Using cached
openwisp_users-1.0.2-py2.py3-none-any.whl.metadata (44 kB)\nCollecting
openwisp-notifications~=1.0.0 (from openwisp-controller~=1.0.1)\n Using
cached openwisp_notifications-1.0.3-py2.py3-none-any.whl.metadata (55
kB)\nCollecting openwisp-ipam~=1.0.0 (from openwisp-controller~=1.0.1)\n
Using cached openwisp_ipam-1.0-py2.py3-none-any.whl.metadata (24
kB)\nCollecting djangorestframework-gis~=0.18.0 (from
openwisp-controller~=1.0.1)\n Using cached djangorestframework_
gis-0.18-py2.py3-none-any.whl.metadata (29 kB)\nCollecting paramiko~=2.10.3
(from paramiko[ed25519]~=2.10.3->openwisp-controller~=1.0.1)\n Using cached
paramiko-2.10.6-py2.py3-none-any.whl.metadata (4.6 kB)\nCollecting
scp~=0.14.2 (from openwisp-controller~=1.0.1)\n Using cached
scp-0.14.5-py2.py3-none-any.whl.metadata (4.3 kB)\nCollecting celery~=5.2.3
(from openwisp-controller~=1.0.1)\n Using cached
celery-5.2.7-py3-none-any.whl.metadata (20 kB)\nCollecting
django-cache-memoize~=0.1 (from openwisp-controller~=1.0.1)\n Using cached
django_cache_memoize-0.2.0-py3-none-any.whl.metadata (15 kB)\nCollecting
shortuuid~=1.0.1 (from openwisp-controller~=1.0.1)\n Using cached
shortuuid-1.0.13-py3-none-any.whl.metadata (5.8 kB)\nRequirement already
satisfied: netaddr~=0.8.0 in /usr/lib/python3/dist-packages (from
openwisp-controller~=1.0.1) (0.8.0)\nRequirement already satisfied:
attrs>=19.1.0 in /opt/openwisp2/env/lib/python3.12/site-packages (from
service_identity) (24.1.0)\nRequirement already satisfied: cryptography in
/usr/lib/python3/dist-packages (from service_identity)
(41.0.7)\nRequirement already satisfied: pyasn1 in
/usr/lib/python3/dist-packages (from service_identity) (0.4.8)\nRequirement
already satisfied: pyasn1-modules in /usr/lib/python3/dist-packages (from
service_identity) (0.2.8)\nRequirement already satisfied: pytz>=2021.3 in
/usr/lib/python3/dist-packages (from
celery~=5.2.3->openwisp-controller~=1.0.1) (2024.1)\nCollecting
billiard<4.0,>=3.6.4.0 (from celery~=5.2.3->openwisp-controller~=1.0.1)\n
Using cached billiard-3.6.4.0-py3-none-any.whl.metadata (4.5
kB)\nCollecting kombu<6.0,>=5.2.3 (from
celery~=5.2.3->openwisp-controller~=1.0.1)\n Using cached
kombu-5.3.7-py3-none-any.whl.metadata (3.1 kB)\nCollecting vine<6.0,>=5.0.0
(from celery~=5.2.3->openwisp-controller~=1.0.1)\n Using cached
vine-5.1.0-py3-none-any.whl.metadata (2.7 kB)\nRequirement already
satisfied: click<9.0,>=8.0.3 in /usr/lib/python3/dist-packages (from
celery~=5.2.3->openwisp-controller~=1.0.1) (8.1.6)\nCollecting
click-didyoumean>=0.0.3 (from celery~=5.2.3->openwisp-controller~=1.0.1)\n
Using cached click_didyoumean-0.3.1-py3-none-any.whl.metadata (3.9
kB)\nCollecting click-repl>=0.2.0 (from
celery~=5.2.3->openwisp-controller~=1.0.1)\n Using cached
click_repl-0.3.0-py3-none-any.whl.metadata (3.6 kB)\nCollecting
click-plugins>=1.1.1 (from celery~=5.2.3->openwisp-controller~=1.0.1)\n
Using cached click_plugins-1.1.1-py2.py3-none-any.whl.metadata (6.4
kB)\nCollecting django<4.1.0,>=3.0 (from
django-loci~=1.0.1->openwisp-controller~=1.0.1)\n Using cached
Django-4.0.10-py3-none-any.whl.metadata (4.1 kB)\nCollecting
channels~=3.0.4 (from django-loci~=1.0.1->openwisp-controller~=1.0.1)\n
Using cached channels-3.0.5-py3-none-any.whl.metadata (1.3 kB)\nCollecting
django-leaflet~=0.28.0 (from
django-loci~=1.0.1->openwisp-controller~=1.0.1)\n Using cached
django_leaflet-0.28.3-py3-none-any.whl.metadata (16 kB)\nCollecting
Pillow~=9.1.0 (from django-loci~=1.0.1->openwisp-controller~=1.0.1)\n Using
cached Pillow-9.1.1.tar.gz (49.8 MB)\n Preparing metadata (setup.py):
started\n Preparing metadata (setup.py): finished with status
'error'\n\n:stderr: error: subprocess-exited-with-error\n \n × python
setup.py egg_info did not run successfully.\n │ exit code: 1\n ╰─> [3 lines
of output]\n
/opt/openwisp2/env/lib/python3.12/site-packages/_distutils_hack/init.py:55:
UserWarning: Reliance on distutils from stdlib is deprecated. Users must
rely on setuptools to provide the distutils module. Avoid importing
distutils or import setuptools first, and avoid setting
SETUPTOOLS_USE_DISTUTILS=stdlib. Register concerns at
https://github.com/pypa/setuptools/issues/new?template=distutils-deprecation.yml\n
warnings.warn(\n
ERROR: Can not execute setup.py since setuptools is not available in the
build environment.\n [end of output]\n \n note: This error originates from
a subprocess, and is likely not a problem with pip.\nerror:
metadata-generation-failed\n\n× Encountered error while generating package
metadata.\n╰─> See above for output.\n\nnote: This is an issue with the
package mentioned above, not pip.\nhint: See above for details.\n",
"retries": 6
--
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 [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/openwisp/4d14c26b-6fcf-4dd5-bf77-cc7ed824e926n%40googlegroups.com.