holzschu / a-shell

A terminal for iOS, with multiple windows
BSD 3-Clause "New" or "Revised" License
2.71k stars 117 forks source link

Python cannot import multiprocessing.util #6

Closed kkebo closed 5 years ago

kkebo commented 5 years ago

5 has been fixed, but instead, another problem has come with the build 36. It didn't occur on the previous build 34.

Environment:

Log:

$ python -c 'import multiprocessing.util'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'multiprocessing.util'

$ python3 -c 'import multiprocessing.util'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'multiprocessing.util'

$ ipython
Python 3.7.1 (default, Oct 20 2019, 20:51:38) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.3.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import multiprocessing.util                                                                                                                                           
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-99d2c16ef625> in <module>
----> 1 import multiprocessing.util
ModuleNotFoundError: No module named 'multiprocessing.util'

It seems that there is a difference between the target directory of the symbolic links in $HOME/Library/lib/python3.7/multiprocessing and the target directory of the symbolic links in $HOME/Library/lib/python3.7. I think that is the cause.

$ ls -l $HOME/Library/lib/python3.7/multiprocessing
total 0
lrwxr-xr-x   1 mobile  mobile  141 Oct  8 23:35 __init__.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/__init__.py
drwxr-xr-x  12 mobile  mobile  384 Oct 17 00:52 __pycache__
lrwxr-xr-x   1 mobile  mobile  143 Oct  8 23:35 connection.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/connection.py
lrwxr-xr-x   1 mobile  mobile  140 Oct  8 23:35 context.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/context.py
drwxr-xr-x   4 mobile  mobile  128 Oct  8 23:35 dummy
lrwxr-xr-x   1 mobile  mobile  143 Oct  8 23:35 forkserver.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/forkserver.py
lrwxr-xr-x   1 mobile  mobile  137 Oct  8 23:35 heap.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/heap.py
lrwxr-xr-x   1 mobile  mobile  141 Oct  8 23:35 managers.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/managers.py
lrwxr-xr-x   1 mobile  mobile  137 Oct  8 23:35 pool.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/pool.py
lrwxr-xr-x   1 mobile  mobile  143 Oct  8 23:35 popen_fork.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/popen_fork.py
lrwxr-xr-x   1 mobile  mobile  149 Oct  8 23:35 popen_forkserver.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/popen_forkserver.py
lrwxr-xr-x   1 mobile  mobile  150 Oct  8 23:35 popen_spawn_posix.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/popen_spawn_posix.py
lrwxr-xr-x   1 mobile  mobile  150 Oct  8 23:35 popen_spawn_win32.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/popen_spawn_win32.py
lrwxr-xr-x   1 mobile  mobile  140 Oct  8 23:35 process.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/process.py
lrwxr-xr-x   1 mobile  mobile  139 Oct  8 23:35 queues.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/queues.py
lrwxr-xr-x   1 mobile  mobile  142 Oct  8 23:35 reduction.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/reduction.py
lrwxr-xr-x   1 mobile  mobile  148 Oct  8 23:35 resource_sharer.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/resource_sharer.py
lrwxr-xr-x   1 mobile  mobile  150 Oct  8 23:35 semaphore_tracker.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/semaphore_tracker.py
lrwxr-xr-x   1 mobile  mobile  145 Oct  8 23:35 sharedctypes.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/sharedctypes.py
lrwxr-xr-x   1 mobile  mobile  138 Oct  8 23:35 spawn.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/spawn.py
lrwxr-xr-x   1 mobile  mobile  144 Oct  8 23:35 synchronize.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/synchronize.py
lrwxr-xr-x   1 mobile  mobile  137 Oct  8 23:35 util.py -> /private/var/containers/Bundle/Application/B178CEC6-6A18-4407-9E93-AB9E0D44B4D7/a-Shell.app/Library/lib/python3.7/multiprocessing/util.py

$ ls -l $HOME/Library/lib/python3.7
total 0
lrwxr-xr-x    1 mobile  mobile   127 Oct 22 23:30 __future__.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/__future__.py
lrwxr-xr-x    1 mobile  mobile   131 Oct 22 23:30 __phello__.foo.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/__phello__.foo.py
drwxr-xr-x  123 mobile  mobile  3936 Oct 23 00:15 __pycache__
lrwxr-xr-x    1 mobile  mobile   128 Oct 22 23:30 _bootlocale.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/_bootlocale.py
lrwxr-xr-x    1 mobile  mobile   133 Oct 22 23:30 _collections_abc.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/_collections_abc.py
lrwxr-xr-x    1 mobile  mobile   131 Oct 22 23:30 _compat_pickle.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/_compat_pickle.py
lrwxr-xr-x    1 mobile  mobile   129 Oct 22 23:30 _compression.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/_compression.py
lrwxr-xr-x    1 mobile  mobile   130 Oct 22 23:30 _dummy_thread.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/_dummy_thread.py
lrwxr-xr-x    1 mobile  mobile   128 Oct 22 23:30 _markupbase.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/_markupbase.py
lrwxr-xr-x    1 mobile  mobile   129 Oct 22 23:30 _osx_support.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/_osx_support.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 _py_abc.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/_py_abc.py
lrwxr-xr-x    1 mobile  mobile   127 Oct 22 23:30 _pydecimal.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/_pydecimal.py
lrwxr-xr-x    1 mobile  mobile   122 Oct 22 23:30 _pyio.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/_pyio.py
lrwxr-xr-x    1 mobile  mobile   130 Oct 22 23:30 _sitebuiltins.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/_sitebuiltins.py
lrwxr-xr-x    1 mobile  mobile   126 Oct 22 23:30 _strptime.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/_strptime.py
lrwxr-xr-x    1 mobile  mobile   147 Oct 22 23:30 _sysconfigdata_m_darwin_darwin.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/_sysconfigdata_m_darwin_darwin.py
lrwxr-xr-x    1 mobile  mobile   148 Oct 22 23:30 _sysconfigdata_m_unknown_darwin.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/_sysconfigdata_m_unknown_darwin.py
lrwxr-xr-x    1 mobile  mobile   133 Oct 22 23:30 _threading_local.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/_threading_local.py
lrwxr-xr-x    1 mobile  mobile   128 Oct 22 23:30 _weakrefset.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/_weakrefset.py
lrwxr-xr-x    1 mobile  mobile   120 Oct 22 23:30 abc.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/abc.py
lrwxr-xr-x    1 mobile  mobile   121 Oct 22 23:30 aifc.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/aifc.py
lrwxr-xr-x    1 mobile  mobile   128 Oct 22 23:30 antigravity.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/antigravity.py
lrwxr-xr-x    1 mobile  mobile   125 Oct 22 23:30 argparse.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/argparse.py
lrwxr-xr-x    1 mobile  mobile   120 Oct 22 23:30 ast.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/ast.py
lrwxr-xr-x    1 mobile  mobile   125 Oct 22 23:30 asynchat.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/asynchat.py
drwxr-xr-x   28 mobile  mobile   896 Oct 22 23:30 asyncio
lrwxr-xr-x    1 mobile  mobile   125 Oct 22 23:30 asyncore.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/asyncore.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 base64.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/base64.py
lrwxr-xr-x    1 mobile  mobile   120 Oct 22 23:30 bdb.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/bdb.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 binhex.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/binhex.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 bisect.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/bisect.py
lrwxr-xr-x    1 mobile  mobile   120 Oct 22 23:30 bz2.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/bz2.py
lrwxr-xr-x    1 mobile  mobile   125 Oct 22 23:30 cProfile.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/cProfile.py
lrwxr-xr-x    1 mobile  mobile   125 Oct 22 23:30 calendar.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/calendar.py
lrwxr-xr-x    1 mobile  mobile   120 Oct 22 23:30 cgi.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/cgi.py
lrwxr-xr-x    1 mobile  mobile   122 Oct 22 23:30 cgitb.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/cgitb.py
lrwxr-xr-x    1 mobile  mobile   122 Oct 22 23:30 chunk.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/chunk.py
lrwxr-xr-x    1 mobile  mobile   120 Oct 22 23:30 cmd.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/cmd.py
lrwxr-xr-x    1 mobile  mobile   121 Oct 22 23:30 code.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/code.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 codecs.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/codecs.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 codeop.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/codeop.py
drwxr-xr-x    5 mobile  mobile   160 Oct 22 23:30 collections
lrwxr-xr-x    1 mobile  mobile   125 Oct 22 23:30 colorsys.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/colorsys.py
lrwxr-xr-x    1 mobile  mobile   127 Oct 22 23:30 compileall.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/compileall.py
drwxr-xr-x    5 mobile  mobile   160 Oct 22 23:30 concurrent
lrwxr-xr-x    1 mobile  mobile   129 Oct 22 23:30 configparser.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/configparser.py
lrwxr-xr-x    1 mobile  mobile   127 Oct 22 23:30 contextlib.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/contextlib.py
lrwxr-xr-x    1 mobile  mobile   128 Oct 22 23:30 contextvars.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/contextvars.py
lrwxr-xr-x    1 mobile  mobile   121 Oct 22 23:30 copy.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/copy.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 copyreg.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/copyreg.py
lrwxr-xr-x    1 mobile  mobile   122 Oct 22 23:30 crypt.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/crypt.py
lrwxr-xr-x    1 mobile  mobile   120 Oct 22 23:30 csv.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/csv.py
drwxr-xr-x    9 mobile  mobile   288 Oct 22 23:30 ctypes
drwxr-xr-x    8 mobile  mobile   256 Oct 22 23:30 curses
lrwxr-xr-x    1 mobile  mobile   128 Oct 22 23:30 dataclasses.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/dataclasses.py
lrwxr-xr-x    1 mobile  mobile   125 Oct 22 23:30 datetime.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/datetime.py
drwxr-xr-x    6 mobile  mobile   192 Oct 22 23:30 dbm
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 decimal.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/decimal.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 difflib.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/difflib.py
lrwxr-xr-x    1 mobile  mobile   120 Oct 22 23:30 dis.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/dis.py
drwxr-xr-x   33 mobile  mobile  1056 Oct 22 23:30 distutils
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 doctest.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/doctest.py
lrwxr-xr-x    1 mobile  mobile   132 Oct 22 23:30 dummy_threading.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/dummy_threading.py
drwxr-xr-x   25 mobile  mobile   800 Oct 22 23:30 email
drwxr-xr-x  128 mobile  mobile  4096 Oct 22 23:30 encodings
drwxr-xr-x    7 mobile  mobile   224 Oct 22 23:30 ensurepip
lrwxr-xr-x    1 mobile  mobile   121 Oct 22 23:30 enum.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/enum.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 filecmp.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/filecmp.py
lrwxr-xr-x    1 mobile  mobile   126 Oct 22 23:30 fileinput.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/fileinput.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 fnmatch.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/fnmatch.py
lrwxr-xr-x    1 mobile  mobile   126 Oct 22 23:30 formatter.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/formatter.py
lrwxr-xr-x    1 mobile  mobile   126 Oct 22 23:30 fractions.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/fractions.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 ftplib.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/ftplib.py
lrwxr-xr-x    1 mobile  mobile   126 Oct 22 23:30 functools.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/functools.py
lrwxr-xr-x    1 mobile  mobile   128 Oct 22 23:30 genericpath.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/genericpath.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 getopt.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/getopt.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 getpass.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/getpass.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 gettext.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/gettext.py
lrwxr-xr-x    1 mobile  mobile   121 Oct 22 23:30 glob.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/glob.py
lrwxr-xr-x    1 mobile  mobile   121 Oct 22 23:30 gzip.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/gzip.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 hashlib.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/hashlib.py
lrwxr-xr-x    1 mobile  mobile   122 Oct 22 23:30 heapq.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/heapq.py
lrwxr-xr-x    1 mobile  mobile   121 Oct 22 23:30 hmac.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/hmac.py
drwxr-xr-x    6 mobile  mobile   192 Oct 22 23:30 html
drwxr-xr-x    8 mobile  mobile   256 Oct 22 23:30 http
drwxr-xr-x   78 mobile  mobile  2496 Oct 22 23:30 idlelib
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 imaplib.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/imaplib.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 imghdr.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/imghdr.py
lrwxr-xr-x    1 mobile  mobile   120 Oct 22 23:30 imp.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/imp.py
drwxr-xr-x   10 mobile  mobile   320 Oct 22 23:30 importlib
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 inspect.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/inspect.py
lrwxr-xr-x    1 mobile  mobile   119 Oct 22 23:30 io.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/io.py
lrwxr-xr-x    1 mobile  mobile   126 Oct 22 23:30 ipaddress.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/ipaddress.py
drwxr-xr-x    8 mobile  mobile   256 Oct 22 23:30 json
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 keyword.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/keyword.py
drwxr-xr-x   20 mobile  mobile   640 Oct 22 23:30 lib2to3
lrwxr-xr-x    1 mobile  mobile   126 Oct 22 23:30 linecache.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/linecache.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 locale.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/locale.py
drwxr-xr-x    6 mobile  mobile   192 Oct 22 23:30 logging
lrwxr-xr-x    1 mobile  mobile   121 Oct 22 23:30 lzma.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/lzma.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 macpath.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/macpath.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 mailbox.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/mailbox.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 mailcap.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/mailcap.py
lrwxr-xr-x    1 mobile  mobile   126 Oct 22 23:30 mimetypes.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/mimetypes.py
lrwxr-xr-x    1 mobile  mobile   129 Oct 22 23:30 modulefinder.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/modulefinder.py
drwxr-xr-x    6 mobile  mobile   192 Oct 22 23:30 msilib
drwxr-xr-x   24 mobile  mobile   768 Oct  8 23:35 multiprocessing
lrwxr-xr-x    1 mobile  mobile   122 Oct 22 23:30 netrc.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/netrc.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 nntplib.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/nntplib.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 ntpath.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/ntpath.py
lrwxr-xr-x    1 mobile  mobile   127 Oct 22 23:30 nturl2path.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/nturl2path.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 numbers.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/numbers.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 opcode.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/opcode.py
lrwxr-xr-x    1 mobile  mobile   125 Oct 22 23:30 operator.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/operator.py
lrwxr-xr-x    1 mobile  mobile   125 Oct 22 23:30 optparse.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/optparse.py
lrwxr-xr-x    1 mobile  mobile   119 Oct 22 23:30 os.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/os.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 pathlib.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/pathlib.py
lrwxr-xr-x    1 mobile  mobile   120 Oct 22 23:30 pdb.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/pdb.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 pickle.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/pickle.py
lrwxr-xr-x    1 mobile  mobile   128 Oct 22 23:30 pickletools.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/pickletools.py
lrwxr-xr-x    1 mobile  mobile   122 Oct 22 23:30 pipes.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/pipes.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 pkgutil.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/pkgutil.py
lrwxr-xr-x    1 mobile  mobile   125 Oct 22 23:30 platform.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/platform.py
lrwxr-xr-x    1 mobile  mobile   125 Oct 22 23:30 plistlib.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/plistlib.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 poplib.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/poplib.py
lrwxr-xr-x    1 mobile  mobile   126 Oct 22 23:30 posixpath.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/posixpath.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 pprint.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/pprint.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 profile.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/profile.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 pstats.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/pstats.py
lrwxr-xr-x    1 mobile  mobile   120 Oct 22 23:30 pty.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/pty.py
lrwxr-xr-x    1 mobile  mobile   127 Oct 22 23:30 py_compile.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/py_compile.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 pyclbr.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/pyclbr.py
lrwxr-xr-x    1 mobile  mobile   122 Oct 22 23:30 pydoc.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/pydoc.py
drwxr-xr-x    6 mobile  mobile   192 Oct 22 23:30 pydoc_data
lrwxr-xr-x    1 mobile  mobile   122 Oct 22 23:30 queue.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/queue.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 quopri.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/quopri.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 random.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/random.py
lrwxr-xr-x    1 mobile  mobile   119 Oct 22 23:30 re.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/re.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 reprlib.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/reprlib.py
lrwxr-xr-x    1 mobile  mobile   128 Oct 22 23:30 rlcompleter.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/rlcompleter.py
lrwxr-xr-x    1 mobile  mobile   122 Oct 22 23:30 runpy.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/runpy.py
lrwxr-xr-x    1 mobile  mobile   122 Oct 22 23:30 sched.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/sched.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 secrets.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/secrets.py
lrwxr-xr-x    1 mobile  mobile   126 Oct 22 23:30 selectors.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/selectors.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 shelve.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/shelve.py
lrwxr-xr-x    1 mobile  mobile   122 Oct 22 23:30 shlex.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/shlex.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 shutil.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/shutil.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 signal.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/signal.py
drwxr-xr-x  188 mobile  mobile  6016 Oct 23 00:15 site-packages
lrwxr-xr-x    1 mobile  mobile   121 Oct 22 23:30 site.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/site.py
lrwxr-xr-x    1 mobile  mobile   122 Oct 22 23:30 smtpd.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/smtpd.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 smtplib.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/smtplib.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 sndhdr.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/sndhdr.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 socket.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/socket.py
lrwxr-xr-x    1 mobile  mobile   129 Oct 22 23:30 socketserver.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/socketserver.py
drwxr-xr-x    6 mobile  mobile   192 Oct 22 23:30 sqlite3
lrwxr-xr-x    1 mobile  mobile   128 Oct 22 23:30 sre_compile.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/sre_compile.py
lrwxr-xr-x    1 mobile  mobile   130 Oct 22 23:30 sre_constants.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/sre_constants.py
lrwxr-xr-x    1 mobile  mobile   126 Oct 22 23:30 sre_parse.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/sre_parse.py
lrwxr-xr-x    1 mobile  mobile   120 Oct 22 23:30 ssl.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/ssl.py
lrwxr-xr-x    1 mobile  mobile   121 Oct 22 23:30 stat.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/stat.py
lrwxr-xr-x    1 mobile  mobile   127 Oct 22 23:30 statistics.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/statistics.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 string.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/string.py
lrwxr-xr-x    1 mobile  mobile   127 Oct 22 23:30 stringprep.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/stringprep.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 struct.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/struct.py
lrwxr-xr-x    1 mobile  mobile   127 Oct 22 23:30 subprocess.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/subprocess.py
lrwxr-xr-x    1 mobile  mobile   122 Oct 22 23:30 sunau.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/sunau.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 symbol.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/symbol.py
lrwxr-xr-x    1 mobile  mobile   125 Oct 22 23:30 symtable.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/symtable.py
lrwxr-xr-x    1 mobile  mobile   126 Oct 22 23:30 sysconfig.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/sysconfig.py
lrwxr-xr-x    1 mobile  mobile   125 Oct 22 23:30 tabnanny.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/tabnanny.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 tarfile.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/tarfile.py
lrwxr-xr-x    1 mobile  mobile   126 Oct 22 23:30 telnetlib.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/telnetlib.py
lrwxr-xr-x    1 mobile  mobile   125 Oct 22 23:30 tempfile.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/tempfile.py
lrwxr-xr-x    1 mobile  mobile   125 Oct 22 23:30 textwrap.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/textwrap.py
lrwxr-xr-x    1 mobile  mobile   121 Oct 22 23:30 this.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/this.py
lrwxr-xr-x    1 mobile  mobile   126 Oct 22 23:30 threading.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/threading.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 timeit.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/timeit.py
drwxr-xr-x   16 mobile  mobile   512 Oct 22 23:30 tkinter
lrwxr-xr-x    1 mobile  mobile   122 Oct 22 23:30 token.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/token.py
lrwxr-xr-x    1 mobile  mobile   125 Oct 22 23:30 tokenize.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/tokenize.py
lrwxr-xr-x    1 mobile  mobile   122 Oct 22 23:30 trace.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/trace.py
lrwxr-xr-x    1 mobile  mobile   126 Oct 22 23:30 traceback.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/traceback.py
lrwxr-xr-x    1 mobile  mobile   128 Oct 22 23:30 tracemalloc.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/tracemalloc.py
lrwxr-xr-x    1 mobile  mobile   120 Oct 22 23:30 tty.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/tty.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 turtle.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/turtle.py
drwxr-xr-x   24 mobile  mobile   768 Oct 22 23:30 turtledemo
lrwxr-xr-x    1 mobile  mobile   122 Oct 22 23:30 types.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/types.py
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 typing.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/typing.py
drwxr-xr-x   14 mobile  mobile   448 Oct 22 23:30 unittest
drwxr-xr-x    9 mobile  mobile   288 Oct 22 23:30 urllib
lrwxr-xr-x    1 mobile  mobile   119 Oct 22 23:30 uu.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/uu.py
lrwxr-xr-x    1 mobile  mobile   121 Oct 22 23:30 uuid.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/uuid.py
drwxr-xr-x    6 mobile  mobile   192 Oct 22 23:30 venv
lrwxr-xr-x    1 mobile  mobile   125 Oct 22 23:30 warnings.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/warnings.py
lrwxr-xr-x    1 mobile  mobile   121 Oct 22 23:30 wave.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/wave.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 weakref.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/weakref.py
lrwxr-xr-x    1 mobile  mobile   127 Oct 22 23:30 webbrowser.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/webbrowser.py
drwxr-xr-x    8 mobile  mobile   256 Oct 22 23:30 wsgiref
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 xdrlib.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/xdrlib.py
drwxr-xr-x    8 mobile  mobile   256 Oct 22 23:30 xml
drwxr-xr-x    6 mobile  mobile   192 Oct 22 23:30 xmlrpc
lrwxr-xr-x    1 mobile  mobile   123 Oct 22 23:30 zipapp.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/zipapp.py
lrwxr-xr-x    1 mobile  mobile   124 Oct 22 23:30 zipfile.py -> /private/var/containers/Bundle/Application/185C0346-F38E-4BA4-A53B-E46C72C497CA/a-Shell.app/Library/lib/python3.7/zipfile.py
holzschu commented 5 years ago

Yes, I have removed the multiprocessing module (because it basically cannot work on iOS) but I forgot to remove it in existing installations.

Temporary solution: rm $HOME/Library/lib/python3.7/multiprocessing (so python will stop trying to import multiprocessing, and fall back to single processing methods).

Long term solution: I am going to add this line in the startup process to make it permanent. I was planning to, and I forgot to do it.

kkebo commented 5 years ago

It seems to be fixed now. I'll close this issue, but feel free to reopen if you are going to do something.

pkjmesra commented 1 year ago

@holzschu - On the latest a-shell version 4.0 on iOS 16.5.1 /iPad Mini(6th generation), I still see this:


$ python -c 'import multiprocessing; multiprocessing.Manager().dict();'
Fatal Python error: pyinit_core_reconfigure: failed to read thread state
Python runtime state: initialized
Thread 0x000000016b6df000 (most recent call first):
  File "/private/var/containers/Bundle/Application/407CC1AD-C3D7-4ADA-8576-280A15FF5585/a-Shell.app/Library/lib/python3.11/multiprocessing/spawn.py", line 181 in get_preparation_data
  File "/private/var/containers/Bundle/Application/407CC1AD-C3D7-4ADA-8576-280A15FF5585/a-Shell.app/Library/lib/python3.11/multiprocessing/popen_spawn_posix.py", line 42 in _launch
  File "/private/var/containers/Bundle/Application/407CC1AD-C3D7-4ADA-8576-280A15FF5585/a-Shell.app/Library/lib/python3.11/multiprocessing/popen_fork.py", line 19 in __init__
  File "/private/var/containers/Bundle/Application/407CC1AD-C3D7-4ADA-8576-280A15FF5585/a-Shell.app/Library/lib/python3.11/multiprocessing/popen_spawn_posix.py", line 32 in __init__
  File "/private/var/containers/Bundle/Application/407CC1AD-C3D7-4ADA-8576-280A15FF5585/a-Shell.app/Library/lib/python3.11/multiprocessing/context.py", line 288 in _Popen
  File "/private/var/containers/Bundle/Application/407CC1AD-C3D7-4ADA-8576-280A15FF5585/a-Shell.app/Library/lib/python3.11/multiprocessing/process.py", line 121 in start
  File "/private/var/containers/Bundle/Application/407CC1AD-C3D7-4ADA-8576-280A15FF5585/a-Shell.app/Library/lib/python3.11/multiprocessing/managers.py", line 563 in start
  File "/private/var/containers/Bundle/Application/407CC1AD-C3D7-4ADA-8576-280A15FF5585/a-Shell.app/Library/lib/python3.11/multiprocessing/context.py", line 57 in Manager
  File "<string>", line 1 in <module>
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/var/containers/Bundle/Application/407CC1AD-C3D7-4ADA-8576-280A15FF5585/a-Shell.app/Library/lib/python3.11/multiprocessing/con
text.py", line 57, in Manager
segmentation fault
segmentation fault

Any ideas or suggestions? I can’t remove the multiprocessing directory as the shell doesn’t seem to have delete access.

holzschu commented 1 year ago

The bottom line remains the same: the multiprocessing module cannot work with a-Shell. So the best course of action is to not use it, even if it is included (it's part of the mandatory installation).