我已经通过sudo pip install nltk
安装了nltk
包,它工作得很好:
21:07:00/~ $python -c "import nltk"
为了确保不会与brew
发生冲突,我也这样做了:
21:06:24/~ $python -m pip install nltk
Requirement already satisfied: nltk in /usr/local/lib/python2.7/site-packages
Requirement already satisfied: six in /usr/local/lib/python2.7/site-packages (from nltk)
因此,brew和系统python在一起是很愉快的。
Intellij则是另一回事。基本的python运行正常,但pip安装的库是MIA:
以下是SDK的相关设置:
模块级:
项目级别:
那么在这个项目中需要什么才能让pip库受到欢迎呢?
https://stackoverflow.com/questions/44015425
复制相似问题