zoukankan      html  css  js  c++  java
  • act量化工具出错

    subprocess.CalledProcessError: Command '['which', 'g++']' returned non-zero exit status 1.
    ERROR: Command errored out with exit status 1: /usr/local/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/actnn/setup.py'"'"'; __file__='"'"'/home/actnn/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.

    按照actnn量化工具什么出现了以上错误,缺少C++依赖

    按照

    sudo apt-get install build-essential

    继续出现

      error: [Errno 2] No such file or directory: '/usr/local/cuda/bin/nvcc': '/usr/local/cuda/bin/nvcc'
    ERROR: Command errored out with exit status 1: /usr/local/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/actnn/setup.py'"'"'; __file__='"'"'/home/actnn/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.
    Exception information:

    最终解决方法:
    点击https://bootstrap.pypa.io/get-pip.py,下载get-pip.py文件。
    然后找到这个文件,运行:python get-pip.py
    问题解决。

  • 相关阅读:
    蓝桥杯 十六进制转八进制
    蓝桥杯 字母图形
    2017.12.13T19_B2_5mianshiti
    2017.11.21T19_B2_6.2讲义
    2017.12.13T19_B2_6zuoye
    2017.12.1T19_B2_5zuoye
    2017.12.1T19_B2_4zuoye
    2017.12.1T19_B2_4——2
    2017.12.1T19_B2_4.3kehouzuoye
    2017.12.1T19_B2_4.2
  • 原文地址:https://www.cnblogs.com/dgwblog/p/15731269.html
Copyright © 2011-2022 走看看