Hi there! On Fri, 15 Nov 2019 11:15:09 -0600 Michael Sarahan <[email protected]> wrote:
> Hello from Anaconda! Thanks for your work! > I'm glad Anaconda is useful for you. For workshops, where bandwidth > can be limited, you might want to consider using constructor to make > an installer for each platform that only includes exactly what you > need for your workshop. https://github.com/conda/constructor No need by the moment, we just insist people to have everything installed beforehand, and bring some USBs with Anaconda (and other things) in, just in case :-) Also, this I though doing through an unattended installation script, but I think that this would be a bit cheating to learners. You know, If you give a man a fish he will have a single meal. If you teach him how to fish... > There are a couple of github issues for the "(base)" inclusion: > https://github.com/conda/conda/issues/8169 and > https://github.com/conda/conda/issues/8535. I can certainly see that > having anything extra for the students to know is undesirable. I > hope it's enough to say "it's part of conda, and we'll be glad to > talk about it if there's time." I'm thinking on those lines, yes. > We prefer showing that with the > prompt, because it is not special-cased, and it's good info for users > who care about it, so it'll remain the default. It could have an > option to special-case base, though, and that option should be > configurable from constructor, so you can avoid needing to tell your > students how to set the option. As mentioned on those github issues, > we certainly appreciate the desire for this feature, but > unfortunately we can't work on it right now. If anyone is up for > looking at it, we'd be happy to help. I essentially disagree with both issues and agree that base env, when active, should be shown in the prompt. But, I tend to think that no env should be activated by default and that you should deliberately activate it, even base. As you say it is not special-cased, so why activate it by default? This has the added benefit that you are explicitly aware that you are working in an env because you always activate it. Most of the time I'm at the terminal I am not, and don't need to be, within any environment, be it conda of python. But this is my case, I guess YMMV, and a lot in this case. Thanks for the feedback, and the constructor reference, which I was not aware of. Bests, Iñigo > > Best, > Michael Sarahan > Anaconda Distribution team lead > > On Fri, Nov 15, 2019 at 10:07 AM Laufersweiler, Mark J. > <[email protected]> wrote: > > > Just keep in mind that when learners start to use the conda env to > > build environments around particular software installs, their > > prompt will not show which env that have activated. To see what > > env is running, use conda env list in order to remind themselves. > > > > It may not seem like a big deal, but having them change the default > > prompt now could pose problems later. I would let the learners know > > that is a feature of using the conda package manager for python, > > the topic of env is more of a intermediate skill and is there when > > they need it, and to learn more, use their google friend and lookup > > "python conda env” and see there how python env can be implemented > > and how to turn off the prompt. Otherwise, leave the prompt as is. > > ¯\_(ツ)_/¯ > > > > -Mark > > > > > > -------------------------------------------------------------------- > > Dr. Mark J. Laufersweiler > > Research Data Specialist > > University of Oklahoma Libraries > > ORCID: http://orcid.org/0000-0001-5544-0976 > > E: [email protected] W: (405) 325-3710 > > Cal: https://libcal.ou.edu/appointment/9321 > > > > A committee can make a decision that is dumber than any of its > > members. – David Cobitz > > > > On Nov 15, at 8:31 AM, Tomás Di Domenico via discuss < > > [email protected]> 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 <https://carpentries.topicbox.com/latest>* / > > discuss / see discussions > > <https://carpentries.topicbox.com/groups/discuss> + participants > > <https://carpentries.topicbox.com/groups/discuss/members> + > > delivery options > > <https://carpentries.topicbox.com/groups/discuss/subscription> > > Permalink > > <https://carpentries.topicbox.com/groups/discuss/T9bb18732d8abc483-M0d7ee8aa88803e467f3fdbf8> > > > > ------------------------------------------ > The Carpentries: discuss > Permalink: > https://carpentries.topicbox.com/groups/discuss/T9bb18732d8abc483-M0ec68aa98cb5652394a5de8b > Delivery options: > https://carpentries.topicbox.com/groups/discuss/subscription ------------------------------------------ The Carpentries: discuss Permalink: https://carpentries.topicbox.com/groups/discuss/T9bb18732d8abc483-Mfb18da749aecf696eb00b116 Delivery options: https://carpentries.topicbox.com/groups/discuss/subscription
