当前位置:网站首页>Install pytorch geometric on colab, and libcudart.so.10.2 appears when importing the package
Install pytorch geometric on colab, and libcudart.so.10.2 appears when importing the package
2022-07-28 14:55:00 【javafalcon】
Background problem description :
stay google Colab Use graph neural network on the package pyg, The execution process is as follows :
Step 1: stay Notebook Setting Set the environment as GPU;
Step 2: see Colab in torch Version information for :
import torch
torch.__version__
notes : When I use it, the output information is :1.9.0+cu111
Step 3: Copy pyg The installation command in the document goes to notebook Of cell in :
!pip install torch-scatter torch-sparse torch-cluster torch-spline-conv torch-geometric -f https://data.pyg.org/whl/torch-1.9.0+cu111.html
Installation process smooth .
Step 4: Test and import the corresponding package :
from torch_geometric.data import Data
here , Report errors :libcudart.so.10.2: cannot open share object file
resolvent :
Execute the process above Step 3 Before that, in a cell Run the following command in :
!export CPATH=/usr/local/cuda/include:$CPATH
And then install it pyg, Problem solved .
thank :
Thank you for the article of manong homeland , stay Google Colab Installation on PyTorch Geometric | Code farm home
Refer to the article address :https://www.codenong.com/16f1ba6b9c2643d3dd12/
边栏推荐
- 16、 Launch file label of ROS (II)
- Animation mechanism of swiftui
- Modify the default path of Jupiter notebook
- 基础架构之日志管理平台及钉钉&邮件告警通知
- ssh服务
- How to effectively conduct the review meeting (Part 1)?
- Various pitfalls encountered in UI development
- 基于 MinIO 对象存储保障 Rancher 数据
- C callback function, interface function pointer as function parameter, function pointer as structure member
- ScottPlot入门教程:获取和显示鼠标处的数值
猜你喜欢

2022 melting welding and thermal cutting examination questions and online simulation examination

8、 Picker usage drop-down box selection effect

How to reduce the resolution of only 3D camera but not UI camera

On July 29, apachecon | apachepulsar's exploration and practice in vivo will be broadcast soon

Redis configuration file explanation

C language related programming exercises

Many "double first-class" universities have launched the research guarantee and prediction name!

Redis-持久化

【七夕】七夕孤寡小青蛙究极版?七夕节最终章!
Some problems encountered in the development of Excel VBA, solutions, and continuous updates
随机推荐
面试官:ThreadLocal使用场景有哪些?内存泄露问题如何避免?
国产数据库的红利还能“吃”多久?
C # 7 methods to obtain the current path
基础架构之日志管理平台及钉钉&邮件告警通知
@Solution to DS ('slave') multi data source compatible transaction problem
linux安装redis
Redis configuration file explanation
Summarize the knowledge points of the ten JVM modules. If you don't believe it, you still don't understand it
Qtableview in QT sets three methods of paging display [easy to understand]
Animation mechanism of swiftui
VTK annotation class widget vtkborderwidget
Tensorflow GPU installation process record
SwiftUI 布局 —— 尺寸( 下 )
数字化转型安全问题频发,山石网科助力数字政府建设
BGP experiment
C语言实现简单学生成绩管理系统的方法
The second pre class exercise
QT qlineedit, qtextedit, qplaintextedit differences
Robot mathematics foundation 3D space position representation space position
C语言库函数getchar()怎么使用