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

  • 相关阅读:
    LeetCode:387字符串中唯一出现一一次的字符
    LeetCode-79. 单词搜索
    LeetCode-75. 颜色分类
    LeetCode-121. 买卖股票的最佳时机
    LeetCode-58. 最后一个单词的长度
    LeetCode-1103. 分糖果 II
    LeetCode:283. 移动零
    LeetCode:38. 外观数列
    LeetCode:70. 爬楼梯
    获取美拍视频的链接--JS分析
  • 原文地址:https://www.cnblogs.com/polly-ling/p/10117748.html
Copyright © 2011-2022 走看看