oosugi84 edited a comment on issue #35:
URL: 
https://github.com/apache/apisix-python-plugin-runner/issues/35#issuecomment-949516086


   And I tried production mode, the error is    
   ```
   2021/10/22 10:51:54 [warn] 48#48: *2330 [lua] init.lua:592: flush conf token 
lrucache, context: ngx.timer
   2021/10/22 10:51:54 [warn] 49#49: *2332 [lua] init.lua:592: flush conf token 
lrucache, context: ngx.timer
   2021/10/22 10:51:54 [warn] 47#47: *2333 [lua] init.lua:592: flush conf token 
lrucache, context: ngx.timer
   2021/10/22 10:51:54 [warn] 45#45: *2334 [lua] init.lua:592: flush conf token 
lrucache, context: ngx.timer
   2021/10/22 10:51:54 [warn] 46#46: *2335 [lua] init.lua:592: flush conf token 
lrucache, context: ngx.timer
   2021/10/22 10:51:54 [warn] 44#44: *2336 [lua] init.lua:592: flush conf token 
lrucache, context: ngx.timer
   2021/10/22 10:51:57 [warn] 52#52: *137 [lua] init.lua:699: respawning new 
runner..., context: ngx.timer
   2021/10/22 10:51:57 [error] 52#69: lua pipe child execvp() failed while 
executing python3 (2: No such file or directory)
   2021/10/22 10:51:57 [warn] 52#52: *137 [lua] init.lua:687: runner exited 
with reason: exit, status: 1, context: ngx.timer
   2021/10/22 10:51:57 [warn] 52#52: *137 [lua] init.lua:592: flush conf token 
lrucache, context: ngx.timer
   2021/10/22 10:51:57 [warn] 52#52: *137 [lua] init.lua:697: respawn runner 3 
seconds later with cmd: 
["python3","\/Users\/oosugi\/workspace\/apisix\/apisix-python-plugin-runner\/apisix\/main.py","start"],
 context: ngx.timer
   ```
   
   But I do have a python3 in path:  
   ```
   oosugi@zphzs-MacBook-Pro ~ % which python3
   /usr/bin/python3
   oosugi@zphzs-MacBook-Pro ~ % python3 -V
   Python 3.8.2
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to