Skip to content

Exception(runtime_meta) in custom runtime on Openwhisk #1229

Closed Answered by JosepSampe
nadeshseen asked this question in Q&A
Discussion options

You must be logged in to vote

For some reason you runtime does not contain flask:

$ docker run docker.io/nadeseen/custom_runtime-3.10:0.2
Traceback (most recent call last):
  File "/pythonAction/pythonrunner.py", line 26, in <module>
    from actionproxy import ActionRunner, main, setRunner
  File "/pythonAction/../actionProxy/actionproxy.py", line 35, in <module>
    import flask
ModuleNotFoundError: No module named 'flask'

To build a custom runtime you can use either this Dockerfile or the Dockerfile.slim

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@nadeshseen
Comment options

@JosepSampe
Comment options

@nadeshseen
Comment options

@JosepSampe
Comment options

Answer selected by nadeshseen
@nadeshseen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants