Reputation: 3752
What the title says: if I have miniconda installed, what's the easiest way to install all the packages that would have been installed, had I started by installing anaconda instead?
For context, I'm doing this with docker. I'm starting with https://github.com/jupyterhub/jupyterhub/blob/master/Dockerfile, which installs miniconda. Then I'm doing RUN /opt/conda/bin/conda install --yes anaconda
. But the output of that is only:
Step 3/7 : RUN /opt/conda/bin/conda install --yes anaconda # anaconda
---> Running in 2b1e512efd38
Solving environment: ...working... done
anaconda-custom | 6 KB | ########## | 100%
certifi-2018.8.24 | 140 KB | ########## | 100%
conda-4.5.11 | 1.0 MB | ########## | 100%
openssl-1.0.2p | 3.5 MB | ########## | 100%
...and at the end of the day I cannot, for instance, do import numpy
. I thought that installing anaconda would install numpy (and all the other stuff)?
Upvotes: 5
Views: 7660
Reputation: 3752
Well, not an answer to why it was happening in the first place, but as a workaround:
conda install anaconda=5.2.0
Upvotes: 0
Reputation: 19655
The packages in Anaconda are defined by the anaconda
meta-package. So
conda install anaconda
Upvotes: 4