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 10:18 AM Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:
>
> 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:

No error message there:

$ ./2019Q3/bin/python3.7
Python 3.7.4 (default, Oct 29 2019, 13:45:26)
[GCC 7.4.0] on netbsd9
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyexpat import *
>>> ^D


-- 
Benny


Home | Main Index | Thread Index | Old Index