0
私はspacyをソースからコンパイルしていました。私はcython v23.4をインストールしました。私はspaCy
ディレクトリにpip install -e .
を実行すると、私はこれを取得: `ファイルの入手:///ホーム/ nitish /スペイシー コマンドのpython setup.pyのegg_infoから完全な出力:どのようにspacyインストールエラー(cythonizeの実行に失敗しました)
Error compiling Cython file:
------------------------------------------------------------
...
from cymem.cymem cimport Pool
from thinc.typedefs cimport weight_t
^
------------------------------------------------------------
syntax/transition_system.pxd:2:0: 'thinc/typedefs.pxd' not found
Processing gold.pyx
Traceback (most recent call last):
File "/home/nitish/spaCy/bin/cythonize.py", line 156, in <module>
run(args.root)
File "/home/nitish/spaCy/bin/cythonize.py", line 147, in run
process(base, filename, db)
File "/home/nitish/spaCy/bin/cythonize.py", line 113, in process
preserve_cwd(base, process_pyx, root + '.pyx', root + '.cpp')
File "/home/nitish/spaCy/bin/cythonize.py", line 78, in preserve_cwd
func(*args)
File "/home/nitish/spaCy/bin/cythonize.py", line 60, in process_pyx
raise Exception('Cython failed')
Exception: Cython failed
Cythonizing sources
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/nitish/spaCy/setup.py", line 265, in <module>
setup_package()
File "/home/nitish/spaCy/setup.py", line 216, in setup_package
generate_cython(root, 'spacy')
File "/home/nitish/spaCy/setup.py", line 148, in generate_cython
raise RuntimeError('Running cythonize failed')
RuntimeError: Running cythonize failed
`
をこれを修正できますか?
ありがとう...私は文書でそれを読む! –