AltStore icon indicating copy to clipboard operation
AltStore copied to clipboard

error: externally-managed-environment

Open Piipperi opened this issue 1 year ago • 13 comments

Trying to get JIT working using the guide (https://faq.altstore.io/how-to-use-altstore/altjit), but I keep running into an error:

python3 -m pip install pymobiledevice3==2.30.0 construct==2.10.69
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try brew install
    xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-brew-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip.
    
    If you wish to install a non-brew packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

Either the guide needs updating, or I'm just doing something entirely wrong…

Using macOS 14.4 (23E214) (x64). Enabling JIT currently gives an error The process 'altjit' failed with code 1. Could not connect to device 00008103-001E75381A79001E. The process 'python3' returned unexpected output. Error: No such command 'start-quic-tunnel'.

Piipperi avatar Mar 13 '24 15:03 Piipperi

Same here

shim80 avatar Mar 28 '24 14:03 shim80

Same here

bbqthis avatar Apr 01 '24 19:04 bbqthis

same here

Janov911 avatar Apr 18 '24 14:04 Janov911

After failing with installing through the guided python3 -m pip install -U pymobiledevice3==2.30.0 command, i managed to install the pymobiledevice3==2.30.0 successfully through pipx,

pymobiledevice3 -h
Usage: pymobiledevice3 [OPTIONS] COMMAND [ARGS]...

Options:
  -h, --help  Show this message and exit.

Commands:
  activation       activation options
  afc              FileSystem utils
  amfi             amfi options
  apps             application options
  backup2          backup utils
  bonjour          bonjour options
  companion        companion options
  crash            crash report options
  developer        developer options.
  diagnostics      diagnostics options
  lockdown         lockdown options
  mounter          mounter options
  notification     notification options
  pcap             sniff device traffic
  power-assertion  Create a power assertion (wraps...
  processes        processes cli
  profile          profile options
  provision        privision options
  remote           remote options
  restore          restore options
  springboard      springboard options
  syslog           syslog options
  usbmux           usbmuxd options
  webinspector     webinspector options

now on my mac, pymobiledevice3 is present and can be called directly, but when i try to enable jit on alt server, it still complains that i do not have the dependency pymobiledevice3,

CleanShot 2024-04-24 at 09 53 25

azataiot avatar Apr 24 '24 06:04 azataiot

also having this issue

b8rry avatar Apr 26 '24 02:04 b8rry