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

Reply via email to