首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >qpython paramiko (或任何其他SSH python模块)安装

qpython paramiko (或任何其他SSH python模块)安装
EN

Stack Overflow用户
提问于 2017-04-02 04:27:12
回答 1查看 607关注 0票数 1

最近我在我的android设备上安装了qpython,以便在android上编写python。我想使用paramiko从它连接到SSH服务器。但是,当我从pip控制台程序尝试pip install paramiko时,我得到了错误:

代码语言:javascript
复制
/data/user/0/org.qpython.qpy/files/bin/qpython-android5.sh "/storage/emulated/0/qpython/scripts/pip_console.py" && exit
/qpython/scripts/pip_console.py" && exit <
Input pip commands, ie: pip install {module}
-->pip install paramiko
Downloading/unpacking paramiko
  Running setup.py egg_info for package paramiko

Downloading/unpacking cryptography>=1.1 (from paramiko)
  Running setup.py egg_info for package cryptography

    no previously-included directories found matching 'docs/_build'
    warning: no previously-included files matching '*' found under directory 'vectors'
Downloading/unpacking pyasn1>=0.1.7 (from paramiko)
  Running setup.py egg_info for package pyasn1

    no previously-included directories found matching 'doc/build'
    no previously-included directories found matching 'doc/source/.templates'
Downloading/unpacking idna>=2.1 (from cryptography>=1.1->paramiko)
  Running setup.py egg_info for package idna

    warning: no previously-included files matching '*.pyc' found under directory 'tools'
    warning: no previously-included files matching '*.pyc' found under directory 'tests'
Downloading/unpacking asn1crypto>=0.21.0 (from cryptography>=1.1->paramiko)
  Running setup.py egg_info for package asn1crypto

Downloading/unpacking packaging (from cryptography>=1.1->paramiko)
  Running setup.py egg_info for package packaging

    warning: no previously-included files found matching '.travis.yml'
    warning: no previously-included files found matching 'dev-requirements.txt'
    no previously-included directories found matching 'docs/_build'
    no previously-included directories found matching 'tasks'
Downloading/unpacking six>=1.4.1 (from cryptography>=1.1->paramiko)
  Running setup.py egg_info for package six

    no previously-included directories found matching 'documentation/_build'
Requirement already satisfied (use --upgrade to upgrade): distribute in /data/data/org.qpython.qpy/files/lib/python2.7/site-packages (from cryptography>=1.1->paramiko)
Downloading/unpacking enum34 (from cryptography>=1.1->paramiko)
  Running setup.py egg_info for package enum34

Downloading/unpacking ipaddress (from cryptography>=1.1->paramiko)
  Running setup.py egg_info for package ipaddress

Downloading/unpacking cffi>=1.4.1 (from cryptography>=1.1->paramiko)
  Running setup.py egg_info for package cffi
    unable to execute arm-linux-androideabi-gcc: No such file or directory
    unable to execute arm-linux-androideabi-gcc: No such file or directory

        No working compiler found, or bogus compiler options
        passed to the compiler from Python's distutils module.
        See the error messages above.
        (If they are about -mno-fused-madd and you are on OS/X 10.8,
        see http://stackoverflow.com/questions/22313407/ .)
    Complete output from command python setup.py egg_info:
    unable to execute arm-linux-androideabi-gcc: No such file or directory

unable to execute arm-linux-androideabi-gcc: No such file or directory



    No working compiler found, or bogus compiler options

    passed to the compiler from Python's distutils module.

    See the error messages above.

    (If they are about -mno-fused-madd and you are on OS/X 10.8,

    see http://stackoverflow.com/questions/22313407/ .)

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /sdcard/qpython/.pip/pip.log
-->

有没有办法让它工作,或者有一个不同的模块可以工作?

提前感谢

P.S. qpython3胜过qpython是更可取的,但不是太大的问题。

EN

回答 1

Stack Overflow用户

发布于 2017-07-11 10:35:07

Tje最新的1.4.x qpython已经支持paramiko,只需从QPYPI安装paramiko-qpython即可。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43161658

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档