On Fri, 15 Nov 2019 16:05:17 +0000 "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. I agree that active env should be shown in the prompt. > 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. > ¯\_(ツ)_/¯ Yes, this could be mentioned towards the end of the python sessions, with a bit more of knowledge about modules, etc. Iñigo > -Mark > > > -------------------------------------------------------------------- > Dr. Mark J. Laufersweiler > Research Data Specialist > University of Oklahoma Libraries > ORCID: http://orcid.org/0000-0001-5544-0976 > E: [email protected]<mailto:[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]<mailto:[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-M0d7ee8aa88803e467f3fdbf8 > Delivery options: > https://carpentries.topicbox.com/groups/discuss/subscription ------------------------------------------ The Carpentries: discuss Permalink: https://carpentries.topicbox.com/groups/discuss/T9bb18732d8abc483-M553775356f13c54f107b7fa1 Delivery options: https://carpentries.topicbox.com/groups/discuss/subscription
