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".

Share:
11,419

Related videos on Youtube

vincent
Author by

vincent

Updated on September 18, 2022

Comments

  • vincent
    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
      terdon about 7 years
      Please don't cross-post on multiple sites of the Stack Exchange network.
    • Rinzwind
      Rinzwind about 7 years
      Why, 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
    vincent about 7 years
    l 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
    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.