1. 问题描述

按照AlphAction官方地址中INSTALL.md一步一步执行,到最后一步pip install -e .总是报错,大片红色,换了台工作站还是不行,并且两台报错还不一样。
目前已解决问题这台工作站配置是Ubuntu16.04,CUDA=10.0,Pytorch=1.4,使用Anaconda管理环境。
完整报错描述:
error: command ':/home/yst/cudas/cuda-10.0/bin/nvcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /home/yst/anaconda3/envs/alphaction/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/yst/MyProject/AlphAction/setup.py'"'"'; __file__='"'"'/home/yst/MyProject/AlphAction/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.

2. 问题解决

参考
https://blog.csdn.net/qq_41251963/article/details/110120386?ops_request_misc=&request_id=&biz_id=102&utm_term=command ':/home/yst/cudas/cuda&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduweb~default-3-110120386.pc_search_result_before_js
虽然我的问题和链接博客中给出的问题不一样,没有这一句
unable to execute 'usr/local/cuda-10.0/bin/nvcc': No such file or directory
但是还是按照给出的方法试了下,大概经过50秒左右编译成功。成功界面如下:

之前是执行到 Running setup.py develop for alphaction这一步就开始报错。
还有些解决办法是建议直接修改repo中的setup.py文件,个人感觉对整个项目不是很熟悉的情况下先不要随便改动别人的代码,防止更多错误的发生。建议先从自己的环境配置、版本匹配,路径等找原因。
然后,就这个小问题花费我了一天半的时间。。。T T

AlphAction编译不通过问题:error: command ‘:/home/yst/cudas/cuda-10.0/bin/nvcc‘ failed with exit status 1相关推荐

  1. 编译DCNv2网络:error: command ‘C:\\Program Files\\NVIDIAGPUComputingToolkit\\CUDA\\v10.0\\bin\\nvcc.exe‘

    在复现FairMOT时编译DCNv2出现了一个错误 error: command 'C:\\Program Files\\NVIDIAGPUComputingToolkit\\CUDA\\v10.0\ ...

  2. 错误 1 error MSB3721: 命令““C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin\nvcc.exe” -genco

    错误 1 error MSB3721: 命令""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin\nvcc.e ...

  3. error: command ‘/usr/local/cuda-11.6/bin/nvcc‘ failed with exit code

    pytorch c++扩展 python setup install 错误 解决方法 将/home/zyc/miniconda3/lib/python3.7/site-packages/torch/i ...

  4. xcode编译报错unknown error -1=ffffffffffffffff Command /bin/sh failed with exit code 1

    升级完xcode9.1之后,编译项目出现如下错误: CI今日构建时报出如下错误: /Users/xxx/Library/Developer/Xcode/DerivedData/Snowball-ebl ...

  5. 【Linux学习笔记】解决:error: command ‘gcc‘ failed with exit status 1

    报错: error: command 'gcc' failed with exit status 1 原因:缺少gcc,openssl-devel openssl-devel包是第三方软件开发时使用的 ...

  6. pip install nmslib 失败 (error: command ‘x86_64-linux-gnu-gcc‘ failed with exit status 1)

    1. 问题现象 使用 pip 安装 nmslib 命令时出现如下错误: sudo pip install nmslib ....ERROR: Complete output from command ...

  7. python mysql gcc_MySQL-python “error: command 'gcc' failed with exit status 1”错误

    安装MySQL-python-1.2.3c1出现"error: command 'gcc' failed with exit status 1"错误 具体报错信息如下: _mysq ...

  8. 安装MySQL-python报错 error: command 'gcc' failed with exit status 1解决方法

    错误如: _mysql.c:2331: error: '_mysql_ConnectionObject' has no member named 'open' _mysql.c:2338: error ...

  9. pycuda installation error: command 'gcc' failed with exit status 1

    原文:python采坑之路 Setup script exited with error: command 'gcc' failed with exit status 1 伴随出现"cuda ...

  10. 安装kerberos报错 error: command 'gcc' failed with exit status 1

    pip install kerberos 报错:error: command 'gcc' failed with exit status 1 安装环境工具 yum install gcc libffi ...

最新文章

  1. 知识图谱基本概念工程落地常见问题
  2. bios设置_老富士通bios设置启动项方法是什么 富士通bios设置u盘启动的方法
  3. MySQL Gap Lock问题
  4. Oracle中dmp/dmpdp导出,imp/impdp导入
  5. ubuntu for win10 里运行apache+php
  6. 2017.9.5 能量采集 思考记录
  7. HDU-1686Oulipo(kmp)
  8. 舍 bpftrace 而取 systemtap 的代价和思考
  9. 死锁、活锁、性能问题
  10. Magnet for mac(专业窗口辅助工具)支持m1
  11. (转)知乎-区块链技术:如何赋能供应链创新
  12. jQuery+bootstrap实现美化警告/确认/提示对话框插件
  13. 国际首个!OpenV2X 开源社区成立,填补 5G 路侧开放基础架构(RSOI)空白
  14. 基于docker搭建单机版ELK日志采集系统
  15. 棋牌游戏开发运营技巧列举 如何才能提高平台留存率
  16. SpringBoot 请求相关
  17. 万恶的LayoutSubviews
  18. 简单教程-word2vec处理英文语料
  19. 海南省计算机作品大赛,海南省教育研究培训院:关于举办第二十届海南省中小学电脑制作活动的通知...
  20. 【echarts tooltip 固定位置】

热门文章

  1. JS实现放大镜特效原理解析
  2. flutter 踩的那些坑 (一) Scheme not starting with alphabetic character
  3. 基于SIMULINK的AWGN信道仿真
  4. html鼠标悬停闪烁,鼠标悬停闪烁星星插件jQuery-canvas-sparkles
  5. 2021谷歌IO大会内容
  6. Markdown是什么?
  7. Java中停止线程的3种方式
  8. 8583 mac 字符选择 java 实现_转 8583包 mac算法
  9. Grunt 的简单使用
  10. Python 史上最全第三方库收集(第二弹)