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

  • 相关阅读:
    Rate Control Mode
    帝国的困境:80-20法则
    ARM NEON 64bit 查找表替换
    Video Brightness Enhancement
    HDR(High Dynamic Range)
    C++ C++
    Machine Learning
    图像处理
    Facial landmark detection
    git
  • 原文地址:https://www.cnblogs.com/sunblackshine/p/2003663.html
Copyright © 2011-2022 走看看