On Mon, 18 Nov 2019 09:33:55 -0600
Michael Sarahan <[email protected]> wrote:

> Windows provides "Anaconda Prompt" and "Anaconda Powershell Prompt"
> which are start menu shortcuts that drop you into an activated
> environment.  They do not modify any shell as part of the install
> process.

Yes, I already checked Windows setup process and it does not interfere
with the Git bash shell used for bash and git lessons, so we're good
there.
 
> I like the auto_activate_base = false + explicit activation, and I'll
> be excited if that gets taught.

After all the discussion, I think this is what I'll likely do. I'll
report back.

> Note that if people don't add the shell modifications, but want to do
> so at a later time, the best way is to source the activate script,
> then run "conda init" for their shell.
> 
> source ~/miniconda3/bin/activate
> conda init [bash|zsh|fish|etc.]

Yes, you're right, thanks.

Bests,

Iñigo

> Best,
> Michael
> 
> On Mon, Nov 18, 2019 at 9:22 AM Inigo Aldazabal Mensa
> <[email protected]> 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/T05fed60940bdb458-M940d0fe84bd4bf4a7c65b1c8
> > Delivery options:
> > https://carpentries.topicbox.com/groups/discuss/subscription
> >  
> 
> ------------------------------------------
> The Carpentries: discuss
> Permalink:
> https://carpentries.topicbox.com/groups/discuss/T05fed60940bdb458-M5b628adec76554d1524e340b
> Delivery options:
> https://carpentries.topicbox.com/groups/discuss/subscription

------------------------------------------
The Carpentries: discuss
Permalink: 
https://carpentries.topicbox.com/groups/discuss/T05fed60940bdb458-Mc308a4df9d09fa3b843fd87e
Delivery options: https://carpentries.topicbox.com/groups/discuss/subscription

Reply via email to