首页 新闻 会员 周边 捐助

请问在conda中如何解决这个问题(没办法跑stanfordcorenlp……)?

0
悬赏园豆:100 [待解决问题]

D:\Anaconda\lib\site-packages\stanfordcorenlp\corenlp.py in init(self, path_or_host, port, memory, lang, timeout, quiet, logging_level)
44
45 # Check Java
---> 46 if not subprocess.call(['java', '-version'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) == 0:
47 raise RuntimeError('Java not found.')
48

D:\Anaconda\lib\subprocess.py in call(timeout, popenargs, **kwargs)
338 retcode = call(["ls", "-l"])
339 """
--> 340 with Popen(
popenargs, **kwargs) as p:
341 try:
342 return p.wait(timeout=timeout)

D:\Anaconda\lib\subprocess.py in init(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, encoding, errors, text)
856 encoding=encoding, errors=errors)
857
--> 858 self._execute_child(args, executable, preexec_fn, close_fds,
859 pass_fds, cwd, env,
860 startupinfo, creationflags, shell,

D:\Anaconda\lib\subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, unused_restore_signals, unused_start_new_session)
1309 # Start the process
1310 try:
-> 1311 hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
1312 # no special security
1313 None, None,

FileNotFoundError: [WinError 2] 系统找不到指定的文件。

YuLuoWeiHUa的主页 YuLuoWeiHUa | 初学一级 | 园豆:102
提问于:2021-06-05 23:37
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册