当前位置:网站首页>Mxnet imports various libcudarts * so、 libcuda*. So not found
Mxnet imports various libcudarts * so、 libcuda*. So not found
2022-07-05 04:19:00 【Powder Shawn】
This is really a huge pit !!!!!!!
In the debug pyCFTracker Code , It is found that initialization keeps reporting errors , Details are as follows
OSError: libcudart.so.11.0: cannot open shared object file: No such file or directory
I wonder , No installation cuda, So it's normal to not find the library file , So he ran away NVIDIA Download on the official website cuda11.3, Use runfile Once installed , Keep running the code , Or an error libcudart.so.11.0 Unable to find . After searching countless blogs , And try one by one , The discovery still cannot solve the problem .
Finally!!!!!! After installation - uninstall - install - uninstall - After the installation , I finally thought of ! Since there are already mxnet Compatible version of cuda, Would that be IDE The environment variables used in it have not been updated , As a result, the library file cannot be found ?then, Open the pycharm Environment variables of . Sure enough ! Although it has installed cuda, User level environment variables have also been updated PATH And LD_LIBRARY_PATH, however pycharm There are no synchronized updates ! We need to update it manually, comrades . The setting method is as follows :
1. Click in the upper left corner RUN->RUN...->Edit Configuration, Enter the setting interface as shown in the figure below , Open the environment variable editing window .
2. find PATH Variable , stay PATH The value of the variable is finally added ":/usr/local/cuda/bin"
3. Add new variables LD_LIBRARY_PATH, Set the value to "/usr/local/cuda/lib64"
4. All the way ok,apply,ok Click down . There will be no problem when debugging again !!!!!
边栏推荐
- Judge whether the stack order is reasonable according to the stack order
- Is "golden nine and silver ten" the best time to find a job? Not necessarily
- Sword finger offer 07 Rebuild binary tree
- [untitled]
- WGS84 coordinate system, web Mercator, gcj02 coordinate system, bd09 coordinate system - brief introduction to common coordinate systems
- How to remove installed elpa package
- Use threejs to create geometry, dynamically add geometry, delete geometry, and add coordinate axes
- PR video clip (project packaging)
- Rome chain analysis
- 【科普】热设计基础知识:5G光器件之散热分析
猜你喜欢
【FineBI】使用FineBI制作自定义地图过程
网络安全-记录web漏洞修复
level18
Differences among 10 addressing modes
Threejs rendering obj+mtl model source code, 3D factory model
C language course setting: cinema ticket selling management system
“金九银十”是找工作的最佳时期吗?那倒未必
Threejs Internet of things, 3D visualization of farms (II)
Longyuan war "epidemic" 2021 network security competition web easyjaba
小程序中实现文章的关注功能
随机推荐
How to force activerecord to reload a class- How do I force ActiveRecord to reload a class?
Open graph protocol
A应用唤醒B应该快速方法
About the project error reporting solution of mpaas Pb access mode adapting to 64 bit CPU architecture
Alibaba cloud ECS uses cloudfs4oss to mount OSS
Here comes the Lantern Festival red envelope!
File upload bypass summary (upload labs 21 customs clearance tutorial attached)
Moco is not suitable for target detection? MsrA proposes object level comparative learning target detection pre training method SOCO! Performance SOTA! (NeurIPS 2021)...
[illusory engine UE] method to realize close-range rotation of operating objects under fuzzy background and pit recording
C语言课设:影院售票管理系统
假设检验——《概率论与数理统计》第八章学习笔记
美国5G Open RAN再遭重大挫败,抗衡中国5G技术的图谋已告失败
[untitled]
On the day 25K joined Tencent, I cried
Mixed compilation of C and CC
行为感知系统
如何优雅的获取每个分组的前几条数据
Differences among 10 addressing modes
TPG x AIDU|AI领军人才招募计划进行中!
Use threejs to create geometry and add materials, lights, shadows, animations, and axes