Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Aug 2019 20:14:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 239681] net/py-pcap: Cannot import module with python 3
Message-ID:  <bug-239681-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239681

            Bug ID: 239681
           Summary: net/py-pcap: Cannot import module with python 3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: leres@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)
          Assignee: bofh@freebsd.org

Created attachment 206313
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D206313&action=
=3Dedit
poudriere jail build/install capture

I was surprised to find that py-pcap does not work with python 3. For examp=
le
in a poudriere jail running 11.2-RELEASE-p10 if I build and install py36-pc=
ap,
attempting to import it results in a stack trace ending with:

    ModuleNotFoundError: No module named '_pcap'

This seems to be related to swig and might well be an upstream problem.

I'll attach a log that shows my test.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239681-7788>