I need to install below multiple packages using conda. I am not sure what is conda-forge? some uses conda-forge, some doesn’t use it. Is it possible to install them in one line without installing them one by one? Thanks
conda install -c conda-forge dash-daq conda install -c conda-forge dash-core-components conda install -c conda-forge dash-html-components conda install -c conda-forge dash-bootstrap-components conda install -c conda-forge dash-table conda install -c plotly jupyter-dash
Advertisement
Answer
Why some packages have to be installed through conda forge:
Conda official repository only feature a few verified packages. A vast portion of python packages that are otherwise available through pip are installed through community led channel called conda-forge. You can visit their site to learn more about it.
How to install multiple packages in a single line?
The recommended way to install multiple packages is to create a .yml
file and feed conda this. You can specify the version number for each package as well.
The following example file can be fed to conda through conda install --file
:
appdirs=1.4.3 asn1crypto=0.24.0 ... zope=1.0 zope.interface=4.5.0
To specify different channel for each package in this environment.yml
file, you can use the ::
syntax.
dependencies: - python=3.6 - bagit - conda-forge::beautifulsoup4