pydroid3 安装pyjnius出错

三滑稽甲苯 2020-01-21 09:32:23
在终端运行和它的pip界面运行都报错 /storage/emulated/0 $ pip install pyjnius Collecting pyjnius Using cached https://files.pythonhosted.org/packages/b2/c3/a2b122da2536168241bf823f5d6fc7a7cf1da82eecadcf6ebe535ed28093/pyjnius-1.2.1.tar.gz ERROR: Command errored out with exit status 1: command: /data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/data/data/ru.iiec.pydroid3/cache/pip-install-zdoezaax/pyjnius/setup.py'"'"'; __file__='"'"'/data/data/ru.iiec.pydroid3/cache/pip-install-zdoezaax/pyjnius/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /data/data/ru.iiec.pydroid3/cache/pip-install-zdoezaax/pyjnius/pip-egg-info cwd: /data/data/ru.iiec.pydroid3/cache/pip-install-zdoezaax/pyjnius/ Complete output (13 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/data/data/ru.iiec.pydroid3/cache/pip-install-zdoezaax/pyjnius/setup.py", line 92, in <module> compile_native_invocation_handler(*get_possible_homes(PLATFORM)) File "jnius/env.py", line 170, in get_possible_homes get_jdk_home(platform), File "jnius/env.py", line 135, in get_jdk_home ['which', 'javac'] File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.7/subprocess.py", line 395, in check_output **kwargs).stdout File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.7/subprocess.py", line 487, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['which', 'javac']' returned non-zero exit status 1. ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. /storage/emulated/0 $
...全文
7 点赞 收藏 回复
写回复
回复

还没有回复,快来抢沙发~

发动态
发帖子
脚本语言(Perl/Python)
创建于2007-08-27

1.5w+

社区成员

3.3w+

社区内容

其他开发语言 脚本语言(Perl ,Python)
社区公告
暂无公告