Michael Sarahan
2016-12-22 17:41:10 UTC
There is no (good) way to inherit packages. That's just likely to cause
more problems than it is worth.
The good news is that adding packages to environments that are already
installed in other environments (root env included) is practically free in
terms of hard disk space. Wherever possible, this is done with hard
linking, so files are not actually copied, and do not occupy extra disk
space.
My advice: install the other packages that you want to use into your new
environment.
more problems than it is worth.
The good news is that adding packages to environments that are already
installed in other environments (root env included) is practically free in
terms of hard disk space. Wherever possible, this is done with hard
linking, so files are not actually copied, and do not occupy extra disk
space.
My advice: install the other packages that you want to use into your new
environment.
I have installed conda and it includes numpy, scipy, etc.
I then establish a conda env via: conda create -n tensorflow python=3.5
I then activate that conda via: source activate tensorflow
This puts me into the "tensorflow" env.
In (tensorflow)..., I enter python3 and get
However it did allow me to import numpy in the root.
How do I get the conda env "tensorflow" to inherit all the packages (such
as numpy, prettytensor, scipy, etc) from the root into that environment?
Thanks, (conda noob)
--
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
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/19714d7d-4cf7-4b13-ba0f-
e98ed58edf8d%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/conda/19714d7d-4cf7-4b13-ba0f-e98ed58edf8d%40continuum.io?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
I then establish a conda env via: conda create -n tensorflow python=3.5
I then activate that conda via: source activate tensorflow
This puts me into the "tensorflow" env.
In (tensorflow)..., I enter python3 and get
import numpy as np (or any other similar package)
if does not recognize numpy.However it did allow me to import numpy in the root.
How do I get the conda env "tensorflow" to inherit all the packages (such
as numpy, prettytensor, scipy, etc) from the root into that environment?
Thanks, (conda noob)
--
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
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/19714d7d-4cf7-4b13-ba0f-
e98ed58edf8d%40continuum.io
<https://groups.google.com/a/continuum.io/d/msgid/conda/19714d7d-4cf7-4b13-ba0f-e98ed58edf8d%40continuum.io?utm_medium=email&utm_source=footer>
.
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/CAB9hrOq6kUEh%2B_QxL7wuczWJTFrkAY2QbRsdMm%2BMaS9cyVzUtw%40mail.gmail.com.
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/CAB9hrOq6kUEh%2B_QxL7wuczWJTFrkAY2QbRsdMm%2BMaS9cyVzUtw%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.