a-shell
a-shell copied to clipboard
Trouble installing pycryptodome
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?
See issue #392. pycryptodome requires a C compiler, which does not exist on iOS. You can only install pure Python modules.
If the reason you want to install it is so you can use yt-dlp, there is an option to skip this requirement
Version 1.9.4 (now out on the AppStore) has pycryptodome included.
If the reason you want to install it is so you can use yt-dlp, there is an option to skip this requirement
How?
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