Need to install Python3 setuptools module

S  | Name                 | Type    | Version    | Arch   | Repository
---+----------------------+---------+------------+--------+--------------------
i+ | python311-setuptools | package | 75.6.0-3.1 | noarch | openSUSE:Tumbleweed
i+ | python311-setuptools | package | 75.6.0-3.1 | noarch | openSUSE:Tumbleweed
i+ | python311-setuptools | package | 75.6.0-3.1 | noarch | repo-oss
james@ninja:~> 

by edit, you mean remove it?

@james80 see if changing to python311-setuptools from the call TestHostCommand,python3-setuptools part.

ok but in that part ; $(STAGING_DIR_HOST)/bin/python3 -c 'import setuptools'))
in STAGING_DIR_HOST)/bin we only see python and python3 when we start the compilation…

@james80 so that got you past the error? So python3 should point to python3.11?

$(eval $(call TestHostCommand,python311-setuptools, \
    Please install the Python311 setuptools module, \
    $(STAGING_DIR_HOST)/bin/python3 -c 'import setuptools'))

@james80 so did that work?

first try not, I edited again to the default and now it is working, pretty weird… thanks btw
I will make some more tests and I will let you know
thank you

1 Like
bor@tw:~> python3 --version
Python 3.11.11
bor@tw:~> python3 -c 'import setuptools' 
bor@tw:~> echo $?
0
bor@tw:~> ls -l /usr/bin/python3
lrwxrwxrwx 1 root root 10 Dec  5 00:40 /usr/bin/python3 -> python3.11
bor@tw:~> 

I have no idea what STAGING_DIR_HOST refers to and what $(STAGING_DIR_HOST)/bin/python3 really is. But it most certainly not the problem of the missing setuptools.