Python 3.7.3 on AIX 7.1.0.0 import subprocess causes an error:
Traceback (most recent call last): File "main_iso_processing.py", line 3, in import subprocess File "", line 983, in _find_and_load File "", line 963, in _find_and_load_unlocked File "", line 906, in _find_spec File "", line 1280, in find_spec File "", line 1249, in _get_spec
File "", line 1213, in _path_importer_cache PermissionError: [Errno 13] Permission denied
I have removed or commented out everything except the print function and the import of subprocess. If I comment out import subprocess, it works. Also, I can import os or sys without getting the error.
#!/opt/bin/python3
import subprocess
print("starting...")
I would like to use subprocess to run some DataStage jobs.