当前位置:网站首页>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/
边栏推荐
- 为 @CloudStorage 添加了类 @Published 的能力
- 35道MySQL面试必问题图解,这样也太好理解了吧
- 如何在 Core Data 中进行批量操作
- [Tanabata] Tanabata lonely little frog research edition? The final chapter of Tanabata Festival!
- 6、 C language circular statement
- C language program: judging triangles
- Swiftui layout - size (bottom)
- 多商户商城系统功能拆解17讲-平台端订单列表
- Added the ability of class @published for @cloudstorage
- 14、 ROS meta function package
猜你喜欢

@Solution to DS ('slave') multi data source compatible transaction problem

OKR and grad

How long can we "eat" the dividends of domestic databases?

爆肝整理JVM十大模块知识点总结,不信你还不懂

Store and guarantee rancher data based on Minio objects

基于 MinIO 对象存储保障 Rancher 数据

Simple data analysis using Weka and excel

【七夕】七夕孤寡小青蛙究极版?七夕节最终章!
C # 7 methods to obtain the current path

Getting started with scottplot tutorial: getting and displaying values at the mouse
随机推荐
SwiftUI 布局 —— 尺寸( 上 )
Redis redis use in jedis
Simple data analysis using Weka and excel
Redis-配置文件讲解
实时切换 Core Data 的云同步状态
八、picker用法 下拉框选择效果
First class exercise
7、 Detailed explanation of C language function definition
468 product planning and promotion plan (150 copies)
MITK creates plug-ins and generates plug-ins
Various pitfalls encountered in UI development
&0xffffffff(0x08)
4、 C language operators
When Xcode writes swiftui code, it is a small trap that compiles successfully but causes the preview to crash
Core Data 是如何在 SQLite 中保存数据的
Third class exercise
21、 TF coordinate transformation (I): coordinate MSG message
SSH service
为自定义属性包装类型添加类 @Published 的能力
58子站安居,经纪人营销管理平台登录接口加密逆向