https://promptfoo.dev/ logo
exec: provider - error on spawning child process
# ❓|questions
n
I'm trying to run a custom provider and keep getting this error also for very simple scripts (my test.py is just "return {'output': "some string"}" ) - any ideas on what is wrong here? https://cdn.discordapp.com/attachments/1343873276316880896/1343873276492906556/image.png?ex=67bedb05&is=67bd8985&hm=eaddbb6e92d849f2392bf3ab972495adaa765fdd6e08d6f5de2e6e8d89ca6d91&
u
Can you please provide the entire error message?
n
Error: spawn python ENOENT Error: spawn python ENOENT at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
u
@niczka_niczka can you share your python and config file?
n
Solved this: my python path was 'python3', not 'python' - will it be possible to get more info in he error message there?