0
点赞
收藏
分享

微信扫一扫

在mac上安装Hanlp及cocoNLP遇到的问题解决


安装时产生的错误

native/common/include/jpype.h:82:10: fatal error: 'map' file not found
#include <map>
^~~~~
1 warning and 1 error generated.
error: command 'gcc' failed with exit status 1

解决方法

安装gcc

conda install gcc

安装jpype1

conda install -c conda-forge jpype1


举报

相关推荐

0 条评论