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

  • 相关阅读:
    LeetCode: 18. 4Sum
    LeetCode:15. 3Sum
    Leetcode:1. Two Sum
    tensorflow placeholder
    Tensorflow变量
    13.git的简单使用
    13.Django1.11.6文档
    12.python进程协程异步IO
    12.Flask-Restful
    12.Django思维导图
  • 原文地址:https://www.cnblogs.com/sunblackshine/p/2003663.html
Copyright © 2011-2022 走看看