dgl icon indicating copy to clipboard operation
dgl copied to clipboard

ModuleNotFoundError: No module named 'psutil'

Open mufeili opened this issue 2 years ago • 1 comments

🐛 Bug

'psutil' is not installed when installing dgl with conda

To Reproduce

Steps to reproduce the behavior:

  1. conda install -c dglteam dgl-cuda10.2
  2. import dgl

It then raises ModuleNotFoundError: No module named 'psutil'

Environment

  • DGL Version (e.g., 1.0): 0.9
  • Backend Library & Version (e.g., PyTorch 0.4.1, MXNet/Gluon 1.3):
  • OS (e.g., Linux): ubuntu
  • How you installed DGL (conda, pip, source): conda
  • Build command you used (if compiling from source):
  • Python version:
  • CUDA/cuDNN version (if applicable):
  • GPU models and configuration (e.g. V100):
  • Any other relevant information:

mufeili avatar Jul 26 '22 04:07 mufeili

Strange. Should have been handled by setup.py

https://github.com/dmlc/dgl/blob/2cf05c53420546443a267d91ec624887d0078278/python/setup.py#L176

@BarclayII

jermainewang avatar Jul 27 '22 09:07 jermainewang

Fixed in 0.9.1.

BarclayII avatar Sep 19 '22 05:09 BarclayII