Ninja is required to load C++ extensions in Pycharm
一、参考链接:
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相关推荐
- 服务器上可以跑,本地Pycharm中报错Ninja is required to load C++ extensions
参考该博客: https://blog.csdn.net/qq_36721800/article/details/123602884 讲得很清楚,原因可能是server中和pycharm中的envir ...
- 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- ...
- [Vue-Treeselect Warning] Unloaded branch node detected. “loadOptions“ prop is required to load its
使用Vue treeselect时出现了[Vue-Treeselect Warning] Unloaded branch node detected. "loadOptions" ...
- [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 ...
- Unloaded branch node detected. “loadOptions“ prop is required to load its children.
把人整emo 我原来的代码是这样的 <treeselect v-model="form.pid" :load-option="loadGroups" :o ...
- Unloaded branch node detected. “loadOptions“ prop is required to load its children
当前组件需要children不能为空 为空要是 [] 是null 或者是undefined 就会报错 小伙伴 让你的后端改吧 这是 后端的锅!!!!!!!!
- 问题 | 解决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 ...
- 增强现实与虚拟现实_增强现实相关的法律问题
增强现实与虚拟现实 When speaking of technological novelties, despite all positive aspects of the given innova ...
- 解决pip install ninjia 后,依旧报错的问题
https://github.com/zhanghang1989/PyTorch-Encoding/issues/167#issuecomment-939178573 问题: RuntimeError ...
最新文章
- 刻意练习:机器学习实战 -- Task01. K邻近算法
- 关于JS闭包一篇不错的文章记录下
- 计算机四级考试操作系统单元题,计算机四级考试操作系统单选练习
- 仿站小工具8.0_安卓微信8.0版本可以升级了!新增4个实用功能,内附更新方式...
- php离开界面监听,js实现用户离开页面前提示是否离开此页面的方法(包括浏览器按钮事件)...
- Ribbon-4 Ribbon脱离Eureka使用
- python 网络编程----非阻塞或异步编程
- 凭运气接来的项目,怎样凭本事搞砸?
- 【BZOJ2539】【codevs1221】丘比特的烦恼,trie树+几何判断+费用流
- JedisClusterException: No way to dispatch this command to Redis Cluster because keys have different
- 基于php047园林植物检索系统网站
- ELK高级搜索四之Mapping映射和分词器
- 鬼故事之中学异事(01)
- android移植wifi驱动流程porting
- 出现“你的Windows许可证即将过期”提示
- 一个简单的Java Applet应用程序
- 线段树 建树 单点修改 单点/区间查询
- Windows更新失败,错误代码0x80240037解决办法
- IOException: Sharing violation on path 异常
- 动态汉化Windows技术的分析 (转)