这个库安装有很多问题,这里对问题不做总结,只贴出解决方案,仅限Ubuntu
第一个解决方法
先安装cpython,在安装pydensecrf
https://github.com/lucasb-eyer/pydensecrf/issues/62
pip install cpython pip install pydensecrf
第二个解决方法
https://github.com/lucasb-eyer/pydensecrf
pip install git+https://github.com/lucasb-eyer/pydensecrf.git
第三个解决方法
在安装之前首先添加源
https://github.com/conda-forge/pydensecrf-feedstock
conda config --add channels conda-forge conda config --set channel_priority strict conda install conda-forge pydensecrf ## or conda install pydensecrf暑期编程PK赛 得CSDN机械键盘等精美礼品!



