You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python/cpython#96005 reports a bug which gives[Errno 76] Capabilities insufficient. Currently what I can do is to put my python script under 'opt/wasi-python/lib/python3.12/test/' and open from that. The bug report said it's because the process needs to own the file descriptor, is there a way to make my file works then?
The text was updated successfully, but these errors were encountered:
Yifei-yang7
changed the title
Can wasmtime feed .pyc into the wasm-compiled interpreter?
How to own the file descriptor when feeding file into python3.wasm?
Mar 5, 2023
Is this simply a matter of the fact that Python can't compile the file into the __pycache__ directory? You can disable this behavior bad adding the -B options to your Python options.
python/cpython#96005 reports a bug which gives
[Errno 76] Capabilities insufficient
. Currently what I can do is to put my python script under 'opt/wasi-python/lib/python3.12/test/' and open from that. The bug report said it's becausethe process needs to own the file descriptor
, is there a way to make my file works then?The text was updated successfully, but these errors were encountered: