You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/02/14 14:57:53 UTC

[GitHub] mkpurcell opened a new issue #49: Python 3.7 - sys.executable is empty

mkpurcell opened a new issue #49: Python 3.7 - sys.executable is empty
URL: https://github.com/apache/incubator-openwhisk-runtime-python/issues/49
 
 
   ## Environment details:
   
   import sys
   
   def main(args):
       return { "exe" : sys.executable, "path": sys.path }
   
   ## Steps to reproduce the issue:
   
   1.   Code as above
   2.   Zip the source into eg. test-bug.zip
   3.   bx wsk action create --kind python:3.7 TEST37 test-bug.zip
   4.   bx wsk action invoke TEST37 --result
   
   ## Provide the expected results and outputs:
   
   ```
   {
       "exe": "SHOULD NOT BE EMPTY",
       "path": [
           "/action/1/src",
           "/usr/local/lib/python37.zip",
           "/usr/local/lib/python3.7",
           "/usr/local/lib/python3.7/lib-dynload",
           "/usr/local/lib/python3.7/site-packages"
       ]
   }
   ```
   
   
   ## Provide the actual results and outputs:
   
   ```
   {
       "exe": "",
       "path": [
           "/action/1/src",
           "/usr/local/lib/python37.zip",
           "/usr/local/lib/python3.7",
           "/usr/local/lib/python3.7/lib-dynload",
           "/usr/local/lib/python3.7/site-packages"
       ]
   }
   ```
   
   ## Additional information you deem important:
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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