@@ -173,7 +173,7 @@ Easiest install, if you have Anaconda (thanks to conda-forge which is awesome!):
173
173
174
174
conda install -c conda-forge hdbscan
175
175
176
- PyPI install, presuming you have sklearn and all its requirements (numpy and scipy) installed :
176
+ PyPI install, presuming you have an up to date pip :
177
177
178
178
.. code :: bash
179
179
@@ -182,41 +182,42 @@ PyPI install, presuming you have sklearn and all its requirements (numpy and sci
182
182
Binary wheels for a number of platforms are available thanks to the work of
183
183
Ryan Helinski <
[email protected] >.
184
184
185
- If pip is having difficulties pulling the dependencies then we'd suggest installing
186
- the dependencies manually using anaconda followed by pulling hdbscan from pip :
185
+ If pip is having difficulties pulling the dependencies then we'd suggest to first upgrade
186
+ pip to at least version 10 and try again :
187
187
188
188
.. code :: bash
189
189
190
- conda install cython
191
- conda install numpy scipy
192
- conda install scikit-learn
190
+ pip install --upgrade pip
193
191
pip install hdbscan
194
192
195
- For a manual install get this package :
193
+ Otherwise install the dependencies manually using anaconda followed by pulling hdbscan from pip :
196
194
197
195
.. code :: bash
198
196
199
- wget https://github.com/scikit-learn-contrib/hdbscan/archive/master.zip
200
- unzip master.zip
201
- rm master.zip
202
- cd hdbscan-master
203
-
204
- Install the requirements
197
+ conda install cython
198
+ conda install numpy scipy
199
+ conda install scikit-learn
200
+ pip install hdbscan
205
201
206
- .. code :: bash
207
202
208
- sudo pip install -r requirements.txt
209
-
210
- or
203
+ For a manual install of the latest code directly from GitHub:
211
204
212
205
.. code :: bash
213
206
214
- conda install scikit-learn cython
207
+ pip install --upgrade git+https://github.com/ scikit-learn-contrib/hdbscan.git#egg=hdbscan
215
208
216
- Install the package
209
+
210
+ Alternatively download the package, install requirements, and manually run the installer:
217
211
218
212
.. code :: bash
219
213
214
+ wget https://github.com/scikit-learn-contrib/hdbscan/archive/master.zip
215
+ unzip master.zip
216
+ rm master.zip
217
+ cd hdbscan-master
218
+
219
+ pip install -r requirements.txt
220
+
220
221
python setup.py install
221
222
222
223
-----------------
0 commit comments