Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2017 22:51:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 224438] math/z3: Missing runtime dependency on py27-setuptools
Message-ID:  <bug-224438-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 224438
           Summary: math/z3: Missing runtime dependency on py27-setuptools
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: cem@freebsd.org
                CC: 6yearold@gmail.com
                CC: 6yearold@gmail.com
             Flags: maintainer-feedback?(6yearold@gmail.com)

$ python2 foo.py
  File "foo.py", line 1, in <module>
    import z3
  File "/usr/local/lib/python2.7/site-packages/z3/__init__.py", line 1, in
<module>
    from .z3 import *
  File "/usr/local/lib/python2.7/site-packages/z3/z3.py", line 44, in <modu=
le>
    from . import z3core
  File "/usr/local/lib/python2.7/site-packages/z3/z3core.py", line 4, in
<module>
    import pkg_resources
ImportError: No module named pkg_resources

$ pkg install py27-setuptools
$ pkg info -l py27-setuptools | grep pkg_resources
        /usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py

$ python2 foo.py
<error is gone>

--=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-224438-13>