当前位置:网站首页>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/
边栏推荐
- Focus on differentiated product design, intelligent technology efficiency improvement and literacy education around new citizen Finance
- 8、 C scope rules
- 卡方分布和伽马函数(Chi-Square Distribution)
- How to reduce the resolution of only 3D camera but not UI camera
- 19、 ROS parameter name setting
- On July 29, apachecon | apachepulsar's exploration and practice in vivo will be broadcast soon
- (function(global,factory){
- Qt development tips
- MITK creates plug-ins and generates plug-ins
- How long can we "eat" the dividends of domestic databases?
猜你喜欢

Getting started with scottplot tutorial: getting and displaying values at the mouse

围绕新市民金融聚焦差异化产品设计、智能技术提效及素养教育

Bulk Rename Utility

2022 low voltage electrician examination questions and answers

MITK create module

Store and guarantee rancher data based on Minio objects

Product Manager

The 35 required questions in MySQL interview are illustrated, which is too easy to understand

The method of implementing simple student achievement management system with C language

面试官:ThreadLocal使用场景有哪些?内存泄露问题如何避免?
随机推荐
Swiftui 4.0's new navigation system
linux安装redis
十、时间戳
SwiftUI 布局 —— 对齐
Install scikit learn journey
QT hex, decimal, qbytearray, qstring data conversion
Hcip day 11
Bulk Rename Utility
如何只降3D相机不降UI相机的分辨率
C language related programming exercises
5、 C language judgment statement
Raspberry pie foundation | summarize and record some operations in the learning process of raspberry pie
Multi merchant mall system function disassembly lecture 17 - platform side order list
Added the ability of class @published for @cloudstorage
NCBI experience accumulation
Read the introduction tutorial of rainbow
2022 high altitude installation, maintenance, removal of examination question bank and online simulated examination
@Solution to DS ('slave') multi data source compatible transaction problem
Swiftui layout - size (top)
国产数据库的红利还能“吃”多久?