当前位置:网站首页>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 !!!!!
边栏推荐
- SPI read / write flash principle + complete code
- Threejs factory model 3DMAX model obj+mtl format, source file download
- Phpmailer reported an error: SMTP error: failed to connect to server: (0)
- A real day for Beijing programmers!!!!!
- 网络安全-记录web漏洞修复
- Sequelize. JS and hasmany - belongsto vs hasmany in serialize js
- NetSetMan pro (IP fast switching tool) official Chinese version v5.1.0 | computer IP switching software download
- Moco is not suitable for target detection? MsrA proposes object level comparative learning target detection pre training method SOCO! Performance SOTA! (NeurIPS 2021)...
- 【虚幻引擎UE】实现UE5像素流部署仅需六步操作少走弯路!(4.26和4.27原理类似)
- 基于TCP的移动端IM即时通讯开发仍然需要心跳保活
猜你喜欢
Threejs rendering obj+mtl model source code, 3D factory model
我国算力规模排名全球第二:计算正向智算跨越
Common features of ES6
Threejs Internet of things, 3D visualization of farms (II)
3. Package the bottom navigation tabbar
技术教程:如何利用EasyDSS将直播流推到七牛云?
Why do big companies such as Baidu and Alibaba prefer to spend 25K to recruit fresh students rather than raise wages by 5K to retain old employees?
【thingsboard】替换首页logo的方法
【虚幻引擎UE】实现背景模糊下近景旋转操作物体的方法及踩坑记录
概率论与数理统计考试重点复习路线
随机推荐
机器学习 --- 决策树
Bit operation skills
All in one 1413: determine base
Threejs rendering obj+mtl model source code, 3D factory model
Use threejs to create geometry, dynamically add geometry, delete geometry, and add coordinate axes
Learning notes 8
Uni app common functions /api
在线SQL转Excel(xls/xlsx)工具
网络安全-记录web漏洞修复
Interview related high-frequency algorithm test site 3
Judge whether the stack order is reasonable according to the stack order
How does the applet solve the rendering layer network layer error?
长度为n的入栈顺序的可能出栈顺序
长度为n的入栈顺序的可能出栈顺序种数
概率论与数理统计考试重点复习路线
A應用喚醒B應該快速方法
BDF application - topology sequence
What is the reason why the webrtc protocol video cannot be played on the easycvr platform?
Sequelize. JS and hasmany - belongsto vs hasmany in serialize js
As soon as I write the code, President Wang talks with me about the pattern all day