我正在尝试为 spacy v3.0 下载 spacy ray。我想在我有 spacy v3.0 和其他依赖项的 conda 虚拟环境中执行此操作。我不知道如何下载它。我试过conda install spacy-ray
了conda install -c conda-forge spacy-ray
。这些说没有找到这样的模块。然后我放弃并尝试了 pip install spacy-ray 但这给了我以下消息:
ERROR: Cannot install spacy-ray==0.0.0, spacy-ray==0.1.0 and spacy-ray==0.1.1 because these package versions have conflicting dependencies.
The conflict is caused by:
spacy-ray 0.1.1 depends on ray<1.0.0 and >=0.8
spacy-ray 0.1.0 depends on ray<1.0.0 and >=0.8
spacy-ray 0.0.0 depends on ray<1.0.0 and >=0.8
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
conda install -c conda-forge spacy[ray]
安装了一个叫做 openssl 的东西。虽然没有spacy ray。
我也尝试过:(在我的环境活跃的情况下):
conda install git pip
pip install git+git://github.com/explosion/spacy-ray.git@master
它说:
ERROR: Could not find a version that satisfies the requirement ray<1.0.0,>=0.8 (from spacy-ray)
ERROR: No matching distribution found for ray<1.0.0,>=0.8
我将如何正确地做到这一点?