You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/06/14 15:15:58 UTC

[GitHub] jeremiaswerner commented on issue #2373: Fail to connect with Netezza database when using virtualenv to include the python package

jeremiaswerner commented on issue #2373: Fail to connect with Netezza database when using virtualenv to include the python package
URL: https://github.com/apache/incubator-openwhisk/issues/2373#issuecomment-308463986
 
 
   @bigmianhua have you tried the following procedure by building the .zip in the target environment rather than on the client environment?
   https://github.com/apache/incubator-openwhisk/blob/master/docs/actions.md#packaging-python-actions-with-a-virtual-environment-in-zip-files
   
   especially using this command:
   ```
   docker run --rm -v "$PWD:/tmp" openwhisk/python3action sh \
     -c "cd tmp; virtualenv virtualenv; source virtualenv/bin/activate; pip install -r requirements.txt;"
   ```
 
----------------------------------------------------------------
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