您可以通过安装python-dev解决此问题
Created wheel for hdbscan: filename=hdbscan-0.8.27-cp36-cp36m-win_amd64.whl size=633614 sha256=a993315ca46394729a72adb1746e77ed4ff8d46334a8ab2050b5ecb8000d06f2 Stored in directory: c:\users\appdata\local\pip\cache\wheels\70\52\fe\83ef5a0e879c48df9968d931d41046226e4cb19a166f0223d2 Su...
pip install /path/to/hdbscan-wheel-file.whl 检查编译环境: 如果hdbscan包含C/C++扩展并且需要从源代码编译,请确保你的系统上安装了适当的编译器和构建工具。例如,在Ubuntu上,你可能需要安装build-essential和python3-dev: bash sudo apt-get install build-essential python3-dev 使用虚拟环境: 为了避免与...
在安装bertopic的过程中,遇到了Failed building wheel for hdbscan,我先去网站:https://www.lfd.uci.edu/~gohlke/pythonlibs/#hdbscan 下载了hdbscan‑0.8.28‑cp310‑cp310‑win_amd64.whl,并且用pip进行了本地安装,依然报错。 然后仔细阅读报错信息,发现是build报错,我在Linux系统下并不会报这个错误,...
return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "/tmp/pip-build-env-ymbqos4_/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 401, in _build_with_temp_dir self.run_setup() File "/tmp/pip-build-env-ymbqos4_/overlay/lib/python3.10/site-packages...
Using cached pytz-2022.7.1-py2.py3-none-any.whl (499 kB) Collecting tenacity>=6.2.0 Using cached tenacity-8.2.1-py3-none-any.whl (24 kB) Requirement already satisfied: threadpoolctl>=2.0.0 in d:\anaconda\envs\myenv\lib\site-packages (from scikit-learn>=0.22.2.post1->bertopic) ...
> Using cached tenacity-8.0.1-py3-none-any.whl (24 kB) > Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\martin kunth\anaconda3\lib\site-packages (from > scikit-learn>=0.22.2.post1->bertopic) (2.2.0) > Collecting torch>=1.6.0 ...
filename=hdbscan-0.8.26-cp37-cp37m-linux_x86_64.whl size=687506 sha256=bd8b0c65d14ffa1d804f4a3df445fc4300452968a2372d581f0bb64963a8010d # yesterday (when the error started happening) Created wheel for hdbscan: filename=hdbscan-0.8.26-cp37-cp37m-linux_x86_64.whl size=686485 sha256=...
auditwheel repair dist/*linux_x86_64.whl --plat manylinux2014_x86_64 -w wheelhouse-manylinux/ displayName: 'Audit wheels' - task: DownloadSecureFile@1 name: PYPIRC_CONFIG displayName: 'Download pypirc' inputs: secureFile: 'pypirc' - bash: | "${PYBIN}/python" -m pip install twine...
Using cached hdbscan-0.8.28-cp38-cp38-win_amd64.whl Requirement already satisfied: joblib>=1.0 in c:\users...\miniconda3\envs\nap\lib\site-packages (from hdbscan==0.8.28) (1.1.0) Requirement already satisfied: scikit-learn>=0.20 in c:\users...\miniconda3\envs\nap\lib\site-packages ...