| Summary: | dev-python/cherrypy-18.1.0: ModuleNotFoundError: No module named 'zc' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Hector Martin <marcan> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | florian.berger, zmedico |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
We'll need a dev-python/namespace-zc packages (note that there's a dev-python/zc-buildout ebuild that installs the zc package). A temporary fix is to do
$ easy_install --user zc.lockfile
which installs the missing package for the current user.
Sidenote: there apparently used to be a zc-lockfile ebuild when net-zope was still in the tree, but that's all gone now.
zc-lockfile has since been added, and zc-buildout was removed. |
File "module.py", line 1, in <module> import cherrypy File "/usr/lib64/python3.6/site-packages/cherrypy/__init__.py", line 73, in <module> from ._cptools import default_toolbox as tools, Tool File "/usr/lib64/python3.6/site-packages/cherrypy/_cptools.py", line 29, in <module> from cherrypy.lib import sessions as _sessions, xmlrpcutil as _xmlrpc File "/usr/lib64/python3.6/site-packages/cherrypy/lib/sessions.py", line 112, in <module> import zc.lockfile ModuleNotFoundError: No module named 'zc' zc.lockfile is a new dependency for CherryPy but isn't even packaged for Gentoo yet as far as I can tell. This needs a new package for the dependency, but until that's done, dev-python/cherrypy-18.1.0 should probably be masked.