[英]how to install HDBSCAN modula, python 3.7, windows 10
I need to use the HDBSCAN algorithme on my data but the module is not installed.我需要对我的数据使用 HDBSCAN 算法,但未安装该模块。 I use python 3.7.我使用 python 3.7。 I am not very familiar with this kind of tricky installations, please, can anyone give me a clear and understandable instructions how to install HDBSCAN?我对这种棘手的安装不是很熟悉,请谁能给我一个清晰易懂的说明如何安装HDBSCAN?
I've downloaded the module from:https://github.com/scikit-learn-contrib/hdbscan#egg=hdbscan我从以下位置下载了模块:https://github.com/scikit-learn-contrib/hdbscan#egg=hdbscan
I unziped it我解压了
I opened the command prompt in the folder where I saw the setup.py file我在看到setup.py文件的文件夹中打开了命令提示符
I ran the folowing command: python setup.py install --prefix="C:\ProgramData\Miniconda3\envs\py37_v1"
(in one line)我运行了以下命令: python setup.py install --prefix="C:\ProgramData\Miniconda3\envs\py37_v1"
(一行)
and I get the following error: "Due to incompatibilities with Python 3.7 hdbscan now" "requires Cython to be installed in order to build it" "Cython not found! Please install cython and try again"我收到以下错误: “由于现在与 Python 3.7 hdbscan 不兼容” “需要安装 Cython 才能构建它” “找不到 Cython!请安装 cython 并重试”
Install from Official Github 从官方 Github 安装
Easiest install, if you have Anaconda (thanks to conda-forge which is awesome:):最简单的安装,如果你有 Anaconda (感谢 conda-forge 太棒了:):
conda install -c conda-forge hdbscan
PyPI install, presuming you have an up to date pip: PyPI 安装,假设您有最新的 pip:
pip install hdbscan
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.