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:
[email protected]


With regards,
Apache Git Services

Reply via email to