Get anaconda root directory
11,419
No, the root directory will probably be /root/anaconda3/
. That's where anaconda
was installed so that is probably (I don't really know since you haven't given any information) what you mean by "root directory".
Related videos on Youtube
Author by
vincent
Updated on September 18, 2022Comments
-
vincent almost 2 years
l'm looking to get my anaconda root directory. so l run :
which anaconda3
l got
/root/anaconda3/bin/anaconda
Is that my anaconda root directory ?
-
terdon about 7 yearsPlease don't cross-post on multiple sites of the Stack Exchange network.
-
Rinzwind about 7 yearsWhy, for the love of god, did you install software in /root? See stackoverflow.com/questions/24117132/… there should be a settings option to show you the path for anaconda (and you can change it there)
-
-
vincent about 7 yearsl need it for the followinf : export CMAKE_PREFIX_PATH=[anaconda root directory] . look at the in the bottom install optional dependencies github.com/pytorch/pytorch
-
terdon about 7 years@vincent OK, but that sort of thing needs to be in your question. Since you accepted, I assume this worked, so never mind. But next time, please include all relevant details in your question.