Tom Loredo
2018-03-19 22:44:35 UTC
Hi conda experts-
I've been puzzled about this for a while. Sometimes, when I create a new
To activate this environment, use
$ conda activate py36env
To deactivate an active environment, use
$ conda deactivate
Note the use of "conda" instead of "source" (these examples also used two
different Python versions).
The docs indicate that "source" is right:
https://conda.io/docs/user-guide/getting-started.html#managing-environments
That's what I've always used. Some students I teach (we use conda/anaconda
in my course) instead use "conda" and seem to have no problem.
Is there a difference? Is there a reason the "conda create" command
sometimes tells me to use "source" vs. "conda" for activation?
-Tom
I've been puzzled about this for a while. Sometimes, when I create a new
source activate py27env
source deactivate
Other times I get:source deactivate
To activate this environment, use
$ conda activate py36env
To deactivate an active environment, use
$ conda deactivate
Note the use of "conda" instead of "source" (these examples also used two
different Python versions).
The docs indicate that "source" is right:
https://conda.io/docs/user-guide/getting-started.html#managing-environments
That's what I've always used. Some students I teach (we use conda/anaconda
in my course) instead use "conda" and seem to have no problem.
Is there a difference? Is there a reason the "conda create" command
sometimes tells me to use "source" vs. "conda" for activation?
-Tom
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/71f85ff1-e87e-4026-8878-301607d3fb56%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/71f85ff1-e87e-4026-8878-301607d3fb56%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.