Skip to content

Commit f0cb1d1

Browse files
satyam-jhaeddiebergmanfranchuterivera
authored
added conda installation in docs (#1144)
* added conda installation in docs * added conda forge section inside anaconda installation * Update doc/installation.rst Co-authored-by: Francisco Rivera Valverde <[email protected]> * Update installation.rst minor text changes Co-authored-by: Eddie Bergman <[email protected]> Co-authored-by: Francisco Rivera Valverde <[email protected]>
1 parent 65e3f41 commit f0cb1d1

File tree

1 file changed

+36
-3
lines changed

1 file changed

+36
-3
lines changed

doc/installation.rst

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ run:
6060
Anaconda installation
6161
=====================
6262

63-
Anaconda does not ship *auto-sklearn*, and there are no conda packages for
64-
*auto-sklearn*. Thus, it is easiest to install *auto-sklearn* as detailed in
65-
the Section `Installing auto-sklearn`_.
63+
You need to enable conda-forge to install *auto-sklearn* via anaconda. This section explains how to enable conda-forge so
64+
installation can be done with the command `conda install auto-sklearn`.
65+
Optionally, you can also install *auto-sklearn* with `pip` as detailed in the Section `Installing auto-sklearn`_.
6666

6767
A common installation problem under recent Linux distribution is the
6868
incompatibility of the compiler version used to compile the Python binary
@@ -75,6 +75,38 @@ be solved by installing the *gcc* compiler shipped with AnaConda (as well as
7575
conda install gxx_linux-64 gcc_linux-64 swig
7676
7777
78+
Conda-forge
79+
~~~~~~~~~~~
80+
81+
Installing `auto-sklearn` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with:
82+
83+
.. code:: bash
84+
85+
conda config --add channels conda-forge
86+
87+
conda config --set channel_priority strict
88+
89+
90+
You must have `conda >=4.9`. To update conda or check your current conda version, please follow the instructions from `the official anaconda documentation <https://docs.anaconda.com/anaconda/install/update-version/>`_ . Once the `conda-forge` channel has been enabled, `auto-sklearn` can be installed with:
91+
92+
.. code:: bash
93+
94+
conda install auto-sklearn
95+
96+
97+
It is possible to list all of the versions of `auto-sklearn` available on your platform with:
98+
99+
.. code:: bash
100+
101+
conda search auto-sklearn --channel conda-forge
102+
103+
to read in more details check
104+
`auto sklearn feedstock <https://github.com/conda-forge/auto-sklearn-feedstock>`_.
105+
106+
for more information about Conda forge check
107+
`conda-forge documentations <https://conda-forge.org/docs/>`_.
108+
109+
78110
Windows/OSX compatibility
79111
=========================
80112

@@ -93,6 +125,7 @@ Possible solutions:
93125
* virtual machine
94126
* docker image
95127

128+
96129
Mac OSX
97130
~~~~~~~
98131

0 commit comments

Comments
 (0)