pythonPackages.spacy: fix import error
Importing spacy fails with: ModuleNotFoundError: No module named 'pkg_resources spaCy probably worked before because a dependency had setuptools as a propagated dependency. This change adds setuptools to spacy's propogatedBuildInputs. Tested with the en_core_web_sm model.
This commit is contained in:
parent
bef773ed53
commit
d2ccabaeea
@ -21,6 +21,7 @@
|
|||||||
, blis
|
, blis
|
||||||
, wasabi
|
, wasabi
|
||||||
, srsly
|
, srsly
|
||||||
|
, setuptools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -55,6 +56,7 @@ buildPythonPackage rec {
|
|||||||
blis
|
blis
|
||||||
wasabi
|
wasabi
|
||||||
srsly
|
srsly
|
||||||
|
setuptools
|
||||||
] ++ lib.optional (pythonOlder "3.4") pathlib;
|
] ++ lib.optional (pythonOlder "3.4") pathlib;
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user