zoukankan      html  css  js  c++  java
  • error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

        x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c src/twisted/test/raiser.c -o build/temp.linux-x86_64-3.6/src/twisted/test/raiser.o
        src/twisted/test/raiser.c:4:20: fatal error: Python.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-install-qyq4blk1/Twisted/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace(' ', ' ');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-s8aq18x_/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-qyq4blk1/Twisted/                                                 

    执行下面代码安装其依赖库即可

    sudo apt install python3.6-dev

  • 相关阅读:
    学习练习 java输入输出流 练习题1
    学习总结 java Iterator迭代器练习
    学习总结 java 输入输出流
    学习记录 java 哈希
    学习记录 java 链表知识
    学习总结 java 异常
    学习练习 java 集合
    web压缩gzip响应
    web乱码问题
    web附件中文名
  • 原文地址:https://www.cnblogs.com/ice-image/p/10422047.html
Copyright © 2011-2022 走看看