Hello, everyone. I’ve just got started using Kedro...
# questions
u
Hello, everyone. I’ve just got started using Kedro in macos, but am having this issue. It says ‘orjson’ is missing. Does anyone get this same issue?
Copy code
[05/29/24 11:24:06] WARNING  Failed to load kedro_viz.launchers.cli commands from               utils.py:379
                             EntryPoint(name='kedro-viz',                                                   
                             value='kedro_viz.launchers.cli:viz_cli',                                       
                             group='kedro.global_commands'). Full exception: No module named                
                             'orjson'
d
What version of Kedro and Kedro-Viz do you have installed? It doesn't really make sense that no module named
orjson
, as that has been a package requirement for years.
u
macos, kedro v0.19.6, kedro_viz v.9.0.0
Copy code
❯ kedro info
[05/30/24 00:09:40] INFO     Using `conf/logging.yml` as logging configuration. You can change this by setting __init__.py:249
                             the KEDRO_LOGGING_CONFIG environment variable accordingly.                                       
                    WARNING  Failed to load kedro_viz.launchers.cli commands from EntryPoint(name='kedro-viz',    utils.py:379
                             value='kedro_viz.launchers.cli:viz_cli', group='kedro.global_commands'). Full                    
                             exception: No module named 'orjson'                                                              

 _            _
| | _____  __| |_ __ ___
| |/ / _ \/ _` | '__/ _ \
|   <  __/ (_| | | | (_) |
|_|\_\___|\__,_|_|  \___/
v0.19.6

Kedro is a Python framework for
creating reproducible, maintainable
and modular data science code.

Installed plugins:
kedro_telemetry: 0.4.0 (entry points:cli_hooks,hooks)
kedro_viz: 9.0.0 (entry points:global,hooks,line_magic)
j
Hey, The missing orjson module could be due to an issue during the installation process, The virtual environment might not be activated or may be conflicts with other installed packages. For now I can think of possible solution is to install orjson manually and re-run
pip install orjson
👍 1