Hi David,

On Fri, 15 Nov 2019 09:43:08 -0500
David Nicholson <nichol...@gmail.com> wrote:

>  Hi Iñigo,
> 
> In our workshops, we usually just work in the base environment and
> don't "conda activate" anything.
> 
> You're right that "(base)" being added to the prompt might be
> confusing, but I think it's easiest to just explain that the "(base)"
> is Anaconda.

Yes, I'm thinking in this direction, but with (base) deactivated by
default, and telling that they are just "activating" anaconda. Same as
they will in a moment "activate" jupyter-notebook, not knowing exactly
what it is.

> I would avoid adding any confusing steps to the setup if
> possible, e.g. asking a student to change the conda config.

In my opinion setup *is* a bit confusing, and  can be "blind", the same
way as git-bash install is. One just follows the instructions.

BTW I have to say that new website template setup section seems to me
*much* more cluttered now. But just my opinion.
 
> And I wouldn't try to cram an explanation of what virtual
> environments are into a workshop, at least not at the beginning. I
> think that might just overwhelm beginner students more.

Totally agree, thus my concerns with this subject.
 
> At least that's our approach. I'd be interested to hear what other
> people think.

Thanks for the feedback!

Iñigo

> 
> --David
> 
> David Nicholson, Ph.D.
> https://nicholdav.info/
> https://github.com/NickleDave
> Prinz lab <http://www.biology.emory.edu/research/Prinz/>, Emory
> University, Atlanta, GA, USA
> 
> 
> On Fri, Nov 15, 2019 at 9:31 AM Tomás Di Domenico via discuss <
> discuss@lists.carpentries.org> 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,
> > 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/T9bb18732d8abc483-M8564ef6c7374536399c13148
> > Delivery options:
> > https://carpentries.topicbox.com/groups/discuss/subscription
> >  
> 
> ------------------------------------------
> The Carpentries: discuss
> Permalink:
> https://carpentries.topicbox.com/groups/discuss/T9bb18732d8abc483-M1c4d70f569b2f8d03f76c7ca
> Delivery options:
> https://carpentries.topicbox.com/groups/discuss/subscription

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

Reply via email to