113998274 commented on issue #52:
URL: 
https://github.com/apache/apisix-python-plugin-runner/issues/52#issuecomment-1375279360

   我也出现这个问题,使用Development Mode启动测试正常,用Production 
Mode就会报错,测试复制stop.py改名一样如此,并发插件代码问题。但我的apisix-python-plugin-runner是使用了pyenv启动的,我不知道是否这影响了。测试得出是Production
 Mode启动缺少 export PYTHONPATH=/usr/local/apisix/apisix-python-plugin-runner 
变量就会导致错误。我使用一个shell脚本添加上面变量并修改config.yaml,用shell脚本启动解决了。


-- 
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