zoukankan      html  css  js  c++  java
  • python2 安装scrapy问题解决方法

    错误代码:

        build/temp.linux-x86_64-2.7/_openssl.c:429:30: fatal error: openssl/opensslv.h: 没有那个文件或目录
        compilation terminated.
        error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
        
        ----------------------------------------
    Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-AQ8e0t/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('
    ', '
    '), __file__, 'exec'))" install --record /tmp/pip-2cxmRo-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-AQ8e0t/cryptography/

    这个原因是库文件不全,安装

    sudo apt-get install libssl-dev

    即可

  • 相关阅读:
    最近这段时间
    一元多项式的
    珍藏
    运行命令大全
    Google
    Windows Live Writer插件
    Word写论文的技
    安装Windows Live Writer后Ƃ
    比尔盖茨给人
    不经意的感悟
  • 原文地址:https://www.cnblogs.com/INnoVationv2/p/5693698.html
Copyright © 2011-2022 走看看