On Fri, 15 Nov 2019 15:59:18 -0600 Michael Sarahan <[email protected]> wrote:
> > no env should be activated by default and that you should > > deliberately > activate it, even base > > There's a config setting for this: > > conda config --set auto_activate_base false I know. Exactly this is my plan: this to be the last step in the setup process, then explicitly tell learners to "conda activate" in the Python lesson so that they "turn on" anaconda Python. > I share your sentiment, but unfortunately the past haunts us and > it'll be very hard to change expectations to explicitly require > manual activation. Someday, when there are no other more pressing > issues to deal with... mmm in fact I did never add anaconda to the PATH and used environment modules to "activate" it... up to now, where I can not use modules anymore for this as "conda init" is done via a script! This BTW is a bad thing(TM) for HPC clusters users/admins, always swapping libraries, software versions etc. Iñigo > > On Fri, Nov 15, 2019 at 3:56 PM Inigo Aldazabal Mensa > <[email protected]> wrote: > > > Well, for the lessons indeed we just need base, but should learners > > progress any further after the lessons, they would likely find / > > use / learn about envs, so the prompt indication I think it should > > be there for them, yes. > > > > Cheers, > > > > Iñigo > > > > On Fri, 15 > > Nov 2019 21:12:39 +0000 (UTC) Tomás Di Domenico via discuss > > <[email protected]> wrote: > > > > > Right, yes, I thought you just needed base, no use if you actually > > > use other envs. > > > Cheers, > > > Tomás > > > > > > Nov 15, 2019 22:00:40 Inigo Aldazabal Mensa > > > <[email protected]>: > > > > Hi Tomás, > > > > > > > > On Fri, 15 Nov 2019 15:31:06 +0100 > > > > Tomás Di Domenico via discuss > > > > wrote: > > > > > > > > > Hi Iñigo. > > > > > You could also use this to prevent conda from modifying the > > > > > prompt: conda config --set changeps1 False > > > > > Then you would have base activated and conda's Python > > > > > available, but no visual disruption. Best, > > > > > > > > Thanks for the tip, but then you don't know which env you are > > > > working in. > > > > > > > > > > > > Iñigo > > > > > > > > > > > > > Tomás > > > > > On 15/11/2019 15:16, Inigo Aldazabal Mensa wrote: > > > > > > Hi all, > > > > > > > > > > > > As we are getting ready for our incoming couple of > > > > > > workshops I can not make my mind clear about Linux Python > > > > > > installation using Anaconda. Let's see... > > > > > > > > > > > > Following the workshop webpage instructions definitely does > > > > > > not work as if you leave the last question, not mentioned > > > > > > in the guide, as by default : > > > > > > > > > > > > Do you wish the installer to initialize Anaconda3 > > > > > > by running conda init? [yes|no] > > > > > > [no] >>> > > > > > > > > > > > > you don't get conda's python "activated". > > > > > > > > > > > > If you answer "yes" to this, then you have the (base) > > > > > > environment *always* appearing in new terminal sessions, > > > > > > which I think it will create confusion in the previous bash > > > > > > session. > > > > > > > > > > > > > > > > > > I'm planning about modifying the instructions so that you > > > > > > say "yes" to the "conda init", followed by typing: > > > > > > > > > > > > conda config --set auto_activate_base false > > > > > > > > > > > > > > > > > > Now, in the Python lesson setup we should instruct to do > > > > > > "conda activate" first, and explain that is a kind of > > > > > > "magic" in order to have python active. > > > > > > > > > > > > > > > > > > How are you dealing with this in your workshops? > > > > > > > > > > > > > > > > > > Bests, > > > > > > > > > > > > Iñigo > > > > > > > > > > > > PS: I guess this applies also to MacOS, and I have yet to go > > > > > > through the Windows installation instructions... > > > > > > > > > > > ------------------------------------------ > > > > > The Carpentries: discuss > > > > > Permalink: > > > > > https://carpentries.topicbox.com/groups/discuss/T9bb18732d8abc48 > > > > > 3-M8564ef6c7374536399c13148 Delivery options: > > > > > https://carpentries.topicbox.com/groups/discuss/subscript > > > > > ion > > > > > > ------------------------------------------ > > > The Carpentries: discuss > > > Permalink: > > > > > https://carpentries.topicbox.com/groups/discuss/T9bb18732d8abc483-Maa9b924a2bc982a74d340f1e > > > > > Delivery options: > > > https://carpentries.topicbox.com/groups/discuss/subscription > > > > ------------------------------------------ > > The Carpentries: discuss > > Permalink: > > https://carpentries.topicbox.com/groups/discuss/T9bb18732d8abc483-M9c62ef80145e20fff820d37c > > Delivery options: > > https://carpentries.topicbox.com/groups/discuss/subscription > > > > ------------------------------------------ > The Carpentries: discuss > Permalink: > https://carpentries.topicbox.com/groups/discuss/T9bb18732d8abc483-Md0ac8c03f4375ed2dde35759 > Delivery options: > https://carpentries.topicbox.com/groups/discuss/subscription ------------------------------------------ The Carpentries: discuss Permalink: https://carpentries.topicbox.com/groups/discuss/T9bb18732d8abc483-M83b1422173406458ab386b6a Delivery options: https://carpentries.topicbox.com/groups/discuss/subscription
