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
➜ wasmer run python
Could not find platform dependent libraries <exec_prefix>
Python 3.12.0 (heads/wasix-compatibility-dirty:186ebc7b8b, Oct 3 2023, 10:47:09) [Clang 15.0.6 ] on wasix
Type "help", "copyright", "credits" or "license" for more information.
>>> import tempfile
>>> tempfile.mkdtemp(prefix=f"pip-a-")
'/tmp/pip-a-kzbg1opp'
>>> import subprocess; result = subprocess.run(["/bin/python"])
Could not find platform dependent libraries <exec_prefix>
Python 3.12.0 (heads/wasix-compatibility-dirty:186ebc7b8b, Oct 3 2023, 10:47:09) [Clang 15.0.6 ] on wasix
Type "help", "copyright", "credits" or "license" for more information.
>>> import tempfile
>>> tempfile.mkdtemp(prefix=f"pip-a-")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/cpython/lib/python3.12/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
PermissionError: [Errno 2] Permission denied: '/tmp/pip-a-xycr51b9'
>>>
As we see, the initial tempfile.mkdtemp(prefix=f"pip-a-") works in the first python process, but not in the child python one
The text was updated successfully, but these errors were encountered:
When you run a program, and that program creates a subprocess that tries to operate with a temporal directory, it fails.
Steps to reproduce
Then:
Then:
Should succeed. Now it fails:
As we see, the initial
tempfile.mkdtemp(prefix=f"pip-a-")
works in the first python process, but not in the child python oneThe text was updated successfully, but these errors were encountered: