You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/10/31 11:36:37 UTC

[GitHub] [pulsar] candlerb commented on issue #5518: python functions cannot find python3 interpreter

candlerb commented on issue #5518: python functions cannot find python3 interpreter
URL: https://github.com/apache/pulsar/issues/5518#issuecomment-548329211
 
 
   Hmm, I found [docker/pulsar/scripts/set_python_version.sh](https://github.com/apache/pulsar/blob/master/docker/pulsar/scripts/set_python_version.sh) which suggests that people *are* making python a symlink to python3
   
   ```
   sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
   ```
   
   As I say, this is generally frowned upon.
   
   I found there is pythonInstanceLocation in WorkerConfig.java.  The documentation says "change the python instance location only when you put the python instance jar in a different location" - but I'm looking for the python interpreter, not a jar file.  (I don't *think* it's using anything 
   
   I haven't yet found the point where pulsar execs the python interpreter.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services