How to update the DGL by conda?

#1

OK, just like the topic,
how can I update the DGL by conda command?
I am really afraid of doing this by pip or manual ways to create some errors.

#2

conda update -c dglteam dgl should work.

#3

THX!
And I have another simple question:
how to find the current version of DGL?What I mean is some code like
print(torch.version)?

#4

Hi,

You can use dgl.__version__