Skip to content

setup.sh: appworld install fails with "Secondary flag" TypeError #6

Closed

Description

@arjuntheprogrammer

Summary

Running env_service/environments/appworld/setup.sh currently fails when it invokes conda run appworld install. The appworld CLI raises a Typer TypeError: Secondary flag is not valid for non-boolean flag.

Steps to Reproduce

  1. cd env_service/environments/appworld
  2. bash setup.sh

Observed Behavior

The script stops during conda run appworld install with the following traceback:

TypeError: Secondary flag is not valid for non-boolean flag.

ERROR conda.cli.main_run:execute(125): `conda run appworld install` failed.

Expected Behavior

The setup script should complete successfully so that the appworld environment can be provisioned.

Notes

The Conda environment creation and dependency installation steps succeed. Only the CLI invocation fails.

Activity

  1. Lageek commented on Nov 22, 2025

    @Lageek

    TypeError: Got secondary option for non boolean flag

    pip uninstall click

    pip install click==8.2.0 @arjuntheprogrammer

  2. 6954717a commented on Dec 21, 2025

    @6954717a

    Hi, I meet the same problem.
    And I just change the dwld to bypass. (What the conda env downloaded was under prefix form.)

    --- conda run --prefix "$CONDA_ENV_PREFIX" appworld install
    +++ mkdir -p "$APPWORLD_ROOT/data"
  3. added a commit that references this issue on Jan 26, 2026
    f2cf9a6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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