Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2023 11:41:07 +0200
From:      Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
To:        freebsd-current@freebsd.org
Subject:   Re: Problem compiling py-* ports
Message-ID:  <3cdd0420-7f42-9477-f4ac-0bf3a9b15181@plan-b.pwste.edu.pl>
In-Reply-To: <xr3ooqpwmlfp7o5gnodeihaca57t33pikwurbiemnw3ofkx2p3@cfclmahia3u3>
References:  <214790055.5338048.1681805577606.ref@mail.yahoo.com> <214790055.5338048.1681805577606@mail.yahoo.com> <xr3ooqpwmlfp7o5gnodeihaca57t33pikwurbiemnw3ofkx2p3@cfclmahia3u3>

next in thread | previous in thread | raw e-mail | index | archive | help
W dniu 18.04.2023 o 10:46, Felix Palmen pisze:
> * Filippo Moretti <filippomore@yahoo.com> [20230418 08:12]:
>>    File "/usr/local/lib/python3.9/site-packages/setuptools/_importlib.py", line 31, in <listcomp>
>>      if isinstance(ob, importlib_metadata.MetadataPathFinder)
>> AttributeError: module 'importlib_metadata' has no attribute 'MetadataPathFinder'
I am also hitting this bug with Python 3.8, so I recently considered an 
upgrade to 3.10, but it comes out that flaw is not version dependent.
> Looks like you're building directly on your host (not in clean jails)
> and the build picks up "something" that's already installed.
What is the culprit? Removing blindly all py- packages for all affected 
hosts with dependent software is not the best solution.
>
> I'd probably try to uninstall all python packages, check whether there
> are leftovers in LOCALBASE/lib/python3.9 (and remove them if necessary)
> and then do a rebuild.
>
> You can avoid this class of issues using poudriere btw...
>

-- 
Marek Zarychta




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3cdd0420-7f42-9477-f4ac-0bf3a9b15181>