Skip to content

Error installing devon_agent Windows 11 #93

Description

@CobraGazes

I installed all dependencies successfully and can run them fine but when I try to pipx install devon_agent it runs for about a minute then fails to build package with the error:

pip failed to build package:
    code-nav-devon

Some possibly relevant errors from pip install:
    warning: tree-sitter-COBOL@0.0.1: Compiler family detection failed due to error: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.40.33807\\bin\\HostX64\\x64\\cl.exe" "-E" "C:\\Users\\myuser\\AppData\\Local\\Temp\\pip-install-3bemqkjo\\code-nav-devon_210f3ff557814fb6813fb5a48d037cea\\target\\release\\build\\tree-sitter-COBOL-ddd2bf2a20f798aa\\out\\11135311020291847115detect_compiler_family.c" with args C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\bin\HostX64\x64\cl.exe did not execute successfully (status code exit code: 2).

I tried using ubuntu but when I used curl it defaulted to using windows cmd and that led to the same error
I tried to activate the vendered feature in openssl but honestly I'm not sure if I did it right I just added
openssl = { version = "0.10", features = ["vendored"] } under the dependencies config in my project folder but that didn't change anything.

In logs the error comes out as:

      warning: build failed, waiting for other jobs to finish...
      💥 maturin failed
        Caused by: Failed to build a native library through cargo
        Caused by: Cargo build finished with "exit code: 101": `"cargo" "rustc" "--features" "pyo3/extension-module" "--message-format" "json-render-diagnostics" "--manifest-path" "C:\\Users\\myuser\\AppData\\Local\\Temp\\pip-install-b740g2a5\\code-nav-devon_6e12ecca44b84f58b50f00558a3d4d60\\Cargo.toml" "--release" "--lib"`
      Error: command ['maturin', 'pep517', 'build-wheel', '-i', 'C:\\Users\\myuser\\pipx\\venvs\\devon-agent\\Scripts\\python.exe', '--compatibility', 'off'] returned non-zero exit status 1
      [end of output]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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