Error: could not execute process

Hello, guys!
I have some problem with cargo run

Could not execute process `C:\Users\Green Eagle\.cargo\bin -vV` (never executed)

Caused by:
  Access is denied. (os error 5)

and I set up PATH for cargo, rustc and rustup like ~\.cargo\bin


I would be very grateful if you can help me
thank you)))

Is PATH the only thing you've changed? It looks like Cargo is confused and is trying to use ~\.cargo\bin as if it was the path to rustc executable, which is totally incorrect and shouldn't be there.

2 Likes

thank you, you are right
Rust automatically added this path ~\.cargo\bin to PATH
now all is working correctly!))))
it must look like here
image

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.