------- Original Message -------
On Sunday, April 16th, 2023 at 3:39 PM, Rich Shepard <rshep...@appl-ecosys.com> 
wrote:


> On Sun, 16 Apr 2023, Ben Koenig wrote:
> 
> > Ah ok so here is where we got real problems. First off, you don't want to
> > use pip. it makes it very difficult to remove packages later and can
> > result in a broken python installation.
> 
> 
> Ben,
> 
> I've used pip when I could not find an SBo package.
> 
> > You can try starting the build with "meson build -Dpython=python2.7" to
> > make sure it selects the older python. If that doesn't work you might need
> > to seek other solutions since dealing with an incomplete python stack is a
> > project all on it's own.
> 
> 
> Wait ... meson wants python2 and not python3?
> 
> Nope:
> $ meson build -Dpython=python2.7
> Traceback (most recent call last):
> File "/usr/bin/meson", line 6, in <module>
> 
> from pkg_resources import load_entry_point
> File 
> "/home/rshepard/.local/lib/python3.9/site-packages/pkg_resources/init.py", 
> line 3324, in <module>
> 
> def _initialize_master_working_set():
> File 
> "/home/rshepard/.local/lib/python3.9/site-packages/pkg_resources/init.py", 
> line 3298, in _call_aside
> f(*args, **kwargs)
> File 
> "/home/rshepard/.local/lib/python3.9/site-packages/pkg_resources/init.py", 
> line 3336, in _initialize_master_working_set
> working_set = WorkingSet._build_master()
> File 
> "/home/rshepard/.local/lib/python3.9/site-packages/pkg_resources/init.py", 
> line 629, in _build_master
> ws.require(requires)
> File 
> "/home/rshepard/.local/lib/python3.9/site-packages/pkg_resources/init.py", 
> line 966, in require
> needed = self.resolve(parse_requirements(requirements))
> File 
> "/home/rshepard/.local/lib/python3.9/site-packages/pkg_resources/init.py", 
> line 827, in resolve
> dist = self._resolve_dist(
> File 
> "/home/rshepard/.local/lib/python3.9/site-packages/pkg_resources/init.py", 
> line 868, in _resolve_dist
> raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'meson==0.59.2' distribution was not 
> found and is required by the application
> 
> Yet,
> $ ls /var/log/packages/ | grep meson
> meson-0.59.2-x86_64-2
> 
> Thanks,
> 
> Rich

.... you'll figure it out. sink or swim. Most of the slackware community has 
pretty much given up using python on 14.2 for this exact reason. 

And you've been using pip so this ones on you. 
-Ben

Reply via email to