VIDA-NYU / reprozip

ReproZip is a tool that simplifies the process of creating reproducible experiments from command-line executions, a frequently-used common denominator in computational science.
https://www.reprozip.org/
BSD 3-Clause "New" or "Revised" License
303 stars 33 forks source link

couldn't execute the target command (execvp returned) #357

Closed appukuttan-shailesh closed 5 years ago

appukuttan-shailesh commented 5 years ago

When I try to run reprozip trace file.py I am getting:

[REPROZIP] 18:29:48.443 CRITICAL: couldn't execute the target command (execvp returned): No such file or directory
[REPROZIP] 18:29:48.454 WARNING: Program exited with non-zero code 127
Configuration file written in .reprozip-trace/config.yml
Edit that file then run the packer -- use 'reprozip pack -h' for help
appukuttan-shailesh commented 5 years ago

It was an awful mistake from my end.... forgot to call python in the command: reprozip trace python file.py

remram44 commented 5 years ago

No worries! We should make this message more readable, "no such file or directory" does not make it very obvious what is going on (your script does exist!)