Error installing devon_agent Windows 11 #16

Open
opened 2025-10-14 15:42:01 -06:00 by navan · 0 comments
Owner

Originally created by @CobraGazes on 7/19/2024

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]
*Originally created by @CobraGazes on 7/19/2024* 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] ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/Devon#16
No description provided.