前言

服务器上安装了一个包,然后这个包好像顺便把一些其他包给更新了,然后在远程连接服务器的时候就出现了问题。

!!!
Your compiler (c++) is not compatible with the compiler Pytorch was
built with for this platform, which is g++ on linux. Please
use g++ to to compile your extension. Alternatively, you may
compile PyTorch from source using c++, and then you can also use
c++ to compile your extension.
See pytorch/CONTRIBUTING.md at master · pytorch/pytorch for help
with compiling PyTorch from source.
!!!

解决方案

进入你的主目录,修改如下文件。

vim .bashrc

在最后一行写入:

export CXX=g++

保存退出。运行如下命令使立即生效。

source .bashrc

(完全解决)Your compiler (c++) is not compatible with the compiler Pytorch was built with for this platfo相关推荐

  1. 解决:严重: Compilation error org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException

    九月 29, 2020 3:07:24 下午 org.apache.jasper.compiler.JDTCompiler$1 findType 严重: Compilation error org.e ...

  2. 解决SpringBoot热部署配置之IDEA2021版无Compiler.automake.allow.when.app.running问题

    问题描述 解决SpringBoot热部署配置之IDEA2021版无Compiler.automake.allow.when.app.running问题 解决方案: 英语版 汉语版: 给那些看完的朋友, ...

  3. NVIDIA GeForce RTX 3080 with CUDA capability sm_86 is not compatible with the current PyTorch

    遇到的问题 最近在带4卡GeForce RTX 3080 的服务器上安装了一个高版本的pytorch,发现在运行如下命令时报如下错误:运行命令如下: import torchprint(torch._ ...

  4. 稀里糊涂的解决了 cuda 和cudnn的安装以及conda安装pytorch出现的torch.cuda.is_available()为false的问题

    参考的链接: https://blog.csdn.net/ashome123/article/details/105822040#commentBox  Ubuntu 20.04 CUDA&c ...

  5. 解决Anaconda安装包时报错CondaVerificationError: The package for pytorch located at...

    解决办法:清理之前安装包时留下的缓存 conda clean --all

  6. org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/IPr

    http://bbs.csdn.net/topics/260053873/ 我按上面一个兄弟说的办法进行逐个测试, 发现把我原有工程的一个jar:jasper-compiler.jar 移除,我看了下 ...

  7. 解决报错“Ignoring ffi-1.12.2 because its extensions are not built. Try: gem pristine ffi --version 1.12”

    执行pod install时报错 Ignoring ffi-1.12.2 because its extensions are not built. Try: gem pristine ffi --v ...

  8. Java compiler level does not match解决方法

    Java compiler level does not match解决方法 参考文章: (1)Java compiler level does not match解决方法 (2)https://ww ...

  9. AI推理与Compiler

    AI推理与Compiler AI芯片编译器能加深对AI的理解, AI芯片编译器不光涉及编译器知识,还涉及AI芯片架构和并行计算如OpenCL/Cuda等.如果从深度学习平台获得IR输入,还需要了解深度 ...

最新文章

  1. Nodejs Hello world benchmark
  2. iPhone常用设置
  3. 编译安装 PHP 扩展 - 含 swoole 扩展安装和升级
  4. 美团Android资源混淆保护实践
  5. RedHat 6.5中建立Raid5卷(软件磁盘阵列) ;并且对Raid5卷做磁盘配额
  6. 如何在 C# 平台调用云开发?
  7. 「offer来了」2种递进学习思维,24道计网题目,保姆级巩固你的计网知识体系
  8. 三校生计算机对口本科有哪些学校,宝山三校生五月对口高考报名
  9. 2运行内存多大_智能设备中的内存与容量为何傻傻分不清?它们的区别是什么?...
  10. 对于一个指针可以多次使用delete_【C++札记】new和delete
  11. Spring事务6连问
  12. 七牛解决运营商劫持问题
  13. Keep Network启动下一阶段流动性挖矿计划
  14. Nokia n900使用
  15. eclipse deploy path 修改
  16. Backbone的RESTFUL API 解释
  17. JS总结 循环 退出循环 函数
  18. 同样一个网址,用电信网络和中国移动的手机网络,下载速度相差巨大
  19. CCNA学习指南 IP路由
  20. 视频横竖屏模式切换,如何将多个视频任意转换

热门文章

  1. Unity小游戏-彩笔画师(安卓、PC)2D益智类游戏 项目展示+完整项目源码
  2. 如何让win7系统发声 win7系统讲述人功能
  3. 画Java类图的mac软件_StarUML for Mac(UML软件建模器)
  4. 图片格式转换,JPG图片转换成PDF
  5. Geoserver学习笔记-3、服务标准(WFS)
  6. 黑马2022大数据课程的变化
  7. Java实现第八届蓝桥杯图形排版
  8. jieba读取txt文档并进行分词、词频统计,输出词云图
  9. Redis学习笔记(二)SpringBoot整合
  10. 工控电脑主板与普通主板的区别有哪些?