Skip to content

"Waiting for ZenML Client to initialize...." How to setup in VSCodium? #146

@JustGitting

Description

@JustGitting

Hi,

I need help setting up ZenML Studio in VSCodium.

I've downloaded the latest (0.0.20) ZenML Studio VSIX file (https://github.com/zenml-io/vscode-zenml/releases/download/0.0.20/zenml.vsix) and installed it manually in VSCodium 1.96 ( MS Windows 10 Enterprise ).

I've setup a python virtual environment in VSCodium and installed zenml as follows:

python -m pip install zenml
zenml integration install mlflow -y
zenml integration install s3 -y

The zenml command works in the VSCodium (.venv) terminal:

(.venv) PS C:\Users\user1\Documents\Projects\ZenML\zenml-io> zenml --version
zenml, version 0.82.0

However, ZenML Studio is very slow finding the zenml installation:

2025-05-07 09:13:52.510 [info] [Trace - 9:13:52 AM] Received notification 'window/logMessage'.
2025-05-07 09:13:52.510 [info] ZenML LSP is initializing.
2025-05-07 09:13:52.510 [info] [Trace - 9:13:52 AM] Received notification 'window/logMessage'.
2025-05-07 09:13:52.510 [info] Sending custom notification: sanityCheck with args: ZenML LSP is initializing.
2025-05-07 09:13:52.510 [info] [Trace - 9:13:52 AM] Received notification 'window/logMessage'.
2025-05-07 09:13:52.510 [info] Sending custom notification: zenml/client with args: {'status': 'pending'}
2025-05-07 09:14:03.701 [info] Python version 3.11.2 is supported.
2025-05-07 09:14:03.702 [info] Python version 3.11.2 is supported.
2025-05-07 10:02:32.322 [info] ✅ ZenML installation check: Successful.

Almost 48 minutes later...which may / may not be a problem (?).

To connect to the ZenML server, the instructions say:

  1. Connect to ZenML Server: Use the ZenML: Connect command to connect to your ZenML server.

However, the command is not found in the VSCodium terminal.

(.venv) PS C:\Users\user1\Documents\Projects\ZenML\zenml-io> ZenML: Connect
ZenML: : The term 'ZenML:' is not recognized as the name of a cmdlet, function, script file, or operable program. ...

I can connect to the remote ZenML server using the zenml login command (the zenml connect command is depreciated).

(.venv) PS C:\Users\user1\Documents\Projects\ZenML\zenml-io> zenml login http://192.168.100.100:8080

It successfully connects to the remote ZenML server and ZenML Studio settings shows valid "Active Stack ID" and "Server Url" values in the extensions settings.

Yet, in the "ENVIRONMENT" tab of ZenML Studio, it still shows as exclamation mark for "ZenML Client".
In the SERVER tab it shows "Waiting for ZenML Client to initialize...."
STACKS, PROJECTS, STACK COMPONENTS, PIPELINE RUNS and MODELS show "Pending LSP and ZenML Client initialization."

Where do I run the "ZenML: Connect" command?

How do I initialise the zenml client?

Any advice appreciated to get this to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions