Skip to content

Polaris CLI does not work #2293

@FredKhayat

Description

@FredKhayat

Describe the bug

Cloning the repo then running ./polaris does not work.

Actual Behavior

The ./gradlew regeneratePythonClient task fails

If we ignore the failure, I get the following error: ./polaris: line 76: exec: polaris: not found

Expected Behavior

Should run the CLI tool

Quick fix

For now, I am able to run the CLI tool by doing the following:

# Run ./polaris one time to execute the gradlew task regeneratePythonClient
./polaris

# Run ./polaris another time to setup the python venv
./polaris

# Install python packages
pip install pydantic
pip install python-dateutil

# Run the Polaris python script manually
env PYTHONPATH=client/python SCRIPT_DIR="$dir" ./polaris-venv/bin/python3 client/python/cli/polaris_cli.py

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions