Skip to content

subprocess.CalledProcessError: Command '['./Python.framework/Versions/3.11/bin/python3.11', '-s', '-m', 'ensurepip']' died with <Signals.SIGKILL: 9> #32

Description

@AymericFerreira

Hello,

I am trying to create a relocatable python version from an ARM Mac (M1).
I would like a python3.10 or newer. Here is the command I am using :

./make_relocatable_python_framework.py --python-version=3.10.9 --os-version=11 --no-unsign --pip-requirements=requirements.txt

After this I receive this error :

Ensuring pip is installed... Traceback (most recent call last): File "/Users/support/Downloads/relocatable-python/make_relocatable_python_framework.py", line 108, in <module> main() File "/Users/support/Downloads/relocatable-python/make_relocatable_python_framework.py", line 94, in main install_extras( File "/Users/support/Downloads/relocatable-python/locallibs/install.py", line 108, in install_extras ensure_pip(framework_path, version) File "/Users/support/Downloads/relocatable-python/locallibs/install.py", line 35, in ensure_pip subprocess.check_call(cmd) File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['./Python.framework/Versions/3.10/bin/python3.10', '-s', '-m', 'ensurepip']' died with <Signals.SIGKILL: 9>.

Note that with the exact same code I am able to create a relocatable python using an x86 Mac. I am missing something for ARM ?

Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions