我使用Windows 8,在eclipse中用pyDev运行python。
我从以下站点安装了Stanford coreNLP(python版本): https://github.com/relwell/stanford-corenlp-python
当我尝试导入corenlp时,会收到以下错误消息。
Traceback (most recent call last):
File "C:\Users\Ghantauke\workspace\PythonTest2\test.py", line 1, in <module>
import corenlp
File "C:\Python27\lib\site-packages\corenlp\__init__.py", line 13, in <module>
from corenlp import StanfordCoreNLP, ParserError, TimeoutError, ProcessError
File "C:\Python27\lib\site-packages\corenlp\corenlp.py", line 28, in <module>
import pexpect
File "C:\Python27\lib\site-packages\pexpect.py", line 85, in <module>
support it. Pexpect is intended for UNIX-like operating systems.""")
ImportError: No module named resource
A critical module was not found. Probably this operating system does not
support it. Pexpect is intended for UNIX-like operating systems.
这是否意味着它的python分支在windows中不起作用?有没有办法让它在窗户里工作?
如果没有,你能建议我在windows中使用的其他替代方法吗。我只需要解析器。
目前没有回答
相关问题 更多 >
编程相关推荐