apache / openwhisk

Apache OpenWhisk is an open source serverless cloud platform
https://openwhisk.apache.org/
Apache License 2.0
6.54k stars 1.17k forks source link

Python:3 virtualenv load failed? #5401

Closed QWQyyy closed 1 year ago

QWQyyy commented 1 year ago

We deploy OpenWhisk in myself cluster with the openwhisk-kube-deploy,use virtualenv for deploy python:3 action, but it is not work: image image However, I think my action virtualenv is OK: image We alse use pip3: docker run --rm -v "/app/owa/py_func:/tmp" openwhisk/python3action bash -c "cd tmp && virtualenv virtualenv && source virtualenv/bin/activate && pip3 install -r

I hope you give me some suggestion.

QWQyyy commented 1 year ago

I find solve way:https://github.com/apache/openwhisk/pull/1940 We can not use this .md file to deploy my virtualenv: https://github.com/apache/openwhisk/blob/master/docs/actions-python.md#creating-and-invoking-python-actions so, I hope someone major docment.

singhsegv commented 6 months ago

@QWQyyy How did you solve this issue? I am facing the exact same problem.