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




边栏推荐
- Laravel8 export excel file
- Sword finger offer 07 Rebuild binary tree
- SPI read / write flash principle + complete code
- How to get the first few pieces of data of each group gracefully
- Threejs Internet of things, 3D visualization of factory
- 技术教程:如何利用EasyDSS将直播流推到七牛云?
- Fuel consumption calculator
- Technical tutorial: how to use easydss to push live streaming to qiniu cloud?
- Threejs implements labels and displays labels with custom styles
- Interview byte, pass the exam and directly work on three sides. As a result, I found an architect to hang me?
猜你喜欢

指针函数(基础)

Wechat applet development process (with mind map)

电源管理总线 (PMBus)

kubernetes集群之调度系统

Interview byte, pass the exam and directly work on three sides. As a result, I found an architect to hang me?

Kwai, Tiktok, video number, battle content payment

Use Firefox browser to quickly pick up Web image materials
![[illusory engine UE] method to realize close-range rotation of operating objects under fuzzy background and pit recording](/img/11/b55f85ef9e1f22254218cb9083b823.png)
[illusory engine UE] method to realize close-range rotation of operating objects under fuzzy background and pit recording

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

Common features of ES6
随机推荐
网络安全-记录web漏洞修复
蛇形矩阵
Pyqt pyside custom telescopic menu bar sharing (including tutorial)
[understand series after reading] 6000 words teach you to realize interface automation from 0 to 1
level17
根据入栈顺序判断出栈顺序是否合理
基于TCP的移动端IM即时通讯开发仍然需要心跳保活
Un réveil de l'application B devrait être rapide
This is an age of uncertainty
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?
Hexadecimal to octal
Number of possible stack order types of stack order with length n
我国算力规模排名全球第二:计算正向智算跨越
Sequelize. JS and hasmany - belongsto vs hasmany in serialize js
Phpmailer reported an error: SMTP error: failed to connect to server: (0)
Here comes the Lantern Festival red envelope!
技术教程:如何利用EasyDSS将直播流推到七牛云?
Ctfshow 2022 Spring Festival welcome (detailed commentary)
Threejs Internet of things, 3D visualization of farms (II)
Serpentine matrix