当前位置:网站首页>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 !!!!!




边栏推荐
- Possible stack order of stack order with length n
- Behavior perception system
- Realize the attention function of the article in the applet
- 学习MVVM笔记(一)
- BDF application - topology sequence
- [moteur illusoire UE] il ne faut que six étapes pour réaliser le déploiement du flux de pixels ue5 et éviter les détours! (4.26 et 4.27 principes similaires)
- What is the reason why the webrtc protocol video cannot be played on the easycvr platform?
- laravel8 导出Excle文件
- Looking back on 2021, looking forward to 2022 | a year between CSDN and me
- Wechat applet development process (with mind map)
猜你喜欢

Online sql to excel (xls/xlsx) tool

如何实现实时音视频聊天功能

“金九银十”是找工作的最佳时期吗?那倒未必

EasyCVR平台出现WebRTC协议视频播放不了是什么原因?

Threejs Internet of things, 3D visualization of farm (III) model display, track controller setting, model moving along the route, model adding frame, custom style display label, click the model to obt

Behavior perception system

Kwai, Tiktok, video number, battle content payment

Uni app common functions /api

Technical tutorial: how to use easydss to push live streaming to qiniu cloud?

网络安全-记录web漏洞修复
随机推荐
Bit operation skills
行为感知系统
Serpentine matrix
10种寻址方式之间的区别
Network security - record web vulnerability fixes
mxnet导入报各种libcudart*.so、 libcuda*.so找不到
美国5G Open RAN再遭重大挫败,抗衡中国5G技术的图谋已告失败
指针函数(基础)
What is test development? Why do so many companies hire test developers now?
C language course setting: cinema ticket selling management system
[thingsboard] how to replace the homepage logo
Phpmailer reported an error: SMTP error: failed to connect to server: (0)
[untitled]
Threejs Internet of things, 3D visualization of farms (II)
Hexadecimal to decimal
[illusory engine UE] method to realize close-range rotation of operating objects under fuzzy background and pit recording
Here comes the Lantern Festival red envelope!
Behavior perception system
在线文本行固定长度填充工具
How to get the first few pieces of data of each group gracefully