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

        SystemExit: error: command 'gcc' failed with exit status 1
    
        During handling of the above exception, another exception occurred:
    
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "/tmp/pip-build-b5b9t38y/pynacl/setup.py", line 255, in <module>
            "Programming Language :: Python :: 3.7",
          File "/usr/local/python3/lib/python3.6/distutils/core.py", line 108, in setup
            _setup_distribution = dist = klass(attrs)
          File "/usr/local/python3/lib/python3.6/site-packages/setuptools-19.6-py3.6.egg/setuptools/dist.py", line 269, in __init__
          File "/usr/local/python3/lib/python3.6/site-packages/setuptools-19.6-py3.6.egg/setuptools/dist.py", line 313, in fetch_build_eggs
          File "/usr/local/python3/lib/python3.6/site-packages/setuptools-19.6-py3.6.egg/pkg_resources/__init__.py", line 828, in resolve
          File "/usr/local/python3/lib/python3.6/site-packages/setuptools-19.6-py3.6.egg/pkg_resources/__init__.py", line 1073, in best_match
          File "/usr/local/python3/lib/python3.6/site-packages/setuptools-19.6-py3.6.egg/pkg_resources/__init__.py", line 1085, in obtain
          File "/usr/local/python3/lib/python3.6/site-packages/setuptools-19.6-py3.6.egg/setuptools/dist.py", line 380, in fetch_build_egg
          File "/usr/local/python3/lib/python3.6/site-packages/setuptools-19.6-py3.6.egg/setuptools/command/easy_install.py", line 640, in easy_install
          File "/usr/local/python3/lib/python3.6/site-packages/setuptools-19.6-py3.6.egg/setuptools/command/easy_install.py", line 670, in install_item
          File "/usr/local/python3/lib/python3.6/site-packages/setuptools-19.6-py3.6.egg/setuptools/command/easy_install.py", line 853, in install_eggs
          File "/usr/local/python3/lib/python3.6/site-packages/setuptools-19.6-py3.6.egg/setuptools/command/easy_install.py", line 1081, in build_and_install
          File "/usr/local/python3/lib/python3.6/site-packages/setuptools-19.6-py3.6.egg/setuptools/command/easy_install.py", line 1069, in run_setup
        distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 1
    
    • yum install libxslt-devel libffi-devel python-devel openssl-devel

    参考:Linux 安装python3

  • 相关阅读:
    jQuery$命名冲突问题解决方法
    微信小程序开发工具 ubuntu linux版本
    阿里云Https通配符证书购买
    vs2017安装
    规范与标准
    Jvm远程监控
    Bash笔记
    Html5前端笔记
    Php7 开发笔记
    webpack笔记
  • 原文地址:https://www.cnblogs.com/polly-ling/p/10117748.html
Copyright © 2011-2022 走看看