我如何将 .tar.gz 类型的文件放在我的 pydroid 上的 python 路径中

问题描述

步骤 - 1 我已经为我的 Android 下载了 linux 的 webp 支持,它目前在路径中:- /storage/emulated/0/Download/libwebp-1.2.0-linux-x86-64.tar.gz

步骤 - 2 我试过了 :- python -m pip install /storage/emulated/0/Download/libwebp-1.2.0-linux-x86-64.tar.gz

步骤 - 3 它给了我这个错误:-

Processing ./Download/libwebp-1.2.0-linux-x86-64.tar.gz
    ERROR: Command errored out with exit status 1:
     command: /data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/bin/python -c 'import sys,setuptools,tokenize; sys.argv[0] = '"'"'/data/data/ru.iiec.pydroid3/cache/pip-req-build-dlhd5s9x/setup.py'"'"'; __file__='"'"'/data/data/ru.iiec.pydroid3/cache/pip-req-build-dlhd5s9x/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-pip-egg-info-pg74pb7t
         cwd: /data/data/ru.iiec.pydroid3/cache/pip-req-build-dlhd5s9x/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>",line 1,in <module>
      File "/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.8/tokenize.py",line 392,in open
        buffer = _builtin_open(filename,'rb')
    FileNotFoundError: [Errno 2] No such file or directory: '/data/data/ru.iiec.pydroid3/cache/pip-req-build-dlhd5s9x/setup.py'
    ----------------------------------------
WARNING: discarding file:///storage/emulated/0/Download/libwebp-1.2.0-linux-x86-64.tar.gz. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
/storage/emulated/0 $```

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)