downr1n: pyimg4 is not installed. we can installl it for you, press any key to start

Hello there, Well I just don’t know if I’m writing in correct place but I have a problem installing pyimg4. I keeps showing this error if for example I let the script install it for me.

[-] pyimg4 is not installed. we can installl it for you, press any key to start installing pyimg4, or press ctrl + c to cancel
[21:37:09.690][3] Initialization complete
error: externally-managed-environment

I have already tried installing with pipx this package… I have tried sudo apt install python-piyimg4 Of course tried simply python3 -m pip install piyimg4 (as that what the script does I believe)

Nevertheless this is all happening on a clean Debian and it’s a second time I’m reinstalling OS to figure out why it stucks on exactly this error…

And basically I have tried everything what was advice here https://askubuntu.com/questions/1465218/pip-error-on-ubuntu-externally-managed-environment-×-this-environment-is-extern Also the guide followed https://youtu.be/-TJ_WM4zAMA?si=T6dIoWd7xDrvR6N5

packages were installed: xz-utils libimobiledevice-utils libusbmuxd-tools git curl python3-pip unzip clang pipx

I’d really appreciate if someone could help me, I might just missing something.

Thank you in advance

Screenshot from 2024-02-28 21-57-59

About this issue

  • Original URL
  • State: closed
  • Created 4 months ago
  • Comments: 22 (11 by maintainers)

Most upvoted comments

echo ‘export PATH=“~/env/bin:$PATH”’ >> ~/.bashrc source ~/.bashrc Then sudo -E ./downr1n.sh --downgrade 14.3

camper@debian:~$ pyimg4
Usage: pyimg4 [OPTIONS] COMMAND [ARGS]...

  A Python CLI tool for parsing Apple's Image4 format.

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  im4m  Image4 manifest commands.
  im4p  Image4 payload commands.
  im4r  Image4 restore info commands.
  img4  Image4 commands.
camper@debian:~$ 

Even though the pyimg4 is obviously in the env path, as it can be run from anywhere and it shows as working.

try: python3 -m pyimg4

Make a venv somewhere

@sasa8810 i am almost sure that you know something about this, could you please tell me the fix ?