Pip install scikit-learn Not installing on IPad Pro

Hello Forum,

I am using Jupyter Version: 7.0.6 on my IPad Pro (WIFI ONLY) via the iOS Carnets app. I am running iPadOS 17.5.1.

The issue I am having, when I try to pip install scikit-learn, I am getting below error. I have restarted kernel but still getting same error. Any help from forum would be helpful.

Can we run Jupyter on IPad Pro?

ulting to user installation because normal site-packages is not writeable
Collecting scikit-learn
Downloading scikit_learn-1.5.0.tar.gz (7.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.8/7.8 MB 1.5 MB/s eta 0:00:00
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status ‘error’

error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [38 lines of output]
Fatal Python error: pyinit_core_reconfigure: failed to read thread state
Python runtime state: initialized

  Thread 0x000000016f26b000 (most recent call first):
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/utils/subprocess.py", line 166 in call_subprocess
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/utils/subprocess.py", line 252 in runner
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_impl.py", line 311 in _call_hook
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_impl.py", line 186 in prepare_metadata_for_build_wheel
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/utils/misc.py", line 766 in prepare_metadata_for_build_wheel
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/operations/build/metadata.py", line 35 in generate_metadata
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/req/req_install.py", line 579 in prepare_metadata
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/distributions/sdist.py", line 67 in prepare_distribution_metadata
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/operations/prepare.py", line 71 in _get_prepared_distribution
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/operations/prepare.py", line 640 in _prepare_linked_requirement
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/operations/prepare.py", line 525 in prepare_linked_requirement
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 301 in _prepare_distribution
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 222 in _prepare
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156 in __init__
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 290 in __init__
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 228 in _make_base_candidate_from_link
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 182 in _make_candidate_from_link
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47 in _iter_built
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143 in <genexpr>
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155 in __bool__
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_vendor/resolvelib/structs.py", line 156 in __bool__
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173 in _add_to_criteria
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_vendor/resolvelib/resolvers.py", line 397 in resolve
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546 in resolve
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95 in resolve
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/commands/install.py", line 377 in run
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/cli/req_command.py", line 245 in wrapper
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/cli/base_command.py", line 180 in exc_logging_wrapper
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/cli/base_command.py", line 234 in _main
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/cli/base_command.py", line 101 in main
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/_internal/cli/main.py", line 79 in main
    File "/var/mobile/Containers/Data/Application/44EE3286-BD32-4E56-9435-6CC88A524093/Library/lib/python3.11/site-packages/pip/__main__.py", line 24 in <module>
    File "<frozen runpy>", line 88 in _run_code
    File "<frozen runpy>", line 198 in _run_module_as_main
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Note: you may need to restart the kernel to use updated packages.