• 解决 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

  • 相关阅读:
    学习进度总结表
    关于软件工程的问题
    自我介绍
    web安全
    spring profile
    spring 装配
    python Descriptor (描述符)
    python string intern
    Java 对象内存占用
    java jdb命令详解
  • 原文地址:https://www.cnblogs.com/sunblackshine/p/2003663.html
Copyright © 2020-2023  润新知