[Bug 224438] math/z3: Missing runtime dependency on py27-setuptools

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 18 22:51:40 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224438

            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 at FreeBSD.org
          Reporter: cem at freebsd.org
                CC: 6yearold at gmail.com
                CC: 6yearold at gmail.com
             Flags: maintainer-feedback?(6yearold at 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 <module>
    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>

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


More information about the freebsd-ports-bugs mailing list