[MacPorts] #55044: py-jcc @2.13: ImportError: cannot import name Library

MacPorts noreply at macports.org
Mon Oct 9 08:02:25 UTC 2017


#55044: py-jcc @2.13: ImportError: cannot import name Library
------------------------+------------------------------
 Reporter:  ryandesign  |      Owner:  petrus.hyvonen@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  py-jcc
------------------------+------------------------------
 {{{
 Executing:  cd "/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-
 jcc/py27-jcc/work/JCC-2.13" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 DEBUG: system:  cd "/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-
 jcc/py27-jcc/work/JCC-2.13" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources/__init__.py:193: RuntimeWarning: You have
 iterated over the result of pkg_resources.parse_version. This is a legacy
 behavior which is inconsistent with the new version class introduced in
 setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For
 comparison of versions, sort the Version instances directly. If you have
 another use case requiring the tuple, please file a bug with the
 setuptools project describing that need.
   stacklevel=1,
 Traceback (most recent call last):
   File "setup.py", line 382, in <module>
     main('--debug' in sys.argv)
   File "setup.py", line 290, in main
     from setuptools import Library
 ImportError: cannot import name Library
 Command failed:  cd "/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-
 jcc/py27-jcc/work/JCC-2.13" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 Exit code: 1
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/55044>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list