-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python:3 virtualenv load failing probably #5480
Comments
Are you sure you're using the same python version in your venv as the action's runtime? |
Yep the python versions were same. I am not 100% sure though as I haven't setup a debugger to figure out the code flow. Will update this thread as soon as I get some free time. |
I am trying to deploy a basic python action with an included virtualenv. I followed this official tutorial of using
openwhisk/python3action
container to create avirtualenv
and zipping it with __ main __.py file. But i still get anmodule not found
error while actually running that action.Environment details:
Steps to reproduce the issue:
Packaging Python actions with a virtual environment in zip files
step from this official tutorial https://github.com/apache/openwhisk/blob/master/docs/actions-python.md#packaging-python-actions-with-a-virtual-environment-in-zip-filesnetworkx
or any other non standard module.Provide the expected results and outputs:
Provide the actual results and outputs:
Additional information you deem important:
The text was updated successfully, but these errors were encountered: