AeonLucid / AndroidNativeEmu

Allows you to partly emulate an Android native library.
GNU General Public License v3.0
1.37k stars 409 forks source link

win7 python3.7.0 pip install requirements.txt erro 怎么办? #28

Closed kingking888 closed 4 years ago

kingking888 commented 4 years ago

Installing collected packages: pyelftools, keystone-engine Running setup.py install for keystone-engine ... error ERROR: Command errored out with exit status 1: command: 'd:\python\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-cbd15e fl\keystone-engine\setup.py'"'"'; file='"'"'C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-cbd15efl\keystone-engine\setup.py'"'"';f=getattr(tokenize, ' "'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\ ADMINI~1\AppData\Local\Temp\pip-record-zsmsjkxb\install-record.txt' --single-version-externally-managed --compile --install-headers 'd:\python\python37\Include\keyston e-engine' cwd: C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-cbd15efl\keystone-engine\ Complete output (27 lines): d:\python\python37\lib\site-packages\setuptools\dist.py:397: UserWarning: Normalizing '0.9.1-3' to '0.9.1.post3' normalized_version, running install running build running build_py creating build creating build\lib creating build\lib\keystone copying keystone\arm64_const.py -> build\lib\keystone copying keystone\arm_const.py -> build\lib\keystone copying keystone\hexagon_const.py -> build\lib\keystone copying keystone\keystone.py -> build\lib\keystone copying keystone\keystone_const.py -> build\lib\keystone copying keystone\mips_const.py -> build\lib\keystone copying keystone\ppc_const.py -> build\lib\keystone copying keystone\sparc_const.py -> build\lib\keystone copying keystone\systemz_const.py -> build\lib\keystone copying keystone\x86_const.py -> build\lib\keystone copying keystone__init__.py -> build\lib\keystone running build_clib running custom_build_clib building 'keystone' library '..' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 running install_lib running install_data error: can't copy 'src\build\llvm\lib\libkeystone.so': doesn't exist or not a regular file

ERROR: Command errored out with exit status 1: 'd:\python\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ADMINI~1\AppData \Local\Temp\pip-install-cbd15efl\keystone-engine\setup.py'"'"'; file='"'"'C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-cbd15efl\keystone-engine\se tup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"' "'))' install --record 'C:\Users\ADMINI~1\AppData\Local\Temp\pip-record-zsmsjkxb\install-record.txt' --single-version-externally-managed --compile --install-headers 'd :\python\python37\Include\keystone-engine' Check the logs for full command output.

liangzha856987 commented 4 years ago
  1. git clone https://github.com/keystone-engine/keystone.git

  2. open keystone\bindings\python and run : python setup.py install. Get your keystone installed this way.

3 run pip install requirements.txt again. This should help

kingking888 commented 4 years ago

Thanks a lot