distutils not in default installation

35 views
Skip to first unread message

Tarmo

unread,
May 1, 2020, 10:05:49 AM5/1/20
to weewx-user
please include distutil to prerequisites.

weewx-4.0.0 $ python3 ./setup.py build
Traceback (most recent call last):
  File "./setup.py", line 25, in <module>
    from distutils import log
ImportError: cannot import name 'log' from 'distutils' (/usr/lib/python3.7/distutils/__init__.py)


running raspi, buster

Michael

unread,
May 1, 2020, 10:11:33 AM5/1/20
to weewx-user
Hi Tarmo,

I had the same Problem solved with:

sudo apt install python3-pip


Michael

Tarmo

unread,
May 1, 2020, 10:13:23 AM5/1/20
to weewx-user
sudo apt-get install python3-distutils
fixed the problem for me

mwall

unread,
May 1, 2020, 10:46:21 AM5/1/20
to weewx-user
added python3-distutils to the pre-reqs for debian10 at commit 8c15f1cc
Reply all
Reply to author
Forward
0 new messages