a-shell icon indicating copy to clipboard operation
a-shell copied to clipboard

Trouble installing pycryptodome

Open Emasoft opened this issue 2 years ago • 5 comments

I'm having some troubles installing pycryptodome:

[~/Documents]$ pip install --verbose -U pycryptodome
Using pip 22.1.2 from /var/mobile/Containers/Data/Application/4BB4936E-61EE-4FC3-AAA6-358B709278D7/Library/lib/python3.9/site-packages/pip (python 3.9)
Defaulting to user installation because normal site-packages is not writeable
Collecting pycryptodome
  Downloading pycryptodome-3.14.1.tar.gz (3.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 10.3 MB/s eta 0:00:00
  Running command python setup.py egg_info
  Testing support for clang
  clang: warning: argument unused during compilation: '-miphoneos-version-min=14.0' [-Wunused-command-line-argument]
  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--
  <string> 2 <module>
  <pip-setuptools-caller> 34 <module>
  setup.py 474 <module>
  set_compiler_options(package_root, ext_modules)
  compiler_opt.py 341 set_compiler_options
  clang = compiler_is_clang()
  compiler_opt.py 251 compiler_is_clang
  return test_compilation(source, msg="clang")
  compiler_opt.py 101 test_compilation
  dev_null.close()

  OSError:
  9
  Bad file descriptor

A-Shell hangs there, after Bad file descriptor. I waited a long time, but nothing changed. I have not a clue about how to solve this. Any help?

Emasoft avatar Jun 11 '22 17:06 Emasoft

See issue #392. pycryptodome requires a C compiler, which does not exist on iOS. You can only install pure Python modules.

holzschu avatar Jun 11 '22 17:06 holzschu

If the reason you want to install it is so you can use yt-dlp, there is an option to skip this requirement

NightMarekApps avatar Jun 13 '22 00:06 NightMarekApps

Version 1.9.4 (now out on the AppStore) has pycryptodome included.

holzschu avatar Jul 13 '22 20:07 holzschu

If the reason you want to install it is so you can use yt-dlp, there is an option to skip this requirement

How?

upintheairsheep avatar Aug 01 '22 23:08 upintheairsheep

If the reason you want to install it is so you can use yt-dlp, there is an option to skip this requirement

How?

https://github.com/holzschu/a-shell/issues/331#issuecomment-963173329

NightMarekApps avatar Aug 02 '22 08:08 NightMarekApps