一、参考链接:

1.Ninja is required to load C++ extensions in Pycharm
2.RuntimeError: Ninja is required to load C++ extension(一个github的解决链接)
3.ModuleNotFoundError: No module named ‘yolox.layers.fast_cocoeval’ (YOLOX的官方有一个解决链接提到)

二、服务器上运行:

1.在linux上面可以运行成功,截图记录如下:

2.linux通过which ninja查看ninja的位置:

3.windows需要在pycharm中设置环境变量,然后重启

按照上述的操作之后,使用pycharm远程连接还是会出现问题。
参考链接:pycharm 设置环境变量
4.在Windows的cmd中如何查看ninja的位置
参考链接:cmd下的“which”命令

windows中安装了ninja但是还是报了文章题目的错误,在服务器上运行时,没有报如上的错误。
5.终于解决了这个问题,也不知道是怎么回事
i found that errorFile "D:\F\Anaconda3\envs\pytorch\lib\runpy.py", line 193, in run_module_as_main "main", mod_spec) File "D:\F\Anaconda3\envs\pytorch\lib\runpy.py", line 85, in run_code exec(code, run_globals) in the previous comment. So i installed ninja in another conda env pytorch. 就是我在另一个虚拟环境中安装上ninja这个包就可以了。

三、突然又有一个错

不知道怎么解决
YOLOX module ‘yolox.layers.fast_cocoeval’ 解决方案
通过这个链接解决了…

Ninja is required to load C++ extensions in Pycharm相关推荐

  1. 服务器上可以跑,本地Pycharm中报错Ninja is required to load C++ extensions

    参考该博客: https://blog.csdn.net/qq_36721800/article/details/123602884 讲得很清楚,原因可能是server中和pycharm中的envir ...

  2. RuntimeError: Ninja is required to load C++ extension

    wget https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip sudo unzip ninja- ...

  3. [Vue-Treeselect Warning] Unloaded branch node detected. “loadOptions“ prop is required to load its

    使用Vue treeselect时出现了[Vue-Treeselect Warning] Unloaded branch node detected. "loadOptions" ...

  4. [Vue-Treeselect Warning] Unloaded branch node detected. “loadOptions“ prop is required to load its c

    [Vue-Treeselect Warning] Unloaded branch node detected. "loadOptions" prop is required to ...

  5. Unloaded branch node detected. “loadOptions“ prop is required to load its children.

    把人整emo 我原来的代码是这样的 <treeselect v-model="form.pid" :load-option="loadGroups" :o ...

  6. Unloaded branch node detected. “loadOptions“ prop is required to load its children

    当前组件需要children不能为空 为空要是    []  是null 或者是undefined 就会报错  小伙伴 让你的后端改吧 这是 后端的锅!!!!!!!!

  7. 问题 | 解决Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.dll 问题(pycharm+Tensorflow)

    博主github:https://github.com/MichaelBeechan 博主CSDN:https://blog.csdn.net/u011344545 之前安装的TensorFlow是1 ...

  8. 增强现实与虚拟现实_增强现实相关的法律问题

    增强现实与虚拟现实 When speaking of technological novelties, despite all positive aspects of the given innova ...

  9. 解决pip install ninjia 后,依旧报错的问题

    https://github.com/zhanghang1989/PyTorch-Encoding/issues/167#issuecomment-939178573 问题: RuntimeError ...

最新文章

  1. 刻意练习:机器学习实战 -- Task01. K邻近算法
  2. 关于JS闭包一篇不错的文章记录下
  3. 计算机四级考试操作系统单元题,计算机四级考试操作系统单选练习
  4. 仿站小工具8.0_安卓微信8.0版本可以升级了!新增4个实用功能,内附更新方式...
  5. php离开界面监听,js实现用户离开页面前提示是否离开此页面的方法(包括浏览器按钮事件)...
  6. Ribbon-4 Ribbon脱离Eureka使用
  7. python 网络编程----非阻塞或异步编程
  8. 凭运气接来的项目,怎样凭本事搞砸?
  9. 【BZOJ2539】【codevs1221】丘比特的烦恼,trie树+几何判断+费用流
  10. JedisClusterException: No way to dispatch this command to Redis Cluster because keys have different
  11. 基于php047园林植物检索系统网站
  12. ELK高级搜索四之Mapping映射和分词器
  13. 鬼故事之中学异事(01)
  14. android移植wifi驱动流程porting
  15. 出现“你的Windows许可证即将过期”提示
  16. 一个简单的Java Applet应用程序
  17. 线段树 建树 单点修改 单点/区间查询
  18. Windows更新失败,错误代码0x80240037解决办法
  19. IOException: Sharing violation on path 异常
  20. 动态汉化Windows技术的分析 (转)

热门文章

  1. 套用bi模板,轻松搞定各类数据分析报表
  2. 【第二届青训营-寒假前端场】- 「WebGL基础」笔记
  3. Linux基础命令----tailf 跟踪文件输出
  4. 【MyBatis】关联查询
  5. ESD静电二极管端口信号防护应用产品型号——SM712
  6. Python结合telnet命令实现自动化测试dubbo接口
  7. 拼多多拼团电子商务论文题目(精选)
  8. DataGrip 禁用自动同步
  9. python多叉树遍历_基于Python的多叉树遍历算法
  10. 系统工程师学习(简单Linux命令应用)(一)