allenai / scispacy

A full spaCy pipeline and models for scientific/biomedical documents.
https://allenai.github.io/scispacy/
Apache License 2.0
1.72k stars 229 forks source link

ERROR: Command errored out with exit status 1 #412

Closed KikeVen closed 2 years ago

KikeVen commented 2 years ago

Getting an error on Windows 10 with venv py 3.9

partial error list:

nmslib.cc(454): error C2017: illegal escape sequence
  nmslib.cc(454): error C2001: newline in constant
  nmslib.cc(459): error C2059: syntax error: 'pybind11::enum_<similarity::DistType>'
  nmslib.cc(730): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit code 2
----------------------------------------------------------
ERROR: Failed building wheel for nmslib
  Running setup.py clean for nmslib
Failed to build nmslib
Installing collected packages: nmslib, conllu, scispacy
    Running setup.py install for nmslib ... /
---------------------------------------------------------
ERROR: Command errored out with exit status 1: ....
MichalMalyska commented 2 years ago

This looks an nmslib error not a scispacy error, can you do: pip install nmslib and see what happens ?

KikeVen commented 2 years ago

I just did again, and that is the error I get ...

nmslib.cc(454): error C2017: illegal escape sequence
  nmslib.cc(454): error C2001: newline in constant
  nmslib.cc(459): error C2059: syntax error: 'pybind11::enum_<similarity::DistType>'
  nmslib.cc(730): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit code 2
----------------------------------------------------------
ERROR: Failed building wheel for nmslib
  Running setup.py clean for nmslib

Then automatically runs setup.py clean for nmslib and it also fails giving:

Installing collected packages: nmslib, conllu, scispacy
    Running setup.py install for nmslib ... /
---------------------------------------------------------
ERROR: Command errored out with exit status 1: ....
MichalMalyska commented 2 years ago

https://github.com/nmslib/nmslib/issues/399

dakinggg commented 2 years ago

Closing as an nmslib issue.