Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Command errored out with exit status 1 #412

Closed
KikeVen opened this issue Jan 18, 2022 · 4 comments
Closed

ERROR: Command errored out with exit status 1 #412

KikeVen opened this issue Jan 18, 2022 · 4 comments

Comments

@KikeVen
Copy link

KikeVen commented Jan 18, 2022

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
Copy link
Contributor

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

@KikeVen
Copy link
Author

KikeVen commented Jan 18, 2022

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
Copy link
Contributor

nmslib/nmslib#399

@dakinggg
Copy link
Collaborator

dakinggg commented Feb 2, 2022

Closing as an nmslib issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants