zoukankan      html  css  js  c++  java
  • 解决 paramiko 安装问题 Unable to find vcvarsall.bat

    安装 paramiko 出现:

    error: Setup script exited with error: Unable to find vcvarsall.bat

    解决方法

    If it's off any use, the problem can be resolved by:

    1. Getting the source of pycrypto ...
    2. Building the pycrypto source with "python setup.py build --compiler=mingw32"
    3. Installing the pycrypto module "python setup.py install"
    4. Installing the paramiko package "python setup.py install"

    This assumes that you have mingw32, which comes with packages such as pythonxy.

    It would have been better (if possible?) to get the python build of paramiko to download and install pycrypto with the appropriate compiler flags. Anyway the above solution worked for me!

    安装mingw 配置好gcc 命令行。(我是安装的 codeblocks附带mingw的)

    编译 pycrypto 使用命令行 python setup.py build --compiler=mingw32

    安装 pycrypto python setup.py install

    安装 paramiko python setup.py install

    解决。

    参考文章

    [1]https://bugs.launchpad.net/paramiko/+bug/402978

  • 相关阅读:
    Win10
    编码
    [转帖] Tomcat安全配置小技巧
    关于redis bind
    query data filtered by a JSON Column in SQLAlchemy
    Flask多线程环境下logging
    Flask request
    [转] MySQL树结构递归查询处理
    [转]了解BFF架构
    转载:ELK实战系列3-RabbitMQ+ELK搭建日志平台
  • 原文地址:https://www.cnblogs.com/sunblackshine/p/2003663.html
Copyright © 2011-2022 走看看