Skip to content

AttributeError: module 'zenml.logger' has no attribute 'wrapped_print' when running uv run zenml ... #4071

@smarter

Description

@smarter

Contact Details [Optional]

No response

System Information

% ZENML_CAPTURE_PRINTS=0 uv run zenml info -a -s
ZENML_LOCAL_VERSION: 0.90.0
ZENML_SERVER_VERSION: 0.90.0
ZENML_SERVER_DATABASE: sqlite
ZENML_SERVER_DEPLOYMENT_TYPE: local
ZENML_CONFIG_DIR: /home/smarter/.config/zenml
ZENML_LOCAL_STORE_DIR: /home/smarter/.config/zenml/local_stores
ZENML_SERVER_URL: http://127.0.0.1:8237
ZENML_ACTIVE_REPOSITORY_ROOT: None
PYTHON_VERSION: 3.12.9
ENVIRONMENT: native
SYSTEM_INFO: {'os': 'linux', 'linux_distro': 'ubuntu', 'linux_distro_like': 'debian', 'linux_distro_version': '25.04'}
ACTIVE_PROJECT: default
ACTIVE_STACK: default
ACTIVE_USER: default
TELEMETRY_STATUS: enabled
ANALYTICS_CLIENT_ID: ea7ff347-b695-4dff-84bd-fd9a86cb0ad9
ANALYTICS_USER_ID: 8b518922-6720-4dc0-bf3a-c934775bdfbb
ANALYTICS_SERVER_ID: ea7ff347-b695-4dff-84bd-fd9a86cb0ad9
INTEGRATIONS: ['bitbucket', 'pytorch', 'pillow', 'openai', 'numpy', 'kaniko', 'scipy', 'airflow', 'pandas']
PACKAGES: {'blake3': '1.0.5', 'wheel': '0.45.1', 'mdurl': '0.1.2', 'rich': '14.1.0', 'datasets': '3.6.0', 'multidict': '6.6.4', 'cut-cross-entropy': '25.1.1', 'dnspython': '2.7.0', 'pynvml': '13.0.1', 'six': '1.17.0', 'markdown-it-py':
'4.0.0', 'nvidia-curand-cu12': '10.3.7.77', 'openai-harmony': '0.0.4', 'cachetools': '6.2.0', 'referencing': '0.36.2', 'psutil': '7.0.0', 'Pygments': '2.19.2', 'docstring_parser': '0.17.0', 'fastapi-cli': '0.0.8', 'openai': '1.99.1',
'filelock': '3.19.1', 'typer': '0.16.1', 'sympy': '1.14.0', 'mistral_common': '1.8.4', 'hf-xet': '1.1.9', 'nvidia-cuda-cupti-cu12': '12.6.80', 'shellingham': '1.5.4', 'sentry-sdk': '2.35.1', 'annotated-types': '0.7.0', 'accelerate':
'1.7.0', 'compressed-tensors': '0.10.2', 'fastapi-cloud-cli': '0.1.5', 'pandas': '2.3.1', 'tyro': '0.9.29', 'yarl': '1.20.1', 'llguidance': '0.7.30', 'nvidia-cublas-cu12': '12.6.4.1', 'aiohttp': '3.12.15', 'torchaudio': '2.7.1',
'docker': '7.1.0', 'jsonref': '1.1.0', 'jsonschema': '4.25.1', 'python-dotenv': '1.1.1', 'depyf': '0.19.0', 'fsspec': '2025.3.0', 'watchfiles': '1.1.0', 'aiohappyeyeballs': '2.6.1', 'typeguard': '4.3.0', 'sniffio': '1.3.1',
'jsonschema-specifications': '2025.4.1', 'lm-format-enforcer': '0.10.12', 'torchao': '0.13.0', 'tzdata': '2025.2', 'anyio': '4.10.0', 'prometheus_client': '0.22.1', 'lark': '1.2.2', 'ray': '2.49.0', 'trl': '0.15.2', 'termcolor': '3.1.0',
'zenml': '0.90.0', 'nvidia-nccl-cu12': '2.26.2', 'python-multipart': '0.0.20', 'xgrammar': '0.1.21', 'pyzmq': '27.0.2', 'nvidia-cusolver-cu12': '11.7.1.2', 'opencv-python-headless': '4.11.0.86', 'pybase64': '1.4.2', 'Jinja2': '3.1.6',
'interegular': '0.3.3', 'cffi': '1.17.1', 'py-cpuinfo': '9.0.0', 'mpmath': '1.3.0', 'setuptools': '79.0.1', 'httptools': '0.6.4', 'python-json-logger': '3.3.0', 'torch': '2.7.1', 'PyYAML': '6.0.2', 'xformers': '0.0.31', 'click': '8.2.1',
'pydantic_core': '2.33.2', 'fastapi': '0.116.1', 'dill': '0.3.8', 'rpds-py': '0.27.1', 'ninja': '1.13.0', 'unsloth_zoo': '2025.8.8', 'email-validator': '2.3.0', 'setproctitle': '1.3.7', 'xxhash': '3.5.0', 'transformers': '4.55.0',
'MarkupSafe': '3.0.2', 'nvidia-nvjitlink-cu12': '12.6.85', 'gguf': '0.17.1', 'regex': '2025.7.34', 'hf_transfer': '0.1.9', 'peft': '0.15.1', 'nvidia-ml-py': '13.580.65', 'shtab': '1.7.2', 'msgspec': '0.19.0', 'smmap': '5.0.2', 'pytz':
'2025.2', 'pillow': '11.3.0', 'charset-normalizer': '3.4.3', 'sentencepiece': '0.2.1', 'rich-toolkit': '0.15.0', 'nvidia-cuda-runtime-cu12': '12.6.77', 'pycountry': '24.6.1', 'h11': '0.16.0', 'partial-json-parser': '0.2.1.1.post6',
'msgpack': '1.1.1', 'gitdb': '4.0.12', 'nvidia-cuda-nvrtc-cu12': '12.6.77', 'urllib3': '2.5.0', 'numpy': '1.26.4', 'frozenlist': '1.7.0', 'networkx': '3.5', 'zipp': '3.19.2', 'cupy-cuda12x': '13.6.0', 'importlib_metadata': '8.0.0',
'uvicorn': '0.35.0', 'pycparser': '2.22', 'backoff': '2.2.1', 'astor': '0.8.1', 'soxr': '0.5.0.post1', 'multiprocess': '0.70.16', 'huggingface-hub': '0.34.4', 'flashinfer-python': '0.3.1', 'safetensors': '0.6.2', 'cbor2': '5.7.0',
'rignore': '0.6.4', 'fire': '0.7.0', 'fastrlock': '0.8.3', 'einops': '0.8.1', 'starlette': '0.47.3', 'llvmlite': '0.44.0', 'nvidia-nvtx-cu12': '12.6.77', 'tqdm': '4.67.1', 'nvidia-cusparselt-cu12': '0.6.3', 'jiter': '0.10.0',
'nvidia-cudnn-cu12': '9.5.1.17', 'GitPython': '3.1.45', 'tabulate': '0.9.0', 'bitsandbytes': '0.45.5', 'pyarrow': '21.0.0', 'pydantic': '2.11.7', 'pydantic-extra-types': '2.10.5', 'tokenizers': '0.21.4', 'numba': '0.61.2', 'unsloth':
'2025.5.9', 'aiosignal': '1.4.0', 'diskcache': '5.6.3', 'packaging': '24.2', 'typing-inspection': '0.4.1', 'attrs': '25.3.0', 'requests': '2.32.5', 'protobuf': '3.20.3', 'outlines_core': '0.2.10', 'uvloop': '0.21.0', 'python-dateutil':
'2.9.0.post0', 'certifi': '2025.8.3', 'prometheus-fastapi-instrumentator': '7.1.0', 'idna': '3.10', 'soundfile': '0.13.1', 'tiktoken': '0.11.0', 'nvidia-cufft-cu12': '11.3.0.4', 'triton': '3.3.1', 'nvidia-cufile-cu12': '1.11.1.6',
'propcache': '0.3.2', 'diffusers': '0.35.1', 'cloudpickle': '3.1.1', 'websockets': '15.0.1', 'scipy': '1.16.1', 'vllm': '0.10.1.1', 'nvidia-cusparse-cu12': '12.5.4.2', 'torchvision': '0.22.1', 'typing_extensions': '4.12.2',
'nvidia-cudnn-frontend': '1.14.1', 'httpx': '0.28.1', 'httpcore': '1.0.9', 'distro': '1.9.0', 'platformdirs': '4.2.2', 'jaraco.collections': '5.1.0', 'jaraco.text': '3.12.1', 'inflect': '7.3.1', 'tomli': '2.0.1', 'more-itertools':
'10.3.0', 'autocommand': '2.2.2', 'jaraco.functools': '4.0.1', 'backports.tarfile': '1.2.0', 'jaraco.context': '5.3.0'}

CURRENT STACK

Name: default
ID: 21acf1da-e5c8-4881-8660-8d09c9b129c2

ARTIFACT_STORE: default

Name: default
ID: 34dc6fd4-9652-4c22-b958-a90c6d13827c
Type: artifact_store
Flavor: local
Configuration: {}

ORCHESTRATOR: default

Name: default
ID: e353d6e8-874b-4ca8-8fa7-83914b7f025a
Type: orchestrator
Flavor: local
Configuration: {}

What happened?

Using zenml ... fails with "AttributeError: module 'zenml.logger' has no attribute 'wrapped_print'". As a workaround, I can get it to work by firs setting ZENML_CAPTURE_PRINTS=0.

Reproduction steps

% uv add zenml
...
% uv run zenml info
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /home/smarter/opt/persona_vectors/.venv/bin/zenml:10 in <module>                                 │
│                                                                                                  │
│    7 │   │   sys.argv[0] = sys.argv[0][:-11]                                                     │
│    8 │   elif sys.argv[0].endswith(".exe"):                                                      │
│    9 │   │   sys.argv[0] = sys.argv[0][:-4]                                                      │
│ ❱ 10 │   sys.exit(cli())                                                                         │
│   11                                                                                             │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/click/core.py:1442 in       │
│ __call__                                                                                         │
│                                                                                                  │
│   1439 │                                                                                         │
│   1440 │   def __call__(self, *args: t.Any, **kwargs: t.Any) -> t.Any:                           │
│   1441 │   │   """Alias for :meth:`main`."""                                                     │
│ ❱ 1442 │   │   return self.main(*args, **kwargs)                                                 │
│   1443                                                                                           │
│   1444                                                                                           │
│   1445 class _FakeSubclassCheck(type):                                                           │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/click/core.py:1363 in main  │
│                                                                                                  │
│   1360 │   │   try:                                                                              │
│   1361 │   │   │   try:                                                                          │
│   1362 │   │   │   │   with self.make_context(prog_name, args, **extra) as ctx:                  │
│ ❱ 1363 │   │   │   │   │   rv = self.invoke(ctx)                                                 │
│   1364 │   │   │   │   │   if not standalone_mode:                                               │
│   1365 │   │   │   │   │   │   return rv                                                         │
│   1366 │   │   │   │   │   # it's not safe to `ctx.exit(rv)` here!                               │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/click/core.py:1830 in       │
│ invoke                                                                                           │
│                                                                                                  │
│   1827 │   │   │   │   super().invoke(ctx)                                                       │
│   1828 │   │   │   │   sub_ctx = cmd.make_context(cmd_name, args, parent=ctx)                    │
│   1829 │   │   │   │   with sub_ctx:                                                             │
│ ❱ 1830 │   │   │   │   │   return _process_result(sub_ctx.command.invoke(sub_ctx))               │
│   1831 │   │                                                                                     │
│   1832 │   │   # In chain mode we create the contexts step by step, but after the                │
│   1833 │   │   # base command has been invoked.  Because at that point we do not                 │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/click/core.py:1226 in       │
│ invoke                                                                                           │
│                                                                                                  │
│   1223 │   │   │   echo(style(message, fg="red"), err=True)                                      │
│   1224 │   │                                                                                     │
│   1225 │   │   if self.callback is not None:                                                     │
│ ❱ 1226 │   │   │   return ctx.invoke(self.callback, **ctx.params)                                │
│   1227 │                                                                                         │
│   1228 │   def shell_complete(self, ctx: Context, incomplete: str) -> list[CompletionItem]:      │
│   1229 │   │   """Return a list of completions for the incomplete value. Looks                   │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/click/core.py:794 in invoke │
│                                                                                                  │
│    791 │   │                                                                                     │
│    792 │   │   with augment_usage_errors(self):                                                  │
│    793 │   │   │   with ctx:                                                                     │
│ ❱  794 │   │   │   │   return callback(*args, **kwargs)                                          │
│    795 │                                                                                         │
│    796 │   def forward(self, cmd: Command, /, *args: t.Any, **kwargs: t.Any) -> t.Any:           │
│    797 │   │   """Similar to :meth:`invoke` but fills in default keyword                         │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/zenml/cli/base.py:638 in    │
│ info                                                                                             │
│                                                                                                  │
│   635 │   │   "analytics_client_id": str(gc.user_id),                                            │
│   636 │   │   "analytics_user_id": str(client.active_user.id),                                   │
│   637 │   │   "analytics_server_id": str(client.zen_store.get_store_info().id),                  │
│ ❱ 638 │   │   "integrations": integration_registry.get_installed_integrations(),                 │
│   639 │   │   "packages": {},                                                                    │
│   640 │   │   "query_packages": {},                                                              │
│   641 │   }                                                                                      │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/zenml/integrations/registry │
│ .py:230 in get_installed_integrations                                                            │
│                                                                                                  │
│   227 │   │   Returns:                                                                           │
│   228 │   │   │   List of installed integrations.                                                │
│   229 │   │   """
│ ❱ 230 │   │   self._initialize()                                                                 │
│   231 │   │   return [                                                                           │
│   232 │   │   │   name                                                                           │
│   233 │   │   │   for name, integration in integration_registry.integrations.items()             │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/zenml/integrations/registry │
│ .py:94 in _initialize                                                                            │
│                                                                                                  │
│    91 │   │   │   # Import the module                                                            │
│    92 │   │   │   module_path = f"zenml.integrations.{file}"
│    93 │   │   │   try:                                                                           │
│ ❱  94 │   │   │   │   importlib.import_module(module_path)                                       │
│    95 │   │   │   except ImportError:                                                            │
│    96 │   │   │   │   logger.exception(f"Failed to import module `{module_path}`.")              │
│    97 │   │   │   │   continue                                                                   │
│                                                                                                  │
│ /home/smarter/.local/share/uv/python/cpython-3.12.9-linux-x86_64-gnu/lib/python3.12/importlib/__ │
│ init__.py:90 in import_module                                                                    │
│                                                                                                  │
│    87 │   │   │   if character != '.':                                                           │
│    88 │   │   │   │   break                                                                      │
│    89 │   │   │   level += 1                                                                     │
│ ❱  90 │   return _bootstrap._gcd_import(name[level:], package, level)                            │
│    91                                                                                            │
│    92                                                                                            │
│    93 _RELOADING = {}                                                                            │
│ in _gcd_import:1387                                                                              │
│ in _find_and_load:1360                                                                           │
│ in _find_and_load_unlocked:1331                                                                  │
│ in _load_unlocked:935                                                                            │
│ in exec_module:999                                                                               │
│ in _call_with_frames_removed:488                                                                 │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/zenml/integrations/evidentl │
│ y/__init__.py:36 in <module>                                                                     │
│                                                                                                  │
│   33                                                                                             │
│   34 # Fix numba errors in Docker and suppress logs and deprecation warning spam                 │
│   35 try:                                                                                        │
│ ❱ 36 │   from numba.core.errors import (                                                         │
│   37 │   │   NumbaDeprecationWarning,                                                            │
│   38 │   │   NumbaPendingDeprecationWarning,                                                     │
│   39 │   )                                                                                       │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/numba/__init__.py:92 in     │
│ <module>                                                                                         │
│                                                                                                  │
│    89 from numba.core.types import *                                                             │
│    90                                                                                            │
│    91 # Re-export decorators                                                                     │
│ ❱  92 from numba.core.decorators import (cfunc, jit, njit, stencil,                              │
│    93 │   │   │   │   │   │   │   │      jit_module)                                             │
│    94                                                                                            │
│    95 # Re-export vectorize decorators and the thread layer querying function                    │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/numba/core/decorators.py:12 │
│ in <module>                                                                                      │
│                                                                                                  │
│     9 import logging                                                                             │
│    10                                                                                            │
│    11 from numba.core.errors import DeprecationError, NumbaDeprecationWarning                    │
│ ❱  12 from numba.stencils.stencil import stencil                                                 │
│    13 from numba.core import config, extending, sigutils, registry                               │
│    14                                                                                            │
│    15 _logger = logging.getLogger(__name__)                                                      │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/numba/stencils/stencil.py:1 │
│ 1 in <module>                                                                                    │
│                                                                                                  │
│     8 import numpy as np                                                                         │
│     9 from llvmlite import ir as lir                                                             │
│    10                                                                                            │
│ ❱  11 from numba.core import types, typing, utils, ir, config, ir_utils, registry                │
│    12 from numba.core.typing.templates import (CallableTemplate, signature,                      │
│    13 │   │   │   │   │   │   │   │   │   │    infer_global, AbstractTemplate)                   │
│    14 from numba.core.imputils import lower_builtin                                              │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/numba/core/registry.py:6 in │
│ <module>                                                                                         │
│                                                                                                  │
│    3 from numba.core.utils import threadsafe_cached_property as cached_property                  │
│    4                                                                                             │
│    5 from numba.core.descriptors import TargetDescriptor                                         │
│ ❱  6 from numba.core import utils, typing, dispatcher, cpu                                       │
│    7                                                                                             │
│    8 # -----------------------------------------------------------------------------             │
│    9 # Default CPU target descriptors                                                            │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/numba/core/dispatcher.py:14 │
│ in <module>                                                                                      │
│                                                                                                  │
│     11 from abc import abstractmethod                                                            │
│     12                                                                                           │
│     13 from numba import _dispatcher                                                             │
│ ❱   14 from numba.core import (                                                                  │
│     15 │   utils, types, errors, typing, serialize, config, compiler, sigutils                   │
│     16 )                                                                                         │
│     17 from numba.core.compiler_lock import global_compiler_lock                                 │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/numba/core/compiler.py:6 in │
│ <module>                                                                                         │
│                                                                                                  │
│     3 import warnings                                                                            │
│     4 from numba.core.tracing import event                                                       │
│     5                                                                                            │
│ ❱   6 from numba.core import (errors, interpreter, bytecode, postproc, config,                   │
│     7 │   │   │   │   │   │   callconv, cpu)                                                     │
│     8 from numba.parfors.parfor import ParforDiagnostics                                         │
│     9 from numba.core.errors import CompilerError                                                │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/numba/core/callconv.py:13   │
│ in <module>                                                                                      │
│                                                                                                  │
│    10 from llvmlite import ir                                                                    │
│    11                                                                                            │
│    12 from numba.core import types, cgutils, errors                                              │
│ ❱  13 from numba.core.base import PYOBJECT, GENERIC_POINTER                                      │
│    14                                                                                            │
│    15                                                                                            │
│    16 TryStatus = namedtuple('TryStatus', ['in_try', 'excinfo'])                                 │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/numba/core/base.py:20 in    │
│ <module>                                                                                         │
│                                                                                                  │
│     17 from numba.core.imputils import (user_function, user_generator,                           │
│     18 │   │   │   │   │      builtin_registry, impl_ret_borrowed,                               │
│     19 │   │   │   │   │      RegistryLoader)                                                    │
│ ❱   20 from numba.cpython import builtins                                                        │
│     21                                                                                           │
│     22 GENERIC_POINTER = llvmir.PointerType(llvmir.IntType(8))                                   │
│     23 PYOBJECT = GENERIC_POINTER                                                                │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/numba/cpython/builtins.py:6 │
│ in <module>                                                                                      │
│                                                                                                  │
│    3 from numba.core import config                                                               │
│    4                                                                                             │
│    5 if config.USE_LEGACY_TYPE_SYSTEM:                                                           │
│ ❱  6 │   sys.modules[__name__] = _RedirectSubpackage(locals(),                                   │
│    7 │   │   │   │   │   │   │   │   │   │   │   │   "numba.cpython.old_builtins")               │
│    8 else:                                                                                       │
│    9 │   sys.modules[__name__] = _RedirectSubpackage(locals(),                                   │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/numba/core/utils.py:694 in  │
│ __init__                                                                                         │
│                                                                                                  │
│   691 │   │   self.__old_module_states = {}                                                      │
│   692 │   │   self.__new_module = new_module                                                     │
│   693 │   │                                                                                      │
│ ❱ 694 │   │   new_mod_obj = import_module(new_module)                                            │
│   695 │   │                                                                                      │
│   696 │   │   # Map all sub-modules over                                                         │
│   697 │   │   for k, v in new_mod_obj.__dict__.items():                                          │
│                                                                                                  │
│ /home/smarter/.local/share/uv/python/cpython-3.12.9-linux-x86_64-gnu/lib/python3.12/importlib/__ │
│ init__.py:90 in import_module                                                                    │
│                                                                                                  │
│    87 │   │   │   if character != '.':                                                           │
│    88 │   │   │   │   break                                                                      │
│    89 │   │   │   level += 1                                                                     │
│ ❱  90 │   return _bootstrap._gcd_import(name[level:], package, level)                            │
│    91                                                                                            │
│    92                                                                                            │
│    93 _RELOADING = {}                                                                            │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/numba/cpython/old_builtins. │
│ py:554 in <module>                                                                               │
│                                                                                                  │
│    551                                                                                           │
│    552 # -----------------------------------------------------------------------------           │
│    553                                                                                           │
│ ❱  554 from numba.core.typing.builtins import IndexValue, IndexValueType                         │
│    555 from numba.extending import overload, register_jitable                                    │
│    556                                                                                           │
│    557 @lower_builtin(IndexValue, types.intp, types.Type)                                        │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/numba/core/typing/builtins. │
│ py:6 in <module>                                                                                 │
│                                                                                                  │
│    3 from numba.core import config                                                               │
│    4                                                                                             │
│    5 if config.USE_LEGACY_TYPE_SYSTEM:                                                           │
│ ❱  6 │   sys.modules[__name__] = _RedirectSubpackage(                                            │
│    7 │   │   locals(),                                                                           │
│    8 │   │   "numba.core.typing.old_builtins"
│    9 │   )                                                                                       │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/numba/core/utils.py:694 in  │
│ __init__                                                                                         │
│                                                                                                  │
│   691 │   │   self.__old_module_states = {}                                                      │
│   692 │   │   self.__new_module = new_module                                                     │
│   693 │   │                                                                                      │
│ ❱ 694 │   │   new_mod_obj = import_module(new_module)                                            │
│   695 │   │                                                                                      │
│   696 │   │   # Map all sub-modules over                                                         │
│   697 │   │   for k, v in new_mod_obj.__dict__.items():                                          │
│                                                                                                  │
│ /home/smarter/.local/share/uv/python/cpython-3.12.9-linux-x86_64-gnu/lib/python3.12/importlib/__ │
│ init__.py:90 in import_module                                                                    │
│                                                                                                  │
│    87 │   │   │   if character != '.':                                                           │
│    88 │   │   │   │   break                                                                      │
│    89 │   │   │   level += 1                                                                     │
│ ❱  90 │   return _bootstrap._gcd_import(name[level:], package, level)                            │
│    91                                                                                            │
│    92                                                                                            │
│    93 _RELOADING = {}                                                                            │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/numba/core/typing/old_built │
│ ins.py:21 in <module>                                                                            │
│                                                                                                  │
│     18 │   )                                                                                     │
│     19                                                                                           │
│     20                                                                                           │
│ ❱   21 @infer_global(print)                                                                      │
│     22 class Print(AbstractTemplate):                                                            │
│     23 │   def generic(self, args, kws):                                                         │
│     24 │   │   for a in args:                                                                    │
│                                                                                                  │
│ /home/smarter/opt/persona_vectors/.venv/lib/python3.12/site-packages/numba/core/typing/templates │
│ .py:1293 in register_global                                                                      │
│                                                                                                  │
│   1290 │   │   │   │   # Check the value is globally reachable, as it is going                   │
│   1291 │   │   │   │   # to be used as the key.                                                  │
│   1292 │   │   │   │   mod = sys.modules[val.__module__]                                         │
│ ❱ 1293 │   │   │   │   if getattr(mod, val.__name__) is not val:                                 │
│   1294 │   │   │   │   │   raise ValueError("%r is not globally reachable as '%s.%s'"
│   1295 │   │   │   │   │   │   │   │   │    % (mod, val.__module__, val.__name__))               │
│   1296                                                                                           │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
AttributeError: module 'zenml.logger' has no attribute 'wrapped_print'
% ZENML_CAPTURE_PRINTS=0 uv run zenml info
ZENML_LOCAL_VERSION: 0.90.0
ZENML_SERVER_VERSION: 0.90.0
ZENML_SERVER_DATABASE: sqlite
ZENML_SERVER_DEPLOYMENT_TYPE: local
ZENML_CONFIG_DIR: /home/smarter/.config/zenml
ZENML_LOCAL_STORE_DIR: /home/smarter/.config/zenml/local_stores
ZENML_SERVER_URL: http://127.0.0.1:8237
ZENML_ACTIVE_REPOSITORY_ROOT: None
PYTHON_VERSION: 3.12.9
ENVIRONMENT: native
SYSTEM_INFO: {'os': 'linux', 'linux_distro': 'ubuntu', 'linux_distro_like': 'debian', 'linux_distro_version': '25.04'}
ACTIVE_PROJECT: default
ACTIVE_STACK: default
ACTIVE_USER: default
TELEMETRY_STATUS: enabled
ANALYTICS_CLIENT_ID: ea7ff347-b695-4dff-84bd-fd9a86cb0ad9
ANALYTICS_USER_ID: 8b518922-6720-4dc0-bf3a-c934775bdfbb
ANALYTICS_SERVER_ID: ea7ff347-b695-4dff-84bd-fd9a86cb0ad9
INTEGRATIONS: ['bitbucket', 'pytorch', 'pillow', 'openai', 'numpy', 'kaniko', 'scipy', 'airflow', 'pandas']

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendImplementations related to the backend

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions