Skip to content

In Windows, panicked at python not found #8

@GreasySlug

Description

@GreasySlug

Python3

version 3.10.4

I tried

git clone url
cargo run

Error log

Starting the REPL server...
thread 'main' panicked at 'cannot execute python: Error { kind: NotFound, message: "program not found" }', compiler\erg_common\python_util.rs:114:14
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
error: process didn't exit successfully: target\debug\erg.exe (exit code: 101)

I think that cmd, powershll and PowerShell have no which command

So I recommend this crate https://docs.rs/which/latest/which/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions