[Python-apps-team] Bug#903909: ImportError: cannot import name LazyUtilityCode

Picca Frédéric-Emmanuel picca at debian.org
Mon Jul 16 15:17:51 BST 2018


Package: cython-dbg
Severity: important


Hello,

while preparingmy python-fabio packages, I got htis error message.

It seems to me that something is wrong in the cython-dbg packages.

Cheers

Frederic

running build_ext
Traceback (most recent call last):
  File "setup.py", line 968, in <module>
    setup_package()
  File "setup.py", line 964, in setup_package
    setup(**setup_kwargs)
  File "/usr/lib/python2.7/dist-packages/setuptools/__init__.py", line 129, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/dist-packages/setuptools/command/build_ext.py", line 78, in run
    _build_ext.run(self)
  File "/usr/lib/python2.7/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "setup.py", line 667, in build_extensions
    self.patch_extension(ext)
  File "setup.py", line 586, in patch_extension
    from Cython.Build import cythonize
  File "/usr/lib/python2.7/dist-packages/Cython/Build/__init__.py", line 1, in <module>
    from .Dependencies import cythonize
  File "/usr/lib/python2.7/dist-packages/Cython/Build/Dependencies.py", line 36, in <module>
    from ..Compiler.Main import Context, CompilationOptions, default_options
  File "/usr/lib/python2.7/dist-packages/Cython/Compiler/Main.py", line 30, in <module>
    from .Symtab import ModuleScope
  File "/usr/lib/python2.7/dist-packages/Cython/Compiler/Symtab.py", line 19, in <module>
    from . import PyrexTypes
  File "/usr/lib/python2.7/dist-packages/Cython/Compiler/PyrexTypes.py", line 17, in <module>
    from .Code import UtilityCode, LazyUtilityCode, TempitaUtilityCode
ImportError: cannot import name LazyUtilityCode
E: pybuild pybuild:336: build: plugin distutils failed with: exit code=1: /usr/bin/python-dbg setup.py build


-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 4.16.0-2-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cython-dbg depends on:
ii  cython  0.28.2-4
ii  libc6   2.27-4

cython-dbg recommends no packages.

cython-dbg suggests no packages.



More information about the Python-apps-team mailing list