pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc-2019Q3 devel/glib2 build failure



On Tue, Oct 29, 2019 at 05:02:54PM +0000, Patrick Welche wrote:
> On Tue, Oct 29, 2019 at 09:37:15AM -0700, Benny Siegert wrote:
> > line 23, in <module>
> >     import xml.parsers.expat
> >   File "/usr/pkg/lib/python3.7/xml/parsers/expat.py", line 4, in <module>
> >     from pyexpat import *
> > ModuleNotFoundError: No module named 'pyexpat'
> 
> so indeed you have py37-expat installed, as ...parsers/expat.py is found.

That bit doesn't follow - but:

> Question is, given that, why the import line fails. Any clues if you
> simply run python3.7 and then type "from pyexpat import *" ? I get:
> 
> # python3.7
> Python 3.7.5 (default, Oct 23 2019, 16:45:33) 
> [GCC 8.3.0] on netbsd9
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from pyexpat import *
> >>> exit()


Home | Main Index | Thread Index | Old Index